@express-document-sdk / ParagraphStylesRangeInput
Interface: ParagraphStylesRangeInput
A variant of ParagraphStylesRange with all style fields optional, along with the text range they apply to. Used for the paragraphStyleRanges setter. When invoking the setter, any fields not specified are reset to their defaults.
Paragraphs are separated by newline characters (\n
). Ranges specified here should align with those boundaries.
Extends
Properties
length
• length: number
The length or number of characters in which character styles will be applied.
Inherited from
lineSpacing?
• optional
lineSpacing: number
Spacing between lines, aka leading, expressed as a multiple of the font size's default spacing - ex. 1.5 = 150% of normal. It only affects the space between lines, not the space above the first line or below the last line.
Inherited from
ParagraphStylesInput
.lineSpacing
list?
• optional
list: ListStyleInput
Inherited from
spaceAfter?
• optional
spaceAfter: number
Space after paragraph (in points). It does not affect the last paragraph. It is additive to the next paragraph's spaceBefore (adjacent spacing does not merge/collapse together).
Inherited from
ParagraphStylesInput
.spaceAfter
spaceBefore?
• optional
spaceBefore: number
Space before paragraph (in points). It does not affect the first paragraph. It is additive to previous paragraph's spaceAfter (adjacent spacing does not merge/collapse together).
Inherited from
ParagraphStylesInput
.spaceBefore