Please enable JavaScript to view this site.

 

This topic covers the implementation details of TmcOptions.

 

Scope: TypeDefinitions.pas; record. Prepared from the curated implementation supplied for this review on 2 October 2026.

 

Current writer layout sets IncludeAllOptionsInTmcOptions=true and UsesNewFontSettings=true. The reader forces UsesNewFontSettings true and uses the layout marker to choose where several values live.

 

The reader supports older layouts by falling back from FlowOfDates and OneLineMinicalendars wrappers to the record root. Some additional members live on the owning TMiniCalOptions object and are reached through ParentProperty.

 

DateFormatSequence is eleven two-digit values (22 characters), with default 0001020304050607080910. The parser resets to that default on an exception; this is not proof of full range/uniqueness validation.

 

Several wrappers are dereferenced without a nil check. Use a complete current-layout record when constructing or enabling a branch. Sharing between Current/Other properties is handled by the enclosing property and script loader.

 

Notation and shared helper rules: Reading this reference.

 

XML identity and composition

 

Literal rec_type values emitted within these routines: TFlowOfDates, TMinicalAlternateFontOptions, TMinicalCurrentDayOptions, TMinicalCurrentMonthOptions, TMinicalCurrentWeekOptions, TMinicalFiveWeeksOptions, TMinicalHolidaysOptions, TMinicalMoonPhasesOptions, TMinicalOutsideDaysOptions, TMinicalWeekNumbersOptions, TMinicalWeekdaysOptions, TOneLineMinicalendarOptions, TmcFontSettings, TmcOptions. Nested values may belong to child wrappers rather than this owner itself; the attribute entries below give their exact locations.

 

Structures used directly by this XML implementation:

 

TBoxStyle

Tmc_2330_2431_Fractions

TmcDayHeader

TmcFontSettings

TmcMoonPhases

TmcOneLineTabsOptions

TmcOutsideDays

TMiniCalOptions

TMinicalParagraphStyleRec

 

Exact XML fields and attributes

 

The paths below start at this record or property node. A slash identifies a child element; @ identifies an attribute. Curly braces mark a variable index or expression, not literal XML text. Initial values describe initialization; they do not establish what an omitted individual element does. The Implementation toggle below contains the supplied routines for exact branch order and conversions.

 

IncludeAllOptionsInTmcOptions

 

XML representation: The text of the IncludeAllOptionsInTmcOptions element.

 

Reading: Reads the element into IncludeAllOptionsInTmcOptions when the record node exists; node2 exists. Before this read, IncludeAllOptionsInTmcOptions is set to false.

 

Writing: Stores the literal text “true” whenever the writer reaches this field.

 

ParentGridType

 

XML representation: The text of the ParentGridType element.

 

Reading: Reads the element into ParentGridType when the record node exists.

 

Writing: Stores the numeric value of ParentGridType whenever the writer reaches this field.

 

WeekStart

 

XML representation: The text of the WeekStart element.

 

Reading: Reads the element into WeekStart when the record node exists.

 

Writing: Stores the numeric value of WeekStart whenever the writer reaches this field.

 

CurMonthIsDefined

 

XML representation: The text of the CurMonthIsDefined element.

 

Reading: Reads the element into CurMonthIsDefined when the record node exists.

 

Writing: Stores true or false according to CurMonthIsDefined whenever the writer reaches this field.

 

CurrentMonth/ApplyCurMonthToWholeBox

 

XML representation: The text of the ApplyCurMonthToWholeBox element.

 

Reading: Reads the element into ApplyCurMonthToWholeBox when the record node exists; node2 exists.

 

Writing: Stores true or false according to ApplyCurMonthToWholeBox when CurMonthIsDefined is true.

 

CurWeekIsDefined

 

XML representation: The text of the CurWeekIsDefined element.

 

Reading: Reads the element into CurWeekIsDefined when the record node exists.

 

Writing: Stores true or false according to CurWeekIsDefined whenever the writer reaches this field.

 

CurrentWeek/CurWeekDefinition

 

XML representation: The text of the CurWeekDefinition element.

 

Reading: Reads the element into CurWeekDefinition when the record node exists; CurWeekIsDefined is true; IncludeAllOptionsInTmcOptions is true.

 

Writing: Stores the numeric value of CurWeekDefinition (see the value table below) when CurWeekIsDefined is true.

 

CurrentWeek/CurWeek_AllSpread

 

XML representation: The text of the CurWeek_AllSpread element.

 

Reading: Reads the element into CurWeek_AllSpread when the record node exists; CurWeekIsDefined is true.

 

Writing: Stores true or false according to CurWeek_AllSpread when CurWeekIsDefined is true.

 

CurrentWeek/CurWeek_EvenOutsideDays

 

XML representation: The text of the CurWeek_EvenOutsideDays element.

 

Reading: Reads the element into CurWeek_EvenOutsideDays when the record node exists; CurWeekIsDefined is true.

 

Writing: Stores true or false according to CurWeek_EvenOutsideDays when CurWeekIsDefined is true.

 

DayHeader/DayHeadersToken

 

XML representation: The text of the DayHeadersToken element.

 

Reading: Reads the element into DayHeadersToken when the record node exists; IncludeAllOptionsInTmcOptions is true.

 

