1. The Style elements

Styles

The styles element defines the list of styles for the document. It can contain child elements ParagraphStyles, CharacterStyles, TableStyles, and CellStyles. The style element contains the Stylename attribute that is required.

The table below lists all the child elements of the Style element and their attributes, use, (default) values, and descriptions.

ElementAttribute(s) (and use)Value(s) (default in bold)Description
BalanceLinesTrue

False
Balance ragged lines.

Value is in inner text (not in attribute)
BaselineShift[-5000, 5000]BaselineShift value in points.

Value is in inner text (not in attribute)
BorderColorColor nameBorder color for table styles. Value is in inner text (not in attribute)
BorderGapColorColor nameBorder gap color for table styles.
BorderGapOverprintTrue

False
Border gap overprint for table styles.

Value is in inner text (not in attribute)
BorderGapTint[0,100]Border gap tint for table styles in percentage.

Value is in inner text (not in attribute)
BorderOverprintTrue

False
Border overprint for table styles.

Value is in inner text (not in attribute)
BorderTint[0,100]Border tint for table styles in percentage.

Value is in inner text (not in attribute)
BorderTypeType nameBorder type for table styles.

Value is in inner text (not in attribute)
BorderWeightPointsBorder weight for table styles.

Value is in inner text (not in attribute)
BulletsBulletCharBullet character style nameBullet character for bullets.
TextAfterCharacter style nameCharacter style for text after the bulleted list.
CharStyleCharacter style nameCharacter style for bulleted text.
NumberNumbering style nameNumbering style.
ContinueFromPreviousTrue

False
Numbering style mode "Continue from Previous Number".
StartAt[0,90000]Numbering style mode "StartAt".
CaseNormal

SmallLowerCase

SmallEverything

All
The case for paragraph or character styles.

Value is in inner text (not in attribute)
BulletAlignmentLeft

Center

Right
Bullet position used for paragraph styles.

Value is in inner text (not in attribute)
NumberAlignmentLeft

Center

Right
Number alignment bullet position used for paragraph styles.

Value is in inner text (not in attribute)
CharacterColorFillOverprint (Required)True

False
Used for Character Color FillOverPrint is Overprint Fill.
FillTint (Required)[0,99]FillTint value in percentage.

-1 when tint is 100%.
StrokeColor (Required)Color nameName of the stroke color.
StrokeOverprint (Required)True

False
StrokeOverprint is Overprint fill for stroke.
StrokeTint (Required)[0,99]StrokeTint value in percentage.

-1 when tint is 100%.
StrokeWeight (Required)PointsWeight value in points.
ClippingTrue

False
Clip contents to text, in cell styles text tab.

Value is in inner text (not in attribute)
ColumnStrokesFirstCount[0,199]Alternating table column strokes. Attributes starting with first are to set the first pattern for alternating column strokes.

Attributes starting with Next set the second pattern for alternating column strokes.

FirstCount sets number of columns.
FirstWeight[0 to 282.222]Weight value in mm.
FirstTypeSolid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Stroke type name.
FirstColorColor nameName of the stroke color.
FirstTint[0,100]First tint value in percentage.
FirstOverprintTrue

False
Set overprint.
FirstGapColorColor nameFirst gap color name.
FirstGapTint[0,100]Set first gap tint in percentage.
FirstGapOverprintTrue

False
Set gap overprint.
NextCount[0,199]Set number of columns.
NextWeight[0 to 282.222]Weight value in mm.
NextTypeSolid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Stroke type name.
NextColorColor nameNextColor color name.
NextTint[0,100]Next tint in percentage.
NextOverprintTrue

False
Set overprint.
NextGapColorColor nameGap color name.
NextGapTint[0, 100]Set next gap tint in percentage.
NextGapOverprintTrue

False
Set gap overprint.
SkipFirst[0,199]Skip first x number of columns when alternating strokes.
SkipLast[0,199]Skip last x number of columns when alternating strokes.
DiagnolColorColor nameAll diagonal lines elements are for cell styles.

Diagonal line stroke color name.

Value is in inner text (not in attribute)
DiagnolGapColorColor nameDiagonal line stroke gap color name.

Value is in inner text (not in attribute)
DiagnolGapOverprintTrue

