Skip to main content
The paragraphStyle element describes the formatting style for a single paragraph. Includes a fontStyle element. Has the following attributes:
PropertyData typeDescription
id *stringThe identifier of the paragraph in a document.
name *stringThe name of the paragraph style.
mainFontStyleId *stringThe main font style of the paragraph.
role *stringThe function of the paragraph in the document. Possible values: text, tableText, heading, tableHeading, pictureCaption, tableCaption, contents, footNote, endNote, rt, garb, other, barcode, headingNumber
roleLevelintegerThe role level. The default value is -1, which means that the level is not available for this role.
align *stringThe paragraph alignment. Possible values: Left, Center, Right, Justified, Unknown. The default value is Left.
indentLeftintegerThe left indent. The default value is 0.
indentRightintegerThe right indent. The default value is 0.
indentFirstintegerThe first line indent. The default value is 0.
lineSpacingintegerThe space between lines. The default value is -1, which indicates automatic line spacing.

FontStyle Element

The fontStyle element describes the formatting style for fonts used in paragraphs. Has the following attributes:
PropertyData typeDescription
id *stringThe identifier of the font style.
italicbooleanIndicates that a font style is italic.
boldbooleanIndicates that a font style is bold.
underlinebooleanIndicates that a font style is underlined.
strikeoutbooleanIndicates that a font style is strikeout.
smallcapsbooleanIndicates that a font is small caps.
scalingintegerThe scaling of the font. The default value is 1000.
spacingbooleanThe character spacing. The default value is 0.
colorbooleanThe font color. The default value is 0.
backgroundColorbooleanThe background color. The default value is 0.
ff *stringThe name of the font.
fs *floatThe size of the font.
Astericks indicates a required property.