Writing: Stores the numeric value of DayHeadersToken (see the value table below) whenever the writer reaches this field.

 

DayHeadersToken

 

XML representation: The text of the DayHeadersToken element.

 

Reading: Reads the element into DayHeadersToken when the record node exists; IncludeAllOptionsInTmcOptions is false.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

CurDayIsDefined

 

XML representation: The text of the CurDayIsDefined element.

 

Reading: Reads the element into CurDayIsDefined when the record node exists.

 

Writing: Stores true or false according to CurDayIsDefined whenever the writer reaches this field.

 

CurrentDay/CurDay_AllSpread

 

XML representation: The text of the CurDay_AllSpread element.

 

Reading: Reads the element into CurDay_AllSpread when the record node exists; CurDayIsDefined is true.

 

Writing: Stores true or false according to CurDay_AllSpread when CurDayIsDefined is true.

 

CurrentDay/CurDay_AllPage

 

XML representation: The text of the CurDay_AllPage element.

 

Reading: Reads the element into CurDay_AllPage when the record node exists; CurDayIsDefined is true.

 

Writing: Stores true or false according to CurDay_AllPage when CurDayIsDefined is true.

 

CurrentDay/CurDay_EvenOutsideDays

 

XML representation: The text of the CurDay_EvenOutsideDays element.

 

Reading: Reads the element into CurDay_EvenOutsideDays when the record node exists; CurDayIsDefined is true.

 

Writing: Stores true or false according to CurDay_EvenOutsideDays when CurDayIsDefined is true.

 

Holidays1/mcHolidaysSet

 

XML representation: The text of the mcHolidaysSet element.

 

Reading: Reads the element into mcHolidaysSet when the record node exists.

 

Writing: Stores the numeric value of mcHolidaysSet (see the value table below) whenever the writer reaches this field.

 

Holidays2/mcHolidaysSet

 

XML representation: The text of the mcHolidaysSet element.

 

Reading: Reads the element into mcHolidays2Set when the record node exists.

 

Writing: Stores the numeric value of mcHolidays2Set (see the value table below) whenever the writer reaches this field.

 

OutsideDays/Visible

 

XML representation: The text of the Visible element.

 

Reading: Reads the element into OutsideDays.Visible when the record node exists.

 

Writing: Stores true or false according to OutsideDays.Visible whenever the writer reaches this field.

 

OutsideDays/OutsideDaysVisibility

 

XML representation: The text of the OutsideDaysVisibility element.

 

Reading: Reads the element into OutsideDaysVisibility when the record node exists; OutsideDays.Visible is true.

 

Writing: Stores the numeric value of OutsideDaysVisibility (see the value table below) when OutsideDays.Visible is true.

 

OutsideDays/HideFullyOutsideWeeks

 

XML representation: The text of the HideFullyOutsideWeeks element.

 

Reading: Reads the element into HideFullyOutsideWeeks when the record node exists; OutsideDays.Visible is true.

 

Writing: Stores true or false according to HideFullyOutsideWeeks when OutsideDays.Visible is true.

 

FiveWeeks/HasFiveWeeksOnly

 

XML representation: The text of the HasFiveWeeksOnly element.

 

Reading: Reads the element into HasFiveWeeksOnly when the record node exists.

 

Writing: Stores true or false according to HasFiveWeeksOnly whenever the writer reaches this field.

 

FiveWeeks/FiveWeekSolution

 

XML representation: The text of the FiveWeekSolution element.

 

Reading: Reads the element into FiveWeekSolution when the record node exists; HasFiveWeeksOnly is true.

 

Writing: Stores the numeric value of FiveWeekSolution (see the value table below) when HasFiveWeeksOnly is true.

 

FiveWeeks/FiveWeekFontStyle

 

XML representation: The text of the FiveWeekFontStyle element.

 

Reading: Reads the element into FiveWeekFontStyle when the record node exists; HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0).

 

Writing: Stores the numeric value of FiveWeekFontStyle (see the value table below) when HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0).

 

FiveWeeks/XtagText/XtagText2330

 

XML representation: The text of the XtagText2330 element.

 

Reading: Reads the element into ParentSLProperty.XtagText2330 when the record node exists; HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0); IncludeAllOptionsInTmcOptions is true; FiveWeekFontStyle is qppXtags (3); node3 exists.

 

Writing: Stores ParentSLProperty.XtagText2330 when HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0); FiveWeekFontStyle is qppXtags (3).

 

FiveWeeks/XtagText/XtagText2431

 

XML representation: The text of the XtagText2431 element.

 

Reading: Reads the element into ParentSLProperty.XtagText2431 when the record node exists; HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0); IncludeAllOptionsInTmcOptions is true; FiveWeekFontStyle is qppXtags (3); node3 exists.

 

Writing: Stores ParentSLProperty.XtagText2431 when HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0); FiveWeekFontStyle is qppXtags (3).

 

WeekNumbers/TwoDigitWeekNum

 

XML representation: The text of the TwoDigitWeekNum element.

 

Reading: Reads the element into TwoDigitWeekNum when the record node exists; node2 exists.

 

Writing: Stores true or false according to TwoDigitWeekNum whenever the writer reaches this field.

 

WeekNumbers/NextMonWeekNum

 

XML representation: The text of the NextMonWeekNum element.

 