False
Gap overprint.

Value is in inner text (not in attribute)
DiagnolGapTint[0,100]Diagonal gap tint in percentage.

Value is in inner text (not in attribute)
DiagnolLineLeftTop

RightTop

Both
Diagonal line type

LeftTop: top left to bottom right diagonal line

RightTop: top right to bottom left diagonal line

Both: crossing diagonal lines.

Value is in inner text (not in attribute)
DiagnolOverprintTrue

False
Overprint.

Value is in inner text (not in attribute)
DiagnolsOnTopTrue

False
False: if "Content in Front"

True: if "Diagonal in Front".

Not added as an element to style if "Ignore".

Value is in inner text (not in attribute)
DiagnolStrokeTypeSolid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Line stroke type name. Element is not added when value is "Ignore".

Value is in inner text (not in attribute)
DiagnolTint[0,100]Tint value in percentage.

Value is in inner text (not in attribute)
DiagnolWeightpointsLine stroke weight value.

Value is in inner text (not in attribute)
FillColorColor nameFill elements are for cell styles. Cell Fill color name.

Value is in inner text (not in attribute)
FillOverprintTrue

False
Cell Fill Overprint.
FillsPattern (Required)Alternating Table row/column fills elements. Attributes starting with first are to set the first pattern for alternating fills. Attributes starting with Next set the second pattern for alternating fills.

Pattern - Row/Column. Sets the alternating pattern.
FirstCount (Required)[0,199]Set number of rows/columns.
FirstColor (Required)Color nameName of fill color.
FirstTint (Required)[0,100]FirstTint value in percentage.
FirstOverprint (Required)True

False
Set overprint.
NextCount (Required)[0,100]Set number of rows/columns.
NextColor (Required)Color nameName of fill color.
NextTint (Required)[0,100]NextTint value in percentage.
NextOverprint (Required)True

False
Set overprint.
SkipFirst (Required)[0,199]Skip first x number of rows/columns when alternating fills.
SkipLast (Required)[0,199]Skip last x number of rows/columns.
FillTint[0,100]Fill Tint for cell styles, number [0,100], in inner text.

Value is in inner text (not in attribute)
FirstBaselineMinpointsFirst baseline minimum value for cell styles in points.

Value is in inner text (not in attribute)
FirstBaselineOffsetAscent

CapHeight

Leading

XHeight

Fixed
The baseline position of the first line.

Not added to style child elements when "Ignore".

Value is in inner text (not in attribute)
FirstLineIndent[-3048,3048]Paragraph style of the first line indent in mm.

Value is in inner text (not in attribute)
FontColorColor nameThe font color for paragraph or character styles. The hex.

Value is in inner text (not in attribute)
FontFamilyNameThe name of the font family for paragraph or character styles.

Value is in inner text (not in attribute)
FontSize[0.1, 1296]The font size (points) for paragraph or character styles.

Value is in inner text (not in attribute).
FontStyleThe font style for paragraph or character styles. Values depend on the styles defined in the selected font family (for example: Regular, Bold, Italic, Medium, Semibold, Bold Italic, Medium Italic, Semibold Italic etc).
HorizontalAlignmentLeft

Center

Right

Justify left

Justify center

Justify right

Justify full
The horizontal alignment for paragraph styles.

Value is in inner text (not in attribute)
HorizontalScale[0.01, 10]Corresponds to [1.0%, 1000.0%]

Value is in inner text (not in attribute)
HyphenationCapitalized (required)True

False
Hyphenate capitalized words.
Ladder (required)[0,25]Hyphen limit X number of hyphens.
LastWord (required)True

False
Hyphenate last word.
Limit (required)[0,10]Hyphenation slider value.
Zone (required)Positive number in pointsHyphenation zone.
CrossColumn (required)True

False
Hyphenate across column.
AfterFirst (required)[1,15]Before last x letters
BeforeLast (required)[1,15]After first x letters.
ShortestWord(required)[3,25]Words with at least x number of letters.
Mode(required)Off

Manual

Algorithm

Dictionary
Off: only hard hyphens.

Manual: also use discretionary hyphens.

Algorithm: also use algorithm.

