Plugins can obtain their data from a database, (local) XML files or from an (external) online service. The first chapter of this document describes the syntax of (local) XML files that store placeholders, actions, templates...

The second chapter describes the DTD of XML files, which serve as a basis for generating InDesign® Documents from XML files.

The usual entities are used for encoding XML characters. They do not have to be defined.

Character Encoding
& &
> >
< &lt;
" &quot;
' &apos;

Characters with an ASCII code > 127 are called special characters. They are referred to with their unicode code point in decimal or hexadecimal of the form :

&#174;

&#xAE;

In the following table, the unicodes for characters 128-255 are given. On Mac OS X, you can use the names given in the table, in addition to the numeric values.

Please bear in mind that not all unicode characters can be rendered with the fonts used in InDesign® panels.

When writing back data, e.g. when the description of a template was changed, the Mac-specific character names are lost and replaced by the numeric notation.

For more characters see siehe: HTML Character reference by Stefan Münz.

HTML-
code
ANSI
hex dez
Character   HTML-
code
ANSI
hex dez
Char.   HTML-
code
ANSI
hex dez
Char.   HTML-
code
ANSI
hex dez
Char.
&#x80;
&#x81;
&#x82;
&#x83;
&#x84;
&#x85;
&#x86;
&#x87;
&#x88;
&#x89;
&#x8A;
&#x8B;
&#x8C;
&#x8D;
&#x8E;
&#x8F;
&#x90;
&#x91;
&#x92;
&#x93;
&#x94;
&#x95;
&#x96;
&#x97;
&#x98;
&#x99;
&#x9A;
&#x9B;
&#x9C;
&#x9D;
&#x9E;
&#x9F;
80
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F
90
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159



ƒ




ˆ

Š

Œ

Ž









˜

š

œ

ž
Ÿ
  &nbsp;
&iexcl;
&cent;
&pound;
&curren;
&yen;
&brvbar;
&sect;
&uml;
&copy;
&ordf;
&laquo;
&not;
&shy;
&reg;
&macr;
&deg;
&plusmn;
&sup2;
&sup3;
&acute;
&micro;
&para;
&middot;
&cedil;
&sup1;
&ordm;
&raquo;
&frac14;
&frac12;
&frac34;
&iquest;
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
AA
AB
AC
AD
AE
AF
B0
B1
B2
B3
B4
B5
B6
B7
B8
B9
BA
BB
BC
BD
BE
BF
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
 
¡
¢
£
¤
¥
¦
§
¨
©
ª
«
¬
­
®
¯
°
±
²
³
´
µ

·
¸
¹
º
»
¼
½
¾
¿
  &Agrave;
&Aacute;
&Acirc;
&Atilde;
&Auml;
&Aring;
&AElig;
&Ccedil;
&Egrave;
&Eacute;
&Ecirc;
&Euml;
&Igrave;
&Iacute;
&Icirc;
&Iuml;
&ETH;
&Ntilde;
&Ograve;
&Oacute;
&Ocirc;
&Otilde;
&Ouml;
&times;
&Oslash;
&Ugrave;
&Uacute;
&Ucirc;
&Uuml;
&Yacute;
&THORN;
&szlig;
C0
C1
C2
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD
DE
DF
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
×
Ø
Ù
Ú
Û
Ü
Ý
Þ
ß
  &agrave;
&aacute;
&acirc;
&atilde;
&auml;
&aring;
&aelig;
&ccedil;
&egrave;
&eacute;
&ecirc;
&euml;
&igrave;
&iacute;
&icirc;
&iuml;
&eth;
&ntilde;
&ograve;
&oacute;
&ocirc;
&otilde;
&ouml;
&divide;
&oslash;
&ugrave;
&uacute;
&ucirc;
&uuml;
&yacute;
&thorn;
&yuml;
E0
E1
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
F0
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
à
á
â
ã
ä
å
æ
ç
è
é
ê
ë
ì
í
î
ï
ð
ñ
ò
ó
ô
õ
ö
÷
ø
ù
ú
û
ü
ý
þ
ÿ