Reading: Reads the element into NextMonWeekNum when the record node exists; node2 exists.

 

Writing: Stores true or false according to NextMonWeekNum whenever the writer reaches this field.

 

WeekNumbers/AlwaysNextMon

 

XML representation: The text of the AlwaysNextMon element.

 

Reading: Reads the element into AlwaysNextMon when the record node exists; node2 exists.

 

Writing: Stores true or false according to AlwaysNextMon whenever the writer reaches this field.

 

Weekdays1/strWeekdays1Selection

 

XML representation: The text of the strWeekdays1Selection element.

 

Reading: Reads the element into ParentSLProperty.strWeekdays1Selection when the record node exists; IncludeAllOptionsInTmcOptions is true.

 

Writing: Stores ParentSLProperty.strWeekdays1Selection whenever the writer reaches this field.

 

Weekdays2/strWeekdays2Selection

 

XML representation: The text of the strWeekdays2Selection element.

 

Reading: Reads the element into ParentSLProperty.strWeekdays2Selection when the record node exists; IncludeAllOptionsInTmcOptions is true.

 

Writing: Stores ParentSLProperty.strWeekdays2Selection whenever the writer reaches this field.

 

Orientation

 

XML representation: The text of the Orientation element.

 

Reading: Reads the element into Orientation when the record node exists; nodeFlowOfDatesParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

FlowOfDates/Orientation

 

XML representation: The text of the Orientation element.

 

Reading: Reads the element into Orientation when the record node exists.

 

Writing: Stores the numeric value of Orientation whenever the writer reaches this field.

 

VertMiniCalsRightAligned

 

XML representation: The text of the VertMiniCalsRightAligned element.

 

Reading: Reads the element into VertMiniCalsRightAligned when the record node exists; nodeFlowOfDatesParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

FlowOfDates/VertMiniCalsRightAligned

 

XML representation: The text of the VertMiniCalsRightAligned element.

 

Reading: Reads the element into VertMiniCalsRightAligned when the record node exists.

 

Writing: Stores true or false according to VertMiniCalsRightAligned whenever the writer reaches this field.

 

HorMiniCalsBottomAligned

 

XML representation: The text of the HorMiniCalsBottomAligned element.

 

Reading: Reads the element into HorMiniCalsBottomAligned when the record node exists; nodeFlowOfDatesParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

FlowOfDates/HorMiniCalsBottomAligned

 

XML representation: The text of the HorMiniCalsBottomAligned element.

 

Reading: Reads the element into HorMiniCalsBottomAligned when the record node exists.

 

Writing: Stores true or false according to HorMiniCalsBottomAligned whenever the writer reaches this field.

 

RightToLeft

 

XML representation: The text of the RightToLeft element.

 

Reading: Reads the element into RightToLeft when the record node exists; nodeFlowOfDatesParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

FlowOfDates/RightToLeft

 

XML representation: The text of the RightToLeft element.

 

Reading: Reads the element into RightToLeft when the record node exists.

 

Writing: Stores true or false according to RightToLeft whenever the writer reaches this field.

 

MoreThanSevenDayHeaders

 

XML representation: The text of the MoreThanSevenDayHeaders element.

 

Reading: Reads the element into MoreThanSevenDayHeaders when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/MoreThanSevenDayHeaders

 

XML representation: The text of the MoreThanSevenDayHeaders element.

 

Reading: Reads the element into MoreThanSevenDayHeaders when the record node exists.

 

Writing: Stores true or false according to MoreThanSevenDayHeaders whenever the writer reaches this field.

 

ShowOutsideDayHeaders

 

XML representation: The text of the ShowOutsideDayHeaders element.

 

Reading: Reads the element into ShowOutsideDayHeaders when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/ShowOutsideDayHeaders

 

XML representation: The text of the ShowOutsideDayHeaders element.

 

Reading: Reads the element into ShowOutsideDayHeaders when the record node exists.

 

Writing: Stores true or false according to ShowOutsideDayHeaders whenever the writer reaches this field.

 

DayHeadersUseDateFormatting

 

XML representation: The text of the DayHeadersUseDateFormatting element.

 

Reading: Reads the element into DayHeadersUseDateFormatting when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/DayHeadersUseDateFormatting

 

XML representation: The text of the DayHeadersUseDateFormatting element.

 

Reading: Reads the element into DayHeadersUseDateFormatting when the record node exists.

 

Writing: Stores true or false according to DayHeadersUseDateFormatting whenever the writer reaches this field.

 

OutsideDayHeadersVisibility

 

XML representation: The text of the OutsideDayHeadersVisibility element.

 

Reading: Reads the element into OutsideDayHeadersVisibility when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/OutsideDayHeadersVisibility

 

XML representation: The text of the OutsideDayHeadersVisibility element.

 

Reading: Reads the element into OutsideDayHeadersVisibility when the record node exists.

 

Writing: Stores the numeric value of OutsideDayHeadersVisibility (see the value table below) whenever the writer reaches this field.

 

ShowWeeklyBandsForAllDatesOfSpread

 

XML representation: The text of the ShowWeeklyBandsForAllDatesOfSpread element.

 

Reading: Reads the element into ShowWeeklyBandsForAllDatesOfSpread when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/ShowWeeklyBandsForAllDatesOfSpread

 

