Please enable JavaScript to view this site.

 

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

TMinicalParagraphStyleRec — XML implementation

Scroll Prev Up Next More

This topic covers the implementation details of TMinicalParagraphStyleRec.

 

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

 

Enabled gates When, Formatting and Horizontal. When is Never=0, CurrentDay=1, CurrentWeek=2 or CurrentMonth=3. The enclosing initializer provides the nested defaults.

 

The reader does not initialize on entry; omission can preserve seeded values. This differs from several other formatting records.

 

Notation and shared helper rules: Reading this reference.

 

XML identity and composition

 

Literal rec_type values emitted within these routines: TMinicalParagraphStyleRec. 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:

 

TMinicalHorizontalRec

TXtagsParagraphFormatting

 

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.

 

@rec_type

 

XML representation: The rec_type attribute.

 

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

 

Enabled

 

XML representation: The text of the Enabled element.

 

Initial value: false (TMinicalParagraphStyleRec.Initialize).

 

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

 

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

 

When

 

XML representation: The text of the When element.

 

Reading: Reads the element into When when the record node exists; Enabled is true.

 

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

 

Nested records and repeated elements

 

Operation

XML location

When it is processed

Write Formatting

Formatting

Enabled is true

Write Horizontal

Horizontal

Enabled is true

Read Formatting

Formatting

the record node exists; Enabled is true

Read Horizontal

Horizontal

the record node exists; Enabled is true

 

Initialization and reset values

 

TMinicalParagraphStyleRec.Initialize

 

Setting or temporary variable

Initial value

When it is assigned

self

Default (TMinicalParagraphStyleRec)

Always

Enabled

false

Always

Formatting.Formats.Enabled

false

Always

Formatting.Formats.LeftIndent

0.0

Always

Formatting.Formats.FirstLine

0.0

Always

Formatting.Formats.RightIndent

0.0

Always

Formatting.Formats.Leading

0.0

Always

Formatting.Formats.SpaceBefore

0.0

Always

Formatting.Formats.SpaceAfter

0.0

Always

Formatting.Formats.Alignment

0

Always

Formatting.Formats.DropCaps.Enabled

false

Always

Formatting.Formats.DropCaps.CharCount

1

Always

Formatting.Formats.DropCaps.LineCount

3

Always

Formatting.Formats.KeepLinesTogether.Enabled

false

Always

Formatting.Formats.KeepLinesTogether.AllLines

true

Always

Formatting.Formats.KeepLinesTogether.Starting

2

Always

Formatting.Formats.KeepLinesTogether.Ending

2

Always

Formatting.Formats.KeepWithNext

false

Always

Formatting.Formats.LockToBaselineGrid

false

Always

Formatting.Tabs.Enabled

false

Always

Formatting.Tabs.Xtags

an empty string

Always

Formatting.Tabs.UseTabAsLineEnding

false

Always

Formatting.RuleAbove.Enabled

false

Always

Formatting.RuleAbove.Length

qrlIndents (0)

Always

Formatting.RuleAbove.FromLeft

0.0

Always

Formatting.RuleAbove.FromRight

0.0

Always

Formatting.RuleAbove.Offset

0.0

Always

Formatting.RuleAbove.OffsetInPercent

false

Always

Formatting.RuleAbove.Style.ID

0

Always

Formatting.RuleAbove.Style.Name

“Solid”

Always

Formatting.RuleAbove.Width

1.0

Always

Formatting.RuleAbove.Color

“K”

Always

Formatting.RuleAbove.Shade

100.0

Always

Formatting.RuleAbove.Opacity

100.0

Always

Formatting.RuleBelow.Enabled

false

Always

Formatting.RuleBelow.Length

qrlIndents (0)

Always

Formatting.RuleBelow.FromLeft

0.0

Always

Formatting.RuleBelow.FromRight

0.0

Always

Formatting.RuleBelow.Offset

0.0

Always

Formatting.RuleBelow.OffsetInPercent

false

Always

Formatting.RuleBelow.Style.ID

0

Always

Formatting.RuleBelow.Style.Name

“Solid”

Always

Formatting.RuleBelow.Width

1.0

Always

Formatting.RuleBelow.Color

“K”

Always

Formatting.RuleBelow.Shade

100.0

Always

Formatting.RuleBelow.Opacity

100.0

Always

Horizontal.UseVariableWidths

false

Always

Horizontal.RightEdge[1]

0.0

Always

Horizontal.RightEdge[2]

0.0

Always

Horizontal.RightEdge[3]

0.0

Always

Horizontal.RightEdge[4]

0.0

Always

Horizontal.RightEdge[5]

0.0

Always

Horizontal.RightEdge[6]

0.0

Always

Horizontal.RightEdge[7]

0.0

Always

Horizontal.MinFromLeft

0.0

Always

Horizontal.MinFromRight

0.0

Always

Horizontal.TextboxWidth

0.0

Always

Horizontal.IndividualDaysWidth

0.0

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.

 

TRulesLength

 

Ordinal

Declared member

0

qrlIndents

1

qrlText

2

qrlColumn

 

TApplyMinicalParagraphStylesWhen

 

Ordinal

Declared member

0

apswNever

1

apswCurrentDay

2

apswCurrentWeek

3

apswCurrentMonth

 

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

Enabled

Boolean

member

When

TApplyMinicalParagraphStylesWhen

member

Formatting

TXtagsParagraphFormatting

member

Horizontal

TMinicalHorizontalRec

member

 

Implementation details

 

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