With the Werk II Plugins, InDesign® documents can be generated from special XML files. In the following, the DTD of those XML files is described. You can request example data from Werk II.

Create the output file according to the specifications in the element attibutes. This element uses its own attributes for specifications, rather than the more common child elements. The following attributes are defined:

Attribute Description
FileName Name of the new InDesign® file. The name, including the file extension, may not be longer than 31 characters. The extension is automatically set to .indd if anything else is specified.
FilePath Path of the new file. The path is automatically converted to a Unix path. Each directory name may not be longer than 31 characters. The entire path, including file names, may not be longer than 255 characters. If the directory does not exist, the full path is created.

This example creates the InDesign® document daypack-2004-01-26_12-48 in the directory /Transfer/Werk2/1. XML Import:

<FileBlock
	FileName="daypack-2004-01-26_12-48.qxp"
	FilePath="D:\Transfer\Werk2\1. XML Import ins Quark\">

Settings for the page numbering in the document. The following child elements can be defined:

Element Type Values Description
StartPage int The number the first page should be labeled with.
NumPages int Minimum number of pages the document should have. If more pages are needed to fit the page content, additional pages are added automatically.
Restart bool
NumberingStyle enum NUMBERIC
ROMAN
roman
ALPHA
alpha
1, 2, 3, ...
I, II, III, IV, ...
i, ii, iii, iv, ...
A, B, C, D, ...
a, b, c, d, ...
Prefix string Prefix used for page numbers

This example document starts on page 12

<PageNumbers>
   <StartPage>12</StartPage>
   <NumPages>1</NumPages>
   <Restart>yes</Restart>
   <NumberingStyle>NUMERIC</NumberingStyle>
   <Prefix/>
</PageNumbers>

Unused for InDesign®, see Paragraph and Character Styles.

Definitions for entries in the panel Swatches. The entries should be defined before the Paragraph and Character Styles are. Any number of entries of type ColorInfo can be defined.

The following child elements are allowed for description:

Element Type Values Description
name string Name of the entry in the swatch panel
Type enum PROCESS
SPOT
CMYK
Element Type Values Description
C float 0.0 - 100.0
M float 0.0 - 100.0
Y float 0.0 - 100.0
K float 0.0 - 100.0
RGB
Element Type Values Description
R float 0.0 - 255.0
G float 0.0 - 255.0
B float 0.0 - 255.0
Model enum CMYK
RGB
The element may have the following attributes :
Attribute Type Values Description
R float 0.0 - 100.0
G float 0.0 - 100.0
B float 0.0 - 100.0
If these attributes are defined, their values take priority over the elements CMYK and RGB.

This example defines the color 5-Color-Price. The color definition is given in the Model element, the value of the CMYK is ignored.

 <Colors>
    <ColorInfo>
    <name>5-Farbe-Preis</name>
    <Type>PROCESS</Type>
    <Model B="49.620811" G="1.620508" R="93.749901">CMYK</Model>
    <CMYK>
        <C>0.00</C>
        <M>100.00</M>
        <Y>0.00</Y>
        <K>0.00</K>
    </CMYK>
    </ColorInfo>
    :
</Colors>

Definitions of entries in the Paragraph Styles and Character Styles panels. If values are provided for the attributes BasedOn and FollowedBy, the referenced definitions have to be defined first. Similarly, referenced colors (except default entries, see below) have to be defined.

The following example shows all supported style settings and their default values. The full description of all settings is summarized here. All Attributes that can be used in Character styles (CharStyle) can also be used for paragraph styles (ParaStyle). If attributes are not defined, the default values from InDesign® or the Document are used for paragraph styles. For character styles, the settings from the preceeding text are used. If you're not using a setting, make sure to not specify a value in the XML file. All sizes are given as float values in points.

Define a Character Style that sets the font size to 18 points, but leaves all other settings untouched.