XML representation: The text of the ShowWeeklyBandsForAllDatesOfSpread element.

 

Reading: Reads the element into ShowWeeklyBandsForAllDatesOfSpread when the record node exists.

 

Writing: Stores true or false according to ShowWeeklyBandsForAllDatesOfSpread whenever the writer reaches this field.

 

WeekNumsOnEveryDate

 

XML representation: The text of the WeekNumsOnEveryDate element.

 

Reading: Reads the element into WeekNumsOnEveryDate when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumsOnEveryDate

 

XML representation: The text of the WeekNumsOnEveryDate element.

 

Reading: Reads the element into WeekNumsOnEveryDate when the record node exists.

 

Writing: Stores true or false according to WeekNumsOnEveryDate whenever the writer reaches this field.

 

WeekNumWeekday

 

XML representation: The text of the WeekNumWeekday element.

 

Reading: Reads the element into WeekNumWeekday when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumWeekday

 

XML representation: The text of the WeekNumWeekday element.

 

Reading: Reads the element into WeekNumWeekday when the record node exists.

 

Writing: Stores the numeric value of WeekNumWeekday whenever the writer reaches this field.

 

WeekNumPartialFirstWeekDefinition

 

XML representation: The text of the WeekNumPartialFirstWeekDefinition element.

 

Reading: Reads the element into WeekNumPartialFirstWeekDefinition when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumPartialFirstWeekDefinition

 

XML representation: The text of the WeekNumPartialFirstWeekDefinition element.

 

Reading: Reads the element into WeekNumPartialFirstWeekDefinition when the record node exists.

 

Writing: Stores the numeric value of WeekNumPartialFirstWeekDefinition whenever the writer reaches this field.

 

WeekNumPartialLastWeekDefinition

 

XML representation: The text of the WeekNumPartialLastWeekDefinition element.

 

Reading: Reads the element into WeekNumPartialLastWeekDefinition when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumPartialLastWeekDefinition

 

XML representation: The text of the WeekNumPartialLastWeekDefinition element.

 

Reading: Reads the element into WeekNumPartialLastWeekDefinition when the record node exists.

 

Writing: Stores the numeric value of WeekNumPartialLastWeekDefinition whenever the writer reaches this field.

 

WeekNumPartialFirstWeekAction

 

XML representation: The text of the WeekNumPartialFirstWeekAction element.

 

Reading: Reads the element into WeekNumPartialFirstWeekAction when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumPartialFirstWeekAction

 

XML representation: The text of the WeekNumPartialFirstWeekAction element.

 

Reading: Reads the element into WeekNumPartialFirstWeekAction when the record node exists.

 

Writing: Stores the numeric value of WeekNumPartialFirstWeekAction whenever the writer reaches this field.

 

WeekNumPartialLastWeekAction

 

XML representation: The text of the WeekNumPartialLastWeekAction element.

 

Reading: Reads the element into WeekNumPartialLastWeekAction when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumPartialLastWeekAction

 

XML representation: The text of the WeekNumPartialLastWeekAction element.

 

Reading: Reads the element into WeekNumPartialLastWeekAction when the record node exists.

 

Writing: Stores the numeric value of WeekNumPartialLastWeekAction whenever the writer reaches this field.

 

WeekNumPartialFirstWeekTabSize

 

XML representation: The text of the WeekNumPartialFirstWeekTabSize element.

 

Reading: Reads the element into WeekNumPartialFirstWeekTabSize when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumPartialFirstWeekTabSize

 

XML representation: The text of the WeekNumPartialFirstWeekTabSize element.

 

Reading: Reads the element into WeekNumPartialFirstWeekTabSize when the record node exists.

 

Writing: Stores the numeric value of WeekNumPartialFirstWeekTabSize whenever the writer reaches this field.

 

WeekNumPartialLastWeekTabSize

 

XML representation: The text of the WeekNumPartialLastWeekTabSize element.

 

Reading: Reads the element into WeekNumPartialLastWeekTabSize when the record node exists; nodeOneLineParent is absent.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

OneLineMinicalendars/WeekNumPartialLastWeekTabSize

 

XML representation: The text of the WeekNumPartialLastWeekTabSize element.

 

Reading: Reads the element into WeekNumPartialLastWeekTabSize when the record node exists.

 

Writing: Stores the numeric value of WeekNumPartialLastWeekTabSize whenever the writer reaches this field.

 

CurWeekDefinition

 

XML representation: The text of the CurWeekDefinition element.

 

Reading: Reads the element into CurWeekDefinition when the record node exists; IncludeAllOptionsInTmcOptions is false.

 

Export: No corresponding write is implemented locally. This can be a compatibility input or a field handled elsewhere.

 

DateFormatSequence

 

XML representation: The text of the DateFormatSequence element.

 

Reading: Reads the element into strDateFormatSequence when the record node exists; IncludeAllOptionsInTmcOptions is true. The subsequent conversion is shown in Implementation.

 

Writing: Stores strDateFormatSequence whenever the writer reaches this field.

 

SameOptionsForAllMinicals

 

XML representation: The text of the SameOptionsForAllMinicals element.

 

Reading: Reads the element into SameOptionsForAllMinicals when the record node exists.

 

Writing: Stores true or false according to SameOptionsForAllMinicals whenever the writer reaches this field.

 