Dictionary: also use dictionary hyphens.

From Interface if Hyphenate checkbox is unchecked - mode is Off, if checked - mode is Algorithm.
InsetBottom[0,3048]Inset bottom for cell styles, value in mm.

Value is in inner text (not in attribute)
InsetLeft[0,3048]Inset left for cell styles, value in mm.
InsetRight[0,3048]Inset right for cell styles, value in mm.
InsetTop[0,3048]Inset top for cell styles, value in mm.
JustificationWordspaceMin (required)[0.0,10.0]Minimum word spacing in percentage ([0.0,10.0] corresponds to 0.0% to 1000.0%).
WordspaceMax (required)[0.0,10.0]Maximum word spacing in percentage ([0.0,10.0] corresponds to 0.0% to 1000.0%).
WordspaceDes (required)[0.0,10.0]Desired word spacing in percentage ([0.0,10.0] corresponds to 0.0% to 1000.0%).
GlyphscaleMin (required)[0.5, 2.0]Minimum glyph scaling in percentage ([0.5, 2.0] corresponds to 50.0% to 200.0%).
GlyphscaleMax (required)[0.5, 2.0]Maximum glyph scaling in percentage ([0.5, 2.0] corresponds to 50.0% to 200.0%).
GlyphscaleDes (required)[0.5, 2.0]Desired glyph scaling in percentage ([0.5, 2.0] corresponds to 50.0% to 200.0%).
LetterspaceMin (required)[-1.0,5.0]Minimum letter spacing in percentage ([-1.0,5.0] corresponds to -100.0% to 500.0%).
LetterspaceMax (required)[-1.0,5.0]Maximum letter spacing in percentage ([-1.0,5.0] corresponds to -100.0% to 500.0%).
LetterspaceDes (required)[-1.0,5.0]Desired letter spacing in percentage ([-1.0,5.0] corresponds to -100.0% to 500.0%).
AutoLeading (required)[0.0, 5.0]Auto leading in percentage ([0.0, 5.0] corresponds to 0.0% to 500.0%).
SingleWordJustification (required)Justify full

Left

Center

Right
Single word justification.
KerningKerning for paragraph and character styles.

Does not override document styles.
Language[-3048,3048]The language used for determining hyphens.
LastLineIndentThe indent for the last line in mm.

Value is in inner text (not in attribute)
LeaderCharValue (required)Char code.
LeftIndent[0,3048]The left indent for paragraph styles.

Value is in inner text (not in attribute)
LetterSpacingThe letter spacing for paragraph styles.
LigaturesTrue

False
The ligatures (Basic Character Formats). Ligatures is only saved for information, it doesn't override document style attribute.

Value is in inner text (not in attribute)
LineHeight[0,5000]The line height for paragraph or character styles.

Value is in inner text (not in attribute)
NoBreakTrue

False
NoBreak is saved only for information, it doesn't override document style attribute.
PositionNormal

Superscript

Subscript

Superior
The position for paragraph or character style

Value is in inner text (not in attribute)
RightIndent[0,3048]The right indent for paragraph or character styles.

Value is in inner text (not in attribute)
RowStrokesFirstCount (required)[0,9999]Alternating Table row strokes. Attributes starting with first are to set the first pattern for alternating strokes. Attributes starting with Next set the second pattern for alternating strokes.