<CharStyle Name="18-Point" BasedOn="" FollowedBy="">
    <Size>18</Size>
</CharStyle>

Define a Paragraph Style that sets the font size to 18 points, but leaves all other settings untouched.

<ParaStyle Name="18-Point" BasedOn="" FollowedBy="">
    <Size>18</Size>
</CharStyle>

Full list of all implemented XML tags

<ParaStyle Name="Default">
    <!-- Basic formatting -->
    <Typeface>Regular</Typeface>
    <Size>12.0</Size>
    <AutoPairKern>Metrics</AutoPairKern>
    <Ligatures>yes</Ligatures>
    <Tracking>0.0</Tracking>
    <Case>Normal</Case>
    <Kerning>0.0</Kerning>
    <Leading>-1.0</Leading>
    <NoBreak>false</NoBreak>
    <Underline>None</Underline>
    <Font>Verdana</Font>
    <Position>Normal</Position>
    <Strikethru>no</Strikethru>

    <!-- Extended formatting -->
    <HorizontalScale>100.0</HorizontalScale>
    <VerticalScale>100.0</VerticalScale>
    <Skew>0.0</Skew>
    <BaselineShift>0.0</BaselineShift>
    <Language>German:Reformed</Language>

    <!-- Color settings --> 
    <Color>Black</Color>
    <StrokeWeight>0.0</StrokeWeight>
    <StrokeColor>None</StrokeColor>
    <StrokeTint>100.0</StrokeTint>
    <ColorTint>100.0</ColorTint>
    <StrokeOverprint>false</StrokeOverprint>
    <Overprint>false</Overprint>

    <!-- OpenType functions --> 
    <OrdinalSigns>no</OrdinalSigns>
    <Fractions>no</Fractions>
    <DiscreteLigatures>no</DiscreteLigatures>
    <Titling>no</Titling>
    <ContextualAternates>no</ContextualAternates>
    <Swash>no</Swash>
    <FigureStyle>Default</FigureStyle>
 
   <!-- Underline options --> 

    <UnderlineColor>Black</UnderlineColor>
    <UnderlineGapColor>None</UnderlineGapColor>
    <UnderlineGapOverprint>false</UnderlineGapOverprint>
    <UnderlineGapTint>100.0</UnderlineGapTint>
    <UnderlineOffset>0.0</UnderlineOffset>
    <UnderlineOverprint>false</UnderlineOverprint>
    <UnderlineTint>100.0</UnderlineTint>
    <UnderlineWeightOffset>1.0</UnderlineWeightOffset>
    <UnderlineType>SOLID</UnderlineType>

    <!-- Strike through options --> 
    <StrikethruColor>Black</StrikethruColor>
    <StrikethruGapColor>None</StrikethruGapColor>
    <StrikethruGapOverprint>false</StrikethruGapOverprint>
    <StrikethruGapTint>100.0</StrikethruGapTint>
    <StrikethruOffset>0.0</StrikethruOffset>
    <StrikethruOverprint>false</StrikethruOverprint>
    <StrikethruTint>100.0</StrikethruTint>
    <StrikethruWeightOffset>1.0</StrikethruWeightOffset>
    <StrikethruType>SOLID</StrikethruType>

    <!-- Indents and spacing (paragraphs only) --> 
    <LeftIndent>0.0</LeftIndent>
    <RightIndent>0.0</RightIndent>
    <FirstLineIndent>0.0</FirstLineIndent>
    <SpaceBefore>0.0</SpaceBefore>
    <SpaceAfter>0.0</SpaceAfter>
    <BalanceLines>false</BalanceLines>
    <TextAlignment>Left</TextAlignment>
    <GridAlign>None</GridAlign>

    <!-- Tabulator (paragraphs only) --> 
    <Tabstops>
        <Tabstop Position="100.0"/>
        <Tabstop Position="180.0"/>
        <Tabstop Position="300.0" Alignment="Right" Leader="."/>   
    </Tabstops>

    <!-- Paragraph rules (paragraphs only) --> 
    <RuleAboveColor>Black</RuleAboveColor>
    <RuleAboveStroke>1.0</RuleAboveStroke>
    <RuleAboveTint>100.0</RuleAboveTint>
    <RuleAboveOffset>0.0</RuleAboveOffset>
    <RuleAboveLeftIndent>0.0</RuleAboveLeftIndent>
    <RuleAboveRightIndent>0.0</RuleAboveRightIndent>
    <RuleAboveOverprint>false</RuleAboveOverprint>
    <RuleAboveOn>false</RuleAboveOn>
    <RuleAboveStrokeType>SOLID</RuleAboveStrokeType>
    <RuleAboveGapColor>None</RuleAboveGapColor>
    <RuleAboveGapTint>100.0</RuleAboveGapTint>
    <RuleAboveGapOverprint>false</RuleAboveGapOverprint>
    <RuleAboveMode>None</RuleAboveMode>

    <RuleBelowColor>Black</RuleBelowColor>
    <RuleBelowStroke>1.0</RuleBelowStroke>
    <RuleBelowTint>100.0</RuleBelowTint>
    <RuleBelowOffset>0.0</RuleBelowOffset>
    <RuleBelowLeftIndent>0.0</RuleBelowLeftIndent>
    <RuleBelowRightIndent>0.0</RuleBelowRightIndent>
    <RuleBelowOverprint>false</RuleBelowOverprint>
    <RuleBelowOn>false</RuleBelowOn>
    <RuleBelowStrokeType>SOLID</RuleBelowStrokeType>
    <RuleBelowGapColor>None</RuleBelowGapColor>
    <RuleBelowGapTint>100.0</RuleBelowGapTint>
    <RuleBelowGapOverprint>false</RuleBelowGapOverprint>
    <RuleBelowMode>None</RuleBelowMode>

    <!-- Break options (paragraphs only) --> 
    <KeepWithNext>0</KeepWithNext>
    <KeepLines>false</KeepLines>
    <KeepParaTogether>false</KeepParaTogether>
    <KeepFirstNLines>2</KeepFirstNLines>
    <KeepLastNLines>2</KeepLastNLines>
    <BreakBefore>StartAnywhere</BreakBefore>

    <!-- Hyphenation (paragraphs only) --> 
    <HyphenMethod>Dictionary</HyphenMethod>
    <HyphenShortestWord>5</HyphenShortestWord>
    <HyphenMinCharsBefore>2</HyphenMinCharsBefore>
    <HyphenMinCharsAfter>2</HyphenMinCharsAfter>
    <HyphenLadderLimit>3</HyphenLadderLimit>
    <HyphenZone>12.7</HyphenZone>
    <HyphenCapitalized>true</HyphenCapitalized>
    <HyphenWeight>5</HyphenWeight>

    <!-- Spacing (paragraphs only) --> 
    <MinWordSpace>80.0</MinWordSpace>
    <DesiredWordSpace>100.0</DesiredWordSpace>
    <MaxWordSpace>133.0</MaxWordSpace>
    <MinLetterspace>0.0</MinLetterspace>
    <DesiredLetterspace>0.0</DesiredLetterspace>
    <MaxLetterspace>0.0</MaxLetterspace>
    <MinGlyphScale>100.0</MinGlyphScale>
    <DesiredGlyphScale>100.0</DesiredGlyphScale>
    <MaxGlyphScale>100.0</MaxGlyphScale>
    <AutoLeadPercent>120.0</AutoLeadPercent>
    <SingleWordAlignment>Justify</SingleWordAlignment>
    <TextComposer>Paragraph</TextComposer>

    <!-- Initials and nested forms (paragraphs only) --> 
    <DropCapCharacters>0</DropCapCharacters>
    <DropCapLines>0</DropCapLines>
    <RunInStyles>
        <RunInStyle Stylename="Stil 1" TriggerExpression=""/>
        <RunInStyle Stylename="Stil 2"
                    TriggerExpression="Words"
                    Counts="3"
                    Includes="true"/>
        <RunInStyle Stylename="Stil 3"
                    TriggerExpression="Characters"
                    Counts="30"
                    Includes="false"/>
    </RunInStyles>