@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcOptions” whenever the writer reaches this field.

 

UsesNewFontSettings

 

XML representation: The text of the UsesNewFontSettings element.

 

Writing: Stores the literal text “true” whenever the writer reaches this field.

 

Import: This routine does not read this field. See the inherited or enclosing implementation where applicable.

 

CurrentMonth/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalCurrentMonthOptions” when CurMonthIsDefined is true.

 

CurrentMonth/CurMonthFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when CurMonthIsDefined is true.

 

CurrentWeek/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalCurrentWeekOptions” when CurWeekIsDefined is true.

 

CurrentWeek/CurWeekFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when CurWeekIsDefined is true.

 

CurrentDay/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalCurrentDayOptions” when CurDayIsDefined is true.

 

CurrentDay/CurDaysFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when CurDayIsDefined is true.

 

CurrentDay/CurDayHeaderFont/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when CurDayIsDefined is true.

 

Holidays1/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalHolidaysOptions” whenever the writer reaches this field.

 

Holidays1/HolFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when mcHolidaysSet is not qhlNone (5).

 

Holidays2/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalHolidaysOptions” whenever the writer reaches this field.

 

Holidays2/HolFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when mcHolidays2Set is not qhlNone (5).

 

OutsideDays/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalOutsideDaysOptions” whenever the writer reaches this field.

 

OutsideDays/OutsideDaysFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when OutsideDays.Visible is true.

 

MoonPhases/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalMoonPhasesOptions” whenever the writer reaches this field.

 

MoonPhases/MoonPhasesFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when MoonPhases.Visible is true.

 

Alternate1/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalAlternateFontOptions” whenever the writer reaches this field.

 

Alternate1/AltFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

Alternate2/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalAlternateFontOptions” whenever the writer reaches this field.

 

Alternate2/AltFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

FiveWeeks/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalFiveWeeksOptions” whenever the writer reaches this field.

 

FiveWeeks/FiveWeekWrapFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” when HasFiveWeeksOnly is true; FiveWeekSolution is not qfwsFraction (0); FiveWeekSolution is qfwsWrapToTop (1).

 

WeekNumbers/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalWeekNumbersOptions” whenever the writer reaches this field.

 

WeekNumbers/CurWeekNumFont/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

WeekNumbers/OtherWeeksNumFont/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

WeekNumbers/FullyOutsideWeeksNumFont/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

Weekdays1/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalWeekdaysOptions” whenever the writer reaches this field.

 

Weekdays1/WeekdaysFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

Weekdays2/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TMinicalWeekdaysOptions” whenever the writer reaches this field.

 

Weekdays2/WeekdaysFontSettings/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TmcFontSettings” whenever the writer reaches this field.

 

FlowOfDates/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TFlowOfDates” whenever the writer reaches this field.

 

OneLineMinicalendars/@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TOneLineMinicalendarOptions” whenever the writer reaches this field.

 

Nested records and repeated elements

 

Operation

XML location

When it is processed

Read CurMonth

CurrentMonth/BoxStyle

the record node exists; node2 exists

Read CurMonthFontSettings

CurrentMonth/CurMonthFontSettings

the record node exists; node2 exists; node3 exists

Read CurWeek

CurrentWeek/BoxStyle

the record node exists; CurWeekIsDefined is true

Read CurWeekFontSettings

CurrentWeek/CurWeekFontSettings

the record node exists; CurWeekIsDefined is true; node3 exists

Read DayHeader

DayHeader

the record node exists

Read CurDaysFontSettings

CurrentDay/CurDaysFontSettings

the record node exists; CurDayIsDefined is true; node3 exists

Read CurDayHeaderFont

CurrentDay/CurDayHeaderFont

the record node exists; CurDayIsDefined is true; node3 exists

Read Alt1FontSettings

Alternate1/AltFontSettings

the record node exists; node3 exists

Read Alt2FontSettings

Alternate2/AltFontSettings

the record node exists; node3 exists

Read Hol1FontSettings

Holidays1/HolFontSettings

the record node exists; mcHolidaysSet is not qhlNone (5); node3 exists

Read Hol2FontSettings

Holidays2/HolFontSettings

the record node exists; mcHolidays2Set is not qhlNone (5); node3 exists

Read OutsideDaysFontSettings

OutsideDays/OutsideDaysFontSettings

the record node exists; OutsideDays.Visible is true; node3 exists

Read MoonPhases

MoonPhases/Visibility

the record node exists

Read MoonPhasesFontSettings

MoonPhases/MoonPhasesFontSettings

the record node exists; MoonPhases.Visible is true; node3 exists

Read ParentSLProperty.NativeFractions

FiveWeeks/NativeFormatting

the record node exists; HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0); IncludeAllOptionsInTmcOptions is true; FiveWeekFontStyle is not qppXtags (3); FiveWeekFontStyle is one of [qppNativeBottom, qppNativeTop, qppNativeTop00]; node3 exists

Read FiveWeekWrapFontSettings

FiveWeeks/FiveWeekWrapFontSettings

the record node exists; HasFiveWeeksOnly is true; FiveWeekSolution is not qfwsFraction (0); FiveWeekSolution is qfwsWrapToTop (1); node3 exists

Read CurWeekNumFont

WeekNumbers/CurWeekNumFont

the record node exists; node2 exists; node3 exists