FirstCount sets the number of rows.
FirstWeight (required)[0,282.222]Weight value in mm.
FirstType (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Stroke type name.
FirstColor (required)Color nameName of stroke color
FirstTint (required)[0,100]Tint in percentage.
FirstOverprint (required)True

False
Gap overprint.
FirstGapColor (required)Color nameGap color name.
FirstGapTint (required)[0,100]Tint in percentage.
FirstGapOverprint (required)True

False
Gap overprint.
NextCount (required)[0,9999]Set number of rows.
NextWeight (required)[0,282.222]Weight value in mm.
NextType (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
The stroke type name.
NextColor (required)Color nameThe name of stroke color.
NextTint (required)[0,100]Tint in percentage.
NextOverprint (required)True

False
Set overprint.
NextGapColor (required)Color nameGap color name.
NextGapTint (required)[0,100]Gap tint in percentage.
NextGapOverprint (required)True

False
Set gap overprint.
SkipFirst (required)[0,9999]Skip first x number of rows when alternating fills.
SkipLast (required)[0,9999]Skip last x number of rows.
RuleAboveRuleOn (required)True

False
The ParagraphRules tab of the paragraph styles.
StrokeWeight (required)[0,352.778]Weight value in mm.
StrokeType (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Stroke type name.
StrokeColor (required)Color nameStroke color name.
StrokeTint (required)[0,100]Tint in percentage.
StrokeOverprint (required)True

False
Overprint stroke.
GapColor (required)Color nameGap color name.
GapTint (required)[0,100]Tint in percentage.
GapOverprint (required)True

False
Gap overprint.
Width (required)Width text or column.
Offset (required)[-457.2,457.2]Offset value in mm.
LeftIndent (required)[0,3048]Left indent value in mm.
RightIndent (required)[0,3048]Left indent value in mm.
KeepInFrame (required)True

False
Keep in frame.
RuleBelowRuleOn (required)True

False
The ParagraphRules tab of the paragraph styles.
StrokeWeight (required)[0,352.778]Stroke weight value in mm.
StrokeType (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Stroke type name.
StrokeColor (required)Color nameColor name of the stroke.
StrokeTint (required)[0,100]Tint in percentage.
StrokeOverprint (required)True

False
StrokeOverprint is Overprint fill for stroke.
GapColor (required)Color nameColor name of the gap.
GapTint (required)[0,100]Gap tint in percentage.
GapOverprint (required)True

False
Gap overprint.
Width (required)Width text or column.
Offset (required)[-457.2,457.2]Offset value in mm.
LeftIndent (required)[0,3048]Left indent value in mm.
RightIndent (required)[0,3048]Right indent value in mm.
KeepStartParagraphAnywhere

In Next Column

In Next Frame

On Next Page

On Next Odd Page

On Next Even Page
Start paragraph values.
WithNext[0,5]Keep with next x number of lines.
TogetherTrue

False
True: Keep Lines together option "All Lines in Paragraph" selected

False: "At Start/End of Paragraph" selected.
KeepAllLinesTrue

False
Keep all lines together
LastLines[0,50]Keeps last x number of lines together when Keep Lines Together option "At Start/End of Paragraph" is selected.
FirstLines[0,50]Keeps first x number of lines together when Keep Lines Together option "At Start/End of Paragraph" is selected.
SkewAngle[-85,85]The skew angle for the characters.

Value in inner text (not in attribute)
SpaceAfter[0,3048]Space after table for table styles in mm.

Value in inner text (not in attribute)
SpaceBefore[0,3048]Space before table for table styles in mm.
StrikethroughWeight (required)[0,352.778]Strikethrough options for Paragraph and Character Styles. When value in inner text is "On", Strikethrough On is checked.

Strikethrough weight in mm.
Type (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Strikethrough type name
Offset (required)[-457.2,457.2]Offset value in mm.
Color (required)Color nameColor name.
Tint (required)[0,100]Tint value in percentage.
StrokeOverprint (required)True

False
Stroke overprint.
GapColor (required)Color nameColor name.
GapTint (required)[0,100]Tint value in percentage.
GapOverprint (required)True

False
Stroke overprint.
StrokeColorLeft (required)Color nameColor name for the corresponding stroke line.
Top (required)Color nameColor name for the corresponding stroke line.
Right (required)Color nameColor name for the corresponding stroke line.
Bottom (required)Color nameColor name for the corresponding stroke line.
StrokeGapColorLeft (required)Color nameGap color name for the corresponding stroke line
Top (required)Color nameGap color name for the corresponding stroke line
Right (required)Color nameGap color name for the corresponding stroke line
Bottom (required)Color nameGap color name for the corresponding stroke line
StrokeGapOverprintLeft (required)True

False
In Cell Stroke, Gap Overprint, value for left stroke line.
Top (required)True

False
In Cell Stroke, Gap Overprint, value for top stroke line.
Right (required)True

False
In Cell Stroke, Gap Overprint, value for right stroke line.
Bottom (required)True

False
In Cell Stroke, Gap Overprint, value for bottom stroke line.
StrokeGapTintLeft (required)[0,100]StrokeGapTint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
Top (required)[0,100]StrokeGapTint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
Right (required)[0,100]StrokeGapTint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
Bottom (required)[0,100]StrokeGapTint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
StrokeOverprintLeft (required)True

False
StrokeOverprint for table or cell styles

When a value is inserted for the element, this will overrule the values set with the attributes.
Top (required)True

False
StrokeOverprint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
Right (required)True

False
StrokeOverprint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
Bottom (required)True

False
StrokeOverprint for table or cell styles.

When a value is inserted for the element, this will overrule the values set with the attributes.
StrokeTintLeft (required)[0,100]In Cell Stroke, tint for corresponding stroke line in percentage
Top (required)[0,100]In Cell Stroke, tint for corresponding stroke line in percentage
Right (required)[0,100]In Cell Stroke, tint for corresponding stroke line in percentage.
Bottom (required)[0,100]In Cell Stroke, tint for corresponding stroke line in percentage.
StrokeTypeLeft (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
In Cell Stroke, Stroke line type name
Top (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
In Cell Stroke, Stroke line type name
Right (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
In Cell Stroke, Stroke line type name
Bottom (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
In Cell Stroke, Stroke line type name
StrokeWeightLeft (required)[0,282.222]In Cell Stroke, Stroke Weight, value for corresponding stroke line is number, in points, value range in mm.
Top (required)[0,282.222]In Cell Stroke, Stroke Weight, value for corresponding stroke line is number, in points, value range in mm.
Right (required)[0,282.222]In Cell Stroke, Stroke Weight, value for corresponding stroke line is number, in points, value range in mm.
Bottom (required)[0,282.222]In Cell Stroke, Stroke Weight, value for corresponding stroke line is number, in points, value range in mm.
TabLeaderCount (required)Paragraph Style Tabs

LeaderCount –Leader text char count
Alignment (required)[0,3]Tab alignment index.

0: Left-Justified Tab

1: Center-Justified Tab

2: Right-Justified Tab

3: Align To Decimal
AlignToChar (required)Align On character decimal code. Used when Align To Decimal Tab alignment is selected.
Position (required)[-3048,3048]Tab x Position, value in mm, value range in mm is from -3048 to 3048.

For each character in the Tab Leader text, a Leader child element of tab is added. The Leader element has attribute “CharValue” that contains the decimal character code of the corresponding character in the Leader text.
TabsFor the Tabs tab.
TextRotation0

90

180

270
Text rotation for table or cell styles. For Cell Styles, value is the text rotation angle, 0, 90, 180, 270, Ignore.

Element not added when Text Rotation value is Ignore.

Value is in inner text (not in attribute)
TrackingThe tracking (Basic Character Formats).

Value is in inner text (not in attribute)
UnderlineWeight (required)[0,352.778]Underline weight in mm.

Value is in inner text (not in attribute)
Type (required)Solid

ThickThick

ThickThin

ThickThinThick

ThinThick

ThinThickThin

ThinThin

Triple_Stroke

Canned Dashed 3x2

Canned Dashed 4x4

Left Slant Hash

Right Slant Hash

Straight Hash

Canned Dotted

Wavy

White Diamond

Japanese Dots

Dashed
Type of underline.
Offset (required)[-352.425,351.425]Offset value in mm.
Color (required)Color nameColor name
Tint (required)[0,100]Tint value in percentage.
StrokeOverprint (required)True

False
Stroke overprint.
GapColor (required)Color nameColor name.
GapTint (required)[0,100]Tint value in percentage.
GapOverprint (required)True

False
Stroke overprint.
VerticalJustificationTop

Center

Bottom

Justify
Vertical justification for table or cell styles.

When Vertical Justification is Ignore, element is not added to style child elements.

Value is in inner text (not in attribute)
VerticalScale[0.01,10]The VerticalScale (Advanced Character Formats). Value is numeric [0.01, 10], in inner text and corresponds to [1.0%, 1000.0%]

Value is in inner text (not in attribute)
VJSpacingLimit[0,3048]Vertical justification spacing limit for table or cell styles.

Value is in inner text (not in attribute)
If you have suggestions for improving this article, let us know!