Please enable JavaScript to view this site.

 

Navigation: Appendices > Q++Studio > XML Identifiers > Internal Data Structures > Implementation > List

THolidaysDisplayOptions — XML implementation

Scroll Prev Up Next More

This topic covers the implementation details of THolidaysDisplayOptions.

 

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

 

This record controls holiday names, wingding/symbol placement and abbreviation/symbol sorting. ResetToDefaults and IsDefault are specified below. Property-level THolidaysDisplay contains additional members; the record alone is not its complete schema.

 

Several string properties wrap fixed Char arrays. Storage declarations and accessors are included; precise truncation and escaping behavior depend on StringToArray/ArrayToString, which were not supplied.

 

Notation and shared helper rules: Reading this reference.

 

XML identity and composition

 

No literal rec_type value is emitted directly by the selected routines. A property envelope, an inherited writer or a delegated record can supply its identifying attributes.

 

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.

 

HolSetWingdingPosition

 

XML representation: The text of the HolSetWingdingPosition element.

 

Initial value: hwpDoNotShow (0) (THolidaysDisplayOptions.ResetToDefaults).

 

Reading: Reads the element into buffInt when the record node exists. The subsequent conversion is shown in Implementation.

 

Writing: Stores the numeric value of HolSetWingdingPosition (see the value table below) when HolSetWingdingPosition is not hwpDoNotShow (0).

 

DisplayHolidayName

 

XML representation: The text of the DisplayHolidayName element.

 

Initial value: True (THolidaysDisplayOptions.ResetToDefaults).

 

Reading: Reads the element into DisplayHolidayName when the record node exists. Before this read, DisplayHolidayName is set to True.

 

Writing: Stores true or false according to DisplayHolidayName when DisplayHolidayName is not True.

 

ChangeWingdingSize

 

XML representation: The text of the ChangeWingdingSize element.

 

Initial value: false (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores true or false according to ChangeWingdingSize when HolSetWingdingPosition is not hwpDoNotShow (0); ChangeWingdingSize is not false.

 

NewWingdingSize

 

XML representation: The text of the NewWingdingSize element.

 

Initial value: 80 (THolidaysDisplayOptions.ResetToDefaults).

 

Reading: Reads the element into NewWingdingSize when the record node exists. Before this read, NewWingdingSize is set to 80.

 

Writing: Stores the text representation of NewWingdingSize when HolSetWingdingPosition is not hwpDoNotShow (0); ChangeWingdingSize is not false; NewWingdingSize is not 80.

 

AbbrevSort

 

XML representation: The text of the AbbrevSort element.

 

Initial value: false (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores true or false according to false when AbbrevSort is not false.

 

DoNotSplitAbbrevs

 

XML representation: The text of the DoNotSplitAbbrevs element.

 

Initial value: false (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores true or false according to DoNotSplitAbbrevs when DoNotSplitAbbrevs is not false.

 

AbbrevSep

 

XML representation: The text of the AbbrevSep element.

 

Initial value: an empty string (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores AbbrevSep when AbbrevSep is not empty.

 

AbbrevSortType

 

XML representation: The text of the AbbrevSortType element.

 

Initial value: hstNone (0) (THolidaysDisplayOptions.ResetToDefaults).

 

Reading: Reads the element into buffInt when the record node exists. The subsequent conversion is shown in Implementation.

 

Writing: Stores the numeric value of AbbrevSortType (see the value table below) when AbbrevSortType is not hstNone (0).

 

AbbrevSortFilter

 

XML representation: The text of the AbbrevSortFilter element.

 

Initial value: an empty string (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores AbbrevSortFilter when AbbrevSortType is not hstNone (0); AbbrevSortFilter is not empty.

 

SymbolsSep

 

XML representation: The text of the SymbolsSep element.

 

Initial value: an empty string (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores SymbolsSep when SymbolsSep is not empty.

 

SymbolsSortType

 

XML representation: The text of the SymbolsSortType element.

 

Initial value: hsstNone (0) (THolidaysDisplayOptions.ResetToDefaults).

 

Reading: Reads the element into buffInt when the record node exists. The subsequent conversion is shown in Implementation.

 

Writing: Stores the numeric value of SymbolsSortType (see the value table below) when SymbolsSortType is not hsstNone (0).

 

SymbolsSortFilter

 

XML representation: The text of the SymbolsSortFilter element.

 

Initial value: an empty string (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores SymbolsSortFilter when SymbolsSortType is not hsstNone (0); SymbolsSortFilter is not empty.

 

SymbolFont

 

XML representation: The text of the SymbolFont element.

 

Initial value: an empty string (THolidaysDisplayOptions.ResetToDefaults).

 

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

 

Writing: Stores SymbolFont when SymbolsSortType is not hsstNone (0); SymbolFont is not empty.

 

Initialization and reset values

 

THolidaysDisplayOptions.ResetToDefaults

 

Setting or temporary variable

Initial value

When it is assigned

HolSetWingdingPosition

hwpDoNotShow (0)

Always

DisplayHolidayName

True

Always

ChangeWingdingSize

false

Always

NewWingdingSize

80

Always

AbbrevSort

false

Always

AbbrevSep

an empty string

Always

AbbrevSortType

hstNone (0)

Always

AbbrevSortFilter

an empty string

Always

DoNotSplitAbbrevs

false

Always

SymbolsSep

an empty string

Always

SymbolsSortType

hsstNone (0)

Always

SymbolsSortFilter

an empty string

Always

SymbolFont

an empty string

Always

 

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.

 

THolidaysSetWingdingPosition

 

Ordinal

Declared member

0

hwpDoNotShow

1

hwpLeft

2

hwpRight

 

THolSortType

 

Ordinal

Declared member

0

hstNone

1

hstFilter

2

hstAlpha

3

hstNoDupesNoSort

 

THolSymbolSortType

 

Ordinal

Declared member

0

hsstNone

1

hsstFilter

2

hsstNoDuplicates

3

hsstNoDuplicatesExceptsAsterisks

 

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

DisplayHolidayName

Boolean

member

HolSetWingdingPosition

THolidaysSetWingdingPosition

member

FHolSetWingdingLeftWrapper_OLD

array [1..5] of Char

member

FHolSetWingdingRightWrapper_OLD

array [1..5] of Char

member

FHolSetWingdingSeparator_OLD

array [1..5] of Char

member

ChangeWingdingSize

Boolean

member

NewWingdingSize

integer

member

AbbrevSort

Boolean

member

FAbbrevSep

array [1..7] of Char

member

AbbrevSortType

THolAbbrevSortType

member

FAbbrevSortFilter

array [1..120] of Char

member

FSymbolsSep

array [1..7] of Char

member

SymbolsSortType

THolSymbolSortType

member

FSymbolsSortFilter

array [1..60] of Char

member

FSymbolFont

array [1..50] of Char

member

DoNotSplitAbbrevs

Boolean

member

HolSetWingdingLeftWrapper_OLD

string

property/accessor

HolSetWingdingRightWrapper_OLD

string

property/accessor

HolSetWingdingSeparator_OLD

string

property/accessor

AbbrevSep

string

property/accessor

AbbrevSortFilter

string

property/accessor

SymbolsSep

string

property/accessor

SymbolsSortFilter

string

property/accessor

SymbolFont

string

property/accessor

 

Implementation details

 

The Implementation toggle contains only THolidaysDisplayOptions 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