Read OtherWeeksNumFont

WeekNumbers/OtherWeeksNumFont

the record node exists; node2 exists; node3 exists

Read FullyOutsideWeeksNumFont

WeekNumbers/FullyOutsideWeeksNumFont

the record node exists; node2 exists; node3 exists

Read Weekdays1FontSettings

Weekdays1/WeekdaysFontSettings

the record node exists; node3 exists

Read Weekdays2FontSettings

Weekdays2/WeekdaysFontSettings

the record node exists; node3 exists

Read ParentSLProperty.OneLineTabsOptions

OneLineTabsOptions, OneLineMinicalendars/OneLineTabsOptions

the record node exists; IncludeAllOptionsInTmcOptions is true

Read ParentSLProperty.ParagraphStyleRec

ParagraphStyleRec

the record node exists; IncludeAllOptionsInTmcOptions is true

Write CurMonth

CurrentMonth/BoxStyle

CurMonthIsDefined is true

Write CurMonthFontSettings

CurrentMonth/CurMonthFontSettings

CurMonthIsDefined is true; CurMonthFontSettings.DoesSomething (CurMonthStyle, CurMonthStyle_Remove)

Write CurWeek

CurrentWeek/BoxStyle

CurWeekIsDefined is true

Write CurWeekFontSettings

CurrentWeek/CurWeekFontSettings

CurWeekIsDefined is true; CurWeekFontSettings.DoesSomething (CurWeekStyle, CurWeekStyle_Remove)

Write DayHeader

DayHeader

Whenever this part of the routine is reached

Write CurDaysFontSettings

CurrentDay/CurDaysFontSettings

CurDayIsDefined is true; CurDaysFontSettings.DoesSomething (CurDaysStyle, CurDaysStyle_Remove)

Write CurDayHeaderFont

CurrentDay/CurDayHeaderFont

CurDayIsDefined is true; CurDayHeaderFont.DoesSomething (CurDayHeaderStyle, CurDayHeaderStyle_Remove)

Write Hol1FontSettings

Holidays1/HolFontSettings

mcHolidaysSet is not qhlNone (5); Hol1FontSettings.DoesSomething (Hol1Style, Hol1Style_Remove)

Write Hol2FontSettings

Holidays2/HolFontSettings

mcHolidays2Set is not qhlNone (5); Hol2FontSettings.DoesSomething (Hol2Style, Hol2Style_Remove)

Write OutsideDaysFontSettings

OutsideDays/OutsideDaysFontSettings

OutsideDays.Visible is true; OutsideDaysFontSettings.DoesSomething (OutsideDaysStyle, OutsideDaysStyle_Remove)

Write MoonPhases

MoonPhases/Visibility

Whenever this part of the routine is reached

Write MoonPhasesFontSettings

MoonPhases/MoonPhasesFontSettings

MoonPhases.Visible is true; MoonPhasesFontSettings.DoesSomething (MoonPhasesStyle, MoonPhasesStyle_Remove)

Write Alt1FontSettings

Alternate1/AltFontSettings

Alt1FontSettings.DoesSomething (Alt1Style, Alt1Style_Remove)

Write Alt2FontSettings

Alternate2/AltFontSettings

Alt2FontSettings.DoesSomething (Alt2Style, Alt2Style_Remove)

Write ParentSLProperty.NativeFractions

FiveWeeks/NativeFormatting

HasFiveWeeksOnly is true; FiveWeekSolution is qfwsFraction (0); FiveWeekFontStyle is not qppXtags (3); FiveWeekFontStyle is one of [qppNativeBottom, qppNativeTop, qppNativeTop00]

Write FiveWeekWrapFontSettings

FiveWeeks/FiveWeekWrapFontSettings

HasFiveWeeksOnly is true; FiveWeekSolution is not qfwsFraction (0); FiveWeekSolution is qfwsWrapToTop (1); FiveWeekWrapFontSettings.DoesSomething (FiveWeekWrapStyle, FiveWeekWrapStyle_Remove)

Write CurWeekNumFont

WeekNumbers/CurWeekNumFont

CurWeekNumFont.DoesSomething (CurWeekNumStyle, CurWeekNumStyle_Remove)

Write OtherWeeksNumFont

WeekNumbers/OtherWeeksNumFont

OtherWeeksNumFont.DoesSomething (OtherWeeksNumStyle, OtherWeeksNumStyle_Remove)

Write FullyOutsideWeeksNumFont

WeekNumbers/FullyOutsideWeeksNumFont

FullyOutsideWeeksNumFont.DoesSomething (FullyOutsideWeeksNumStyle, FullyOutsideWeeksNumStyle_Remove)

Write Weekdays1FontSettings

Weekdays1/WeekdaysFontSettings

Weekdays1FontSettings.DoesSomething (Weekdays1Style, Weekdays1Style_Remove)

Write Weekdays2FontSettings

Weekdays2/WeekdaysFontSettings

Weekdays2FontSettings.DoesSomething (Weekdays2Style, Weekdays2Style_Remove)

Write ParentSLProperty.OneLineTabsOptions

OneLineMinicalendars/OneLineTabsOptions

Whenever this part of the routine is reached

Write ParentSLProperty.ParagraphStyleRec

ParagraphStyleRec

Whenever this part of the routine is reached

 

