Version 5.9.7

Ol

Create an ordered list, just like in HTML

Child elements

ForAll, Li

Parent elements

Li, SetVariable, Text, Textblock

Attributes

class (text, optional, since version 5.9.7)
CSS class of the list. The rules for ol and li::marker in the stylesheet are applied (list-style-type, list-style-position, padding-left, color, for the marker content, color and padding-right).
color (text, optional, since version 5.9.7)
Color of the marker and the text. Must be defined with DefineColor before use.
fontfamily (text, optional, since version 4.3.1)
Font family of the marker and the text. Without this attribute the marker uses the font family “text” and the text inherits the font of the surrounding text block.
id (text, optional, since version 5.9.7)
CSS id of the list.
label-align (optional, since version 5.9.7)
Alignment of the marker within the width given by label-width. Default is right.
  • left: The marker starts at the left edge.
  • right: The marker ends at the distance label-distance before the text.
label-distance (length, optional, since version 5.9.7)
Horizontal distance between the marker and the text (for right aligned markers). Default is 4pt.
label-width (length, optional, since version 5.9.7)
Width reserved for the marker to the left of the text. The text of all lines starts after this width. Default is 5mm.
marker (text, optional, since version 5.9.7)
The numbering style: decimal (default), decimal-leading-zero, lower-alpha, upper-alpha, lower-roman, upper-roman or none. The HTML values 1, a, A, i and I are accepted as well.
padding-left (length, optional, since version 5.9.7)
Additional indentation of the whole list including the marker.
start (number, optional, since version 5.9.7)
The number of the first item. Default is 1.
textformat (text, optional, since version 5.9.7)
Name of the textformat for the list items, for example to set the vertical spacing or the alignment. Without this attribute the textformat of the surrounding text block is used.

Example

<PlaceObject>
  <Textblock>
    <Ol marker="lower-alpha" start="3">
      <Li><Value>First item</Value></Li>
      <Li>
        <Value>Second item with a nested list</Value>
        <Ol>
          <Li><Value>Nested item</Value></Li>
          <Li><Value>Nested item</Value></Li>
        </Ol>
      </Li>
      <Li><Value>Third item</Value></Li>
    </Ol>
  </Textblock>
</PlaceObject>

See also

Ul, Li, Enumeration lists