@express-document-sdk / OrderedListStyleInput
Interface: OrderedListStyleInput
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis
flag to true
in the requirements
section of the manifest.json
.
Interface for specifying an ordered list style, such as a numbered list.
Extends
BaseParagraphListStyle
Properties
indentLevel?
• optional
indentLevel: number
A value from 0-8 that specifies indent/nesting level. Default is 0 if not provided.
Inherited from
BaseParagraphListStyle.indentLevel
numbering?
• optional
numbering: OrderedListNumbering
The numbering style to use. If undefined, it defaults to a different type depending on the paragraph's indent level. The defaults for increasing indent are 1, a, i, I, and then they repeat. These markers and the prefix/postfix strings (if any) are displayed using the same font as the start of the paragraph's text content.
postfix?
• optional
postfix: string
Additional string to display after each sequence number/letter, e.g. ")" or "."
prefix?
• optional
prefix: string
Additional string to display before each sequence number/letter, e.g. "("
type
• type: ordered