Initialization and reset values

 

This type has no separate initializer in the supplied code. Its starting values come from its enclosing object, inherited initialization, or existing state. Relevant enclosing initializers are identified below.

 

Enclosing initialization contexts

 

The following enclosing routines establish or override this record’s starting values. Follow the owner link for the complete initializer. Different enclosing objects can supply different defaults.

 

TMiniCalOptions.Create is documented in TMiniCalOptions.

 

Value namespaces used by this implementation

 

These are declared Pascal ordinal values. Use the ordinal only where the field serializer actually writes ord(...), an integer cast or an equivalent value. Set-marker strings and local option lists have their own representation; sentinel members in an enum are not automatically legal XML choices.

 

TqHolList

 

Ordinal

Declared member

0

qhlA

1

qhlE

2

qhlI

3

qhlO

4

qhlU

5

qhlNone

6

qhlInsert

7

qhlXtra

 

TmcTextStyleOption

 

Ordinal

Declared member

0

tsoHide

1

tsoBold

2

tsoItalic

3

tsoOutline

4

tsoShadow

5

tsoStrikeThru

6

tsoUnderline

7

tsoWordUnderline

8

tsoSmallCaps

9

tsoAllCaps

10

tsoSuperScript

11

tsoSubscript

12

tsoFontName

13

tsoFontSize

14

tsoFontShade

15

tsoFontColor

16

tsoChangeText

17

tsoHorScale

18

tsoVertScale

19

tsoTrack

20

tsoKern

21

tsoBaseShift

22

tsoAppend

23

tsoReset

24

tsoIgnoreAllOthers

25

tsoFontOpacity

26

tsoOverprint

27

tsoSkew

28

tsoLeading

 

TmcDateFormatZones

 

Ordinal

Declared member

0

mcdfzWeekdays

1

mcdfzCurMonth

2

mcdfzCurWeek

3

mcdfzCurDate

4

mcdfzWrapToTop

5

mcdfzHol1

6

mcdfzHol2

7

mcdfzOutsideDates

8

mcdfzMoonPhase

9

mcdfzAlt1

10

mcdfzAlt2

 

TOutsideDaysVisibility

 

Ordinal

Declared member

0

odvFrontAndBack

1

odvFrontOnly

2

odvBackOnly

3

odvCurWeekBefore

4

odvCurWeekAfter

5

odvCurrentWeek

6

odvMonthChangeBefore

7

odvMonthChangeAfter

8

odvMonthChange

9

odvMonthChangeBeforeAllWeek

10

odvMonthChangeAfterAllWeek

11

odvMonthChangeAllWeek

 

qppFiveWeekSolution

 

Ordinal

Declared member

0

qfwsFraction

1

qfwsWrapToTop

 

qppFiveWeekFractionStyle

 

Ordinal

Declared member

0

qppCourier

1

qppTimes

2

qppArial

3

qppXtags

4

qppNativeBottom

5

qppNativeTop

6

qppNativeTop00

 

TmcDayHeadersToken

 

Ordinal

Declared member

0

dht_3d

1

dht_4d

 

TmcCurWeekDefinition

 

Ordinal

Declared member

0

cwdMonday

1

cwdMinicalWS

2

cwdGridWS

3

cwdAllDatesOfSpread

 

Text-style marker encoding

 

An empty style set is the empty string. A nonempty set has a leading comma, a comma after every marker and a trailing comma: for example ,B,I,FOSI,. The parser looks for complete case-sensitive marker substrings. HIDE replaces the ordinary style selection; RSET and IGNR are still processed. tsoAppend is declared but is not encoded by these two helpers.

 

Stored marker

Style member

HIDE

tsoHide

B

tsoBold

I

tsoItalic

UL

tsoUnderline

O

tsoOutline

SHD

tsoShadow

STRK

tsoStrikeThru

WUL

tsoWordUnderline

SCAP

tsoSmallCaps

ALLC

tsoAllCaps

SUP

tsoSuperScript

SUB

tsoSubscript

OVRPRT+

tsoOverprint

FONA

tsoFontName

FOSI

tsoFontSize

FOSH

tsoFontShade

FOOP

tsoFontOpacity

FOCO

tsoFontColor

CHTX

tsoChangeText

HOSC

tsoHorScale

VESC

tsoVertScale

TRAK

tsoTrack

KERN

tsoKern

BASH

tsoBaseShift

SKW

tsoSkew

LEAD

tsoLeading

RSET

tsoReset

IGNR

tsoIgnoreAllOthers

 

Storage declarations relevant to interpretation

 

These are in-memory member and property types, not a list of mandatory XML children. They retain array bounds, fixed buffers and selector types. The field reference above defines what is actually serialized.

 

Name

Declared type / bounds

Kind

ParentGridType

Byte

member

CurMonthIsDefined

Boolean

member

CurWeekIsDefined

Boolean

member

CurDayIsDefined

Boolean

member

WeekStart

Byte

member

OutsideDays

TmcOutsideDays

member

DayHeader

TmcDayHeader

member

WeekHeader_XXX

TmcWeekHeader

member

CurMonth

TBoxStyle

member

CurWeek

TBoxStyle

member

CurDay

TmcDayAttr

member

Holidays

TmcDayAttr

member

Holidays2

TmcDayAttr