</ParaStyle>

Element C/P Availability Type Values Default Description
• Basic formatting
Typeface C/P All string Regular
Bold
Bold-Italic
Regular Name of a valid type style of the specified font. The values may differ.
Size C/P All float 12.0 Font size
AutoPairKern C/P All enum Off
Metric
LatinOnly
Optica
l
Metrics Method for kerning pairs of letrers
Ligatures C/P bool yes
Tracking C/P All float 0.0
Case C/P All enum Normal
SmallLowerCase
All
SmallEverything
Normal Small Caps
Kerning C/P All float 0.0 Sensible values are roughly in the range -200.0 to 300.0
Leading C/P All float -1.0 (auto) Line spacing
NoBreak C/P All bool false
Underline C/P All enum None
Single
None
Font C/P All string 0.0 Name of an installed font without type style specified
Position C/P All enum Normal
Superscript
Subscript
Superior
Inferior
Numerator
Denominator
Normal Position of the text relative to normal text
Strikethru C/P All bool no
• Extended formatting
HorizontalScale C/P All float Percentages 0.0 - 100.0 100.0
VerticalScale C/P All float Percentages 0.0 - 100.0 100.0
Skew C/P All float Degrees 0.0 - 85.5 0.0 Skew of the text. All values above 45° make text nigh unreadable, values above 85° are not allowed.
BaselineShift C/P All float 0.0
Language C/P All string Neutral
English: UK
Portuguese: Brazilian
French: Canadian
Catalan
Danish
Dutch
Finnish
French
German: Reformed
German: Traditional
Italian
Norwegian: Bokmal
Norwegian: Nynorsk
Portuguese
German: Swiss
Spanish: Castilian
Swedish
English: USA
English: USA Legal
English: USA Medical
InDesign® Setting Additional names may be available if other languages are installed. Their names are analogous to the names on the left, e.g.

