Information Classification: External Restricted.
See https://www.chili-publish.com/security

Paragraph and Character Styles XML

XML Structure

Both styles are top-level resources within a document, containing a list of ?Document Object Model - ParagraphStyle and ?Document Object Model - CharacterStyle items, respectively:

<document>
  <paragraphStyles>
    <item id="123-456-789" name="MY_FIRST_PAR_STYLE" applyToNewFrames="true">
      <format fontFamily="Arial_Regular" fontSize="15" />
    </item>
 </paragraphStyles>
  <characterStyles>
    <item id="567-890-123" name="MY_FIRST_CHAR_STYLE" >
      <format fontFamily="Arial_Bold" fontSize="25" />
    </item>
 </characterStyles>
</document>

Item properties

Most of the properties of both types of styles are straightforward, and follow the general rules of XML serialization. The "format" property contains most of the style's actual formatting. See ?TextFlow and ITextLayoutFormat XML for more details on that property.

Referencing Styles

Within complex CHILI objects, styles are simply referred to as a normal list item (by putting its ID in the relevant property/attribute). For a textflow it works slightly different, though: ?TextFlow and ITextLayoutFormat XML

Default Content

The basic/system None styles will always be added by CHILI editor if they don't exist inside the XML

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security