member

MoonPhases

TmcMoonPhases

member

SummerTime

TmcSummerTimeDates

member

HasFiveWeeksOnly

Boolean

member

FiveWeekSolution

qppFiveWeekSolution

member

FiveWeekFontStyle

qppFiveWeekFractionStyle

member

FiveWeekWrapStyle

TmcTextStyle

member

FiveWeekWrapStyle_Remove

TmcTextStyle

member

FiveWeekWrapFontSettings

TmcFontSettings

member

mcHolidaysSet

TqHolList

member

mcHolidays2Set

TqHolList

member

ApplyCurMonthToWholeBox

Boolean

member

CurWeekNumStyle

TmcTextStyle

member

OtherWeeksNumStyle

TmcTextStyle

member

FullyOutsideWeeksNumStyle

TmcTextStyle

member

Orientation

Byte

member

CurWeekNumFont

TmcFontSettings

member

OtherWeeksNumFont

TmcFontSettings

member

FullyOutsideWeeksNumFont

TmcFontSettings

member

OutsideDaysVisibility

TOutsideDaysVisibility

member

HideFullyOutsideWeeks

Boolean

member

DayHeadersToken

TmcDayHeadersToken

member

CurWeek_AllSpread

Boolean

member

CurDay_AllSpread

Boolean

member

CurWeek_EvenOutsideDays

Boolean

member

CurDay_EvenOutsideDays

Boolean

member

CurDayHeaderStyle

TmcTextStyle

member

CurDayHeaderFont

TmcFontSettings

member

CurWeekNumStyle_Remove

TmcTextStyle

member

OtherWeeksNumStyle_Remove

TmcTextStyle

member

FullyOutsideWeeksNumStyle_Remove

TmcTextStyle

member

CurDayHeaderStyle_Remove

TmcTextStyle

member

UsesNewFontSettings

Boolean

member

CurMonthStyle

TmcTextStyle

member

CurMonthStyle_Remove

TmcTextStyle

member

CurMonthFontSettings

TmcFontSettings

member

CurWeekStyle

TmcTextStyle

member

CurWeekStyle_Remove

TmcTextStyle

member

CurWeekFontSettings

TmcFontSettings

member

CurDaysStyle

TmcTextStyle

member

CurDaysStyle_Remove

TmcTextStyle

member

CurDaysFontSettings

TmcFontSettings

member

Hol1Style

TmcTextStyle

member

Hol1Style_Remove

TmcTextStyle

member

Hol1FontSettings

TmcFontSettings

member

Hol2Style

TmcTextStyle

member

Hol2Style_Remove

TmcTextStyle

member

Hol2FontSettings

TmcFontSettings

member

OutsideDaysStyle

TmcTextStyle

member

OutsideDaysStyle_Remove

TmcTextStyle

member

OutsideDaysFontSettings

TmcFontSettings

member

MoonPhasesStyle

TmcTextStyle

member

MoonPhasesStyle_Remove

TmcTextStyle

member

MoonPhasesFontSettings

TmcFontSettings

member

MoreThanSevenDayHeaders

Boolean

member

ShowOutsideDayHeaders

Boolean

member

DayHeadersUseDateFormatting

Boolean

member

OutsideDayHeadersVisibility

TOutsideDaysVisibility

member

VertMiniCalsRightAligned

Boolean

member

HorMiniCalsBottomAligned

Boolean

member

ShowWeeklyBandsForAllDatesOfSpread

Boolean

member

TwoDigitWeekNum

Boolean

member

RightToLeft

Boolean

member

NextMonWeekNum

Boolean

member

AlwaysNextMon

Boolean

member

CurWeekDefinition

TmcCurWeekDefinition

member

Weekdays1Style

TmcTextStyle

member

Weekdays1Style_Remove

TmcTextStyle

member

Weekdays1FontSettings

TmcFontSettings

member

Weekdays2Style

TmcTextStyle

member

Weekdays2Style_Remove

TmcTextStyle

member

Weekdays2FontSettings

TmcFontSettings

member

Weekdays1Selection_OLD

integer

member

Weekdays2Selection_OLD

integer

member

SameOptionsForAllMinicals

Boolean

member

WeekNumsOnEveryDate

Boolean

member

WeekNumWeekday

integer

member

WeekNumPartialFirstWeekDefinition

integer

member

WeekNumPartialLastWeekDefinition

integer

member

WeekNumPartialFirstWeekAction

integer

member

WeekNumPartialLastWeekAction

integer

member

WeekNumPartialFirstWeekTabSize

integer

member

WeekNumPartialLastWeekTabSize

integer

member

Alt1Style

TmcTextStyle

member

Alt1Style_Remove

TmcTextStyle

member

Alt1FontSettings

TmcFontSettings

member

Alt2Style

TmcTextStyle

member

Alt2Style_Remove

TmcTextStyle

member

Alt2FontSettings

TmcFontSettings

member

XLWeekNum

integer

member

CurDay_AllPage

Boolean

member

 

Implementation details

 

The Implementation toggle contains only TmcOptions methods. Initializers and helpers belonging to other types are identified separately below. Shared XML-helper limitations are explained in Reading this reference.

 

Declaration reproduces this record’s complete declaration from the supplied source, including its fields, properties and method signatures.

 

Declaration

 

Implementation