txtfrmat.h File Reference

Enum TTextFormatAttribute

Indicates which format attributes are relevant when setting or sensing text formatting.

EnumeratorValueDescription
EAttParaLanguage

Language of the paragraph for proofing.

EAttFillColor

Background colour of the paragraph.

EAttLeftMargin

Leading text margin.

EAttRightMargin

Trailing text margin.

EAttIndent

First line leading indent.

EAttAlignment

Horizontal alignment of paragraph.

EAttVerticalAlignment

Vertical paragraph alignment.

EAttLineSpacing

Inter-line spacing.

EAttLineSpacingControl

Control for EAttLineSpacing.

EAttSpaceBefore

Space above paragraph.

EAttSpaceAfter

Space below paragraph.

EAttKeepTogether

Whether a page break can occur within the paragraph.

EAttKeepWithNext

Whether a page break can occur between this and the next paragraph.

EAttStartNewPage

Whether a page break should be inserted before this paragraph.

EAttWidowOrphan

Whether the last line of a paragraph can appear by itself at the top of a new page, (widow), or the first line of a paragraph can appear by itself at the bottom of the page, (orphan).

EAttWrap

Whether the paragraph should line wrap at the right margin.

EAttBorderMargin

Distance between paragraph border and enclosed text.

EAttTopBorder

Top of paragraph border.

EAttBottomBorder

Bottom of paragraph border.

EAttLeftBorder

Left-hand side of paragraph border.

EAttRightBorder

Right-hand side of paragraph border.

EAttBullet

Bullet point associated with paragraph.

EAttDefaultTabWidth

Spacing between default tab stops.

EAttTabStop

Tab stop.

EAttCharLanguage

Language of individual characters within a paragraph for proofing.

EAttColor

Text colour.

EAttFontHighlightColor

Text highlight colour.

EAttFontHighlightStyle

Text highlight style.

EAttFontHeight

Font height.

EAttFontPosture

Font posture (i.e. italics).

EAttFontStrokeWeight

Font stroke weight (i.e. bold).

EAttFontPrintPos

Subscript, superscript or normal print position.

EAttFontUnderline

Underlining.

EAttFontStrikethrough

Strikethrough.

EAttFontTypeface

The typeface name.

EAttFontPictureAlignment

Vertical picture alignment.

EAttFontHiddenText

Hidden text.

ETextFormatAttributeCount

Used internally to indicate the count of all attributes.

Enum anonymous

EnumeratorValueDescription
EVariableLengthValue0

KMaxStyleName

const TIntKMaxStyleName

KMaxParaAttributes

const TIntKMaxParaAttributes

KMaxCharAttributes

const TIntKMaxCharAttributes

KTabNotFound

const TIntKTabNotFound