Gaelic: Scots
Gaelic: Irish

To determine the exact name, follow these steps:

  1. Define a new Character Style
  2. Set "Extended Formatting : Language" to the desired language
  3. Apply the new character style to a document text
  4. Export the document text as tagged text
  5. In the Exportfile, find the <cLanguage> tag, which will contain the desired name. The backslashes (\) can be omitted.
• Color options
Color C/P All string None
Black
Paper
Registration
Dokumentfarbe
Black
ColorTint C/P All float Percentages 0.0 - 100.0 100.0 Color strength
Overprint C/P All bool false
StrokeWeight C/P All float 0.0 Weight of the text contour
StrokeColor C/P All string None
Black
Paper
Registration
Dokumentfarbe
None
StrokeTint C/P All float Percentages 0.0 - 100.0 yes Color strength for the text contour
StrokeOverprint C/P All bool 0.0
• OpenType functions
OrdinalSigns C/P All bool no
Fractions C/P All bool no
DiscreteLigatures C/P All bool no
Titling C/P All bool no
ContextualAternates C/P All bool no
Swash C/P All bool no
Ligatures C/P All bool yes
FigureStyle C/P All float Default
LiningTabular
OldstyleProp
LiningProp
OldstyleTabular
Default
• Underline options
UnderlineColor C/P CS string None
Black
Paper
Registration
Dokumentfarbe
Black To activate underlining use the value
  <Underline>
      Single
  </Underline>
UnderlineGapColor C/P CS string None
Black
Paper
Registration
Dokumentfarbe
None The underline's gap-filling color, used e.g. between the two lines of a double underline.
UnderlineGapOverprint C/P CS bool false
UnderlineGapTint C/P CS float Percentages 0.0 - 100.0 0.0
UnderlineOffset C/P CS float 0.0
UnderlineOverprint C/P CS bool false
UnderlineTint C/P CS float Percentages 0.0 - 100.0 100.0
UnderlineWeightOffset C/P CS float 1.0 Strength of the underline
UnderlineType C/P CS enum SOLID
DASHED
DASH4X4
DASH3X2
DOT
WAVY
STRAIGTHASH
RIGHTSLANT
LEFTSLANT
DIAMOND
JAPANESEDOTS
THINTHIN
THINTHICKTHIN
THICKTHIN
THICKTHICK
THINTHICKTHIN
THICKTHINTHICK
TRIPLE
TABLESTRIP
SOLID
• Strikethrough options
StrikethruColor C/P CS string None
Black
Paper
Registration
Dokumentfarbe
Black To activate strikethrough, use the value
  <Strikethru>
      true
  </Strikethru>
StrikethruGapColor C/P CS string None
Black
Paper
Registration
Dokumentfarbe
None
Strikethru C/P CS bool false
StrikethruGapTint C/P CS float Percentages 0.0 - 100.0 0.0
StrikethruOffset C/P CS float 0.0
StrikethruOverprint C/P CS bool no
UnderlineTint C/P CS float Percentages 0.0 - 100.0 100.0
StrikethruWeightOffset C/P All float 1.0 Strength of the strikethrough
StrikethruType C/P CS enum SOLID
DASHED
DASH4X4
DASH3X2
DOT
WAVY
STRAIGTHASH
RIGHTSLANT
LEFTSLANT
DIAMOND
JAPANESEDOTS
THINTHIN
THINTHICKTHIN
THICKTHIN
THICKTHICK
THINTHICKTHIN
THICKTHINTHICK
TRIPLE
TABLESTRIP
SOLID
• Indents and spacing
LeftIndent P All float 0.0
RightIndent P All float 0.0
FirstLineIndent P All float 0.0
SpaceBefore P All float 0.0
SpaceAfter P All float 0.0
BalanceLines P CS bool false Counterbalance ragged margin
TextAlignment P CS enum Left
Center
Right
Justify
Justify, last line left
Justify, last line center
Justify, last line right
Left
GridAlign P All float None
Baseline
EmTop
EmCenter
EmBottom
ICFTop
ICFBottom
CapHeight

Baseline, first line only
EmTop, first line only
EmCenter, first line only
EmBottom, first line only
ICFTop, first line only
ICFBottom, first line only
CapHeight, first line only
None
• Tabulator
Tabstops Tabstops may have any number of child elements of type Tabstop with the following attributes:
Attribute Type Values Default Description
Position float
Alignment enum Left
Center
Right
Char
Left
Leader string "" Padding character. This string may be up to 8 characters long.
Default bool false
For example:
<Tabstops>
  <Tabstop Position="100.0"/>
  <Tabstop Position="180.0"/>
  <Tabstop Position="300.0" Alignment="Right" Leader="."/>
</Tabstops>
• Paragraph rules
RuleAboveColor P All string None
Black
Paper
Registration
Dokumentfarbe
Black
RuleAboveStroke
RuleBelowStroke
P All float 1.0
RuleAboveTint
RuleBelowTint
P All float Percentages 0.0 - 100.0 100.0
RuleAboveOffset
RuleBelowOffset
P All float 0.0
RuleAboveLeftIndent
RuleBelowLeftIndent
P All float 0.0
RuleAboveRightIndent
RuleBelowRightIndent
P All float 0.0
RuleAboveOverprint
RuleBelowOverprint
P All bool true
RuleAboveOn
RuleBelowOn
P All bool no
RuleAboveStrokeType
RuleBelowStrokeType
P CS enum SOLID
DASHED
DASH4X4
DASH3X2
DOT
WAVY
STRAIGTHASH
RIGHTSLANT
LEFTSLANT
DIAMOND
JAPANESEDOTS
THINTHIN
THINTHICKTHIN
THICKTHIN
THICKTHICK
THINTHICKTHIN
THICKTHINTHICK
TRIPLE
TABLESTRIP
SOLID
RuleAboveGapColor
RuleBelowGapColor
P CS string None
Black
Paper
Registration
Dokumentfarbe
None Color for gaps in the line(s)
RuleAboveGapTint
RuleBelowGapTint
P CS float Percentages 0.0 - 100.0 0.0
RuleAboveGapOverprint
RuleBelowGapOverprint
P CS bool false
RuleAboveMode
RuleBelowMode
P All enum None
ColumnWidth
TextWidth
TextWidth
• Break options
KeepWithNext P All int 0 Keep with the specified number of lines
KeepLines P All bool false Do not break lines
KeepParaTogether P All bool false All lines in the paragraoh. The setting is only active if KeepLines is true.
KeepFirstNLines P All int 2 Do not break the first n lines in the paragraph. The setting is only active if KeepLines is true and keepParaTogether is false.
KeepLastNLines P All int 2 Do not break the last n lines in the paragraph. This setting is only active if KeepLines is true and keepParaTogether is false.
BreakBefore P All enum StartAnywhere
Column
Page
FrameBox
OddPage
EvenPage
StartAnywhere Paragraph start
• Hyphenation
HyphenMethod P All enum OnlyHard
Manual
Dictionary
Algorithm
Dictionary
HyphenShortestWord P All int 5
HyphenMinCharsBefore P All int 2
HyphenMinCharsAfter P All int 2
HyphenLadderLimit P All int 3 Maximum number of consecutive lines that may start with a hyphen.
HyphenZone P All float 12.7 Hyphenation zone
HyphenCapitalized P All bool true Hyphenation of capitalized words
HyphenWeight P All int 0-10 5 Optimization method : 0 reduce distances, ..., 8 reduce hyphens
• Spacing
MinWordSpace P All float Percentages 0.0 - 1000.0 80.0
DesiredWordSpace P All float Percentages 0.0 - 1000.0 100.0
MaxWordSpace P All float Percentages 0.0 - 1000.0 133.0
MinLetterspace P All float Percentages -100.0 - 500.0 0.0
DesiredLetterspace P All float Percentages -100.0 - 500.0 0.0
MaxLetterspace P All float Percentages -100.0 - 500.0 0.0
MinGlyphScale P All float Percentages 50.0 - 200.0 100.0
DesiredGlyphScale P All float Percentages 50.0 - 200.0 100.0
MaxGlyphScale P All float Percentages 50.0 - 200.0 100.0
AutoLeadPercent P All float Percentages 0.0 - 500.0 120.0 Automatic line height
SingleWordAlignment P All enum
Left
Center
Right
Justify
Justify, last line left
Justify, last line center
Justify, last line right
Justify Single word alignment
TextComposer P All enum SingleLine
Paragraph
Paragraph Composer
• Initials and nested forms
DropCapCharacters P All int 0 Number of characters used as initials
DropCapLines P All int 0 Number of lines an initial may span
RunInStyles P CS RunInStyles may have many child elements of type RunInStyle with the following attributes:
Attribute Type Value Default Description
Stylename strng Name of a previously defined character style
TriggerExpression enum Empty String
Sentences
Words
Characters
Letters
Digits
End of format
Tab
Hard return
Indent
Hard space
Em Space
Half em Space
Grafik
Pagenumber
Paragraph
The object the style should be applied to. If an empty string is given, the string is applied to the initials.
Counts int 1 The number of objects the expression should be applie to
Includes bool true Determines whether the objects should comply with the expression

For example:

<RunInStyles> <RunInStyle Stylename="Style 1" TriggerExpression=""/>
<RunInStyle Stylename="Style 2"
  TriggerExpression="Words"
  Counts="3"
  Includes="true"/>
<RunInStyle Stylename="Style 3"
  TriggerExpression="Characters"
  Counts="30"
  Includes="false"/>
</RunInStyles>