[]
DsPdfJS API / SplitOptionsProperties
SplitOptionsProperties =
object
Provides options for text splitting.
optionaladdSpacingAfterLastLine:boolean
Indicates whether a line spacing should be added after the last line of the current Layout after splitting. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalallowMovingAllToRest:boolean
Indicates whether, if no part of the content can fit in the current Layout, to move all content to the rest Layout. The default is false. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalbaseLayout:Layout|null
A reference to the Layout object to copy the initial data from.
optionalbaseSplitOptions:SplitOptions|null
A reference to the SplitOptions object to copy the initial data from. If the SplitOptionsProperties.baseLayout is assigned, this property is ignored.
optionalkeepParagraphLinesTogether:boolean
Indicates whether paragraphs should be kept together (cannot be split between pages or columns). Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionallineGapBeforeFirstLine:boolean
Indicates whether the typographic line gap should be added before the first line of the rest Layout. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalminLinesInFirstParagraph:number
The minimum number of lines on the last page (or at the ending of the first paragraph on the next page) to prevent widows. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalminLinesInLastParagraph:number
The minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestColumnWidth:number|null
The width of the layout box measured from left or right margin for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestMarginBottom:number
The bottom margin of the layout box for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestMarginLeft:number
The left margin of the layout box for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestMarginRight:number
The right margin of the layout box for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestMarginTop:number
The top margin of the layout box for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestMaxHeight:number|null
The height of the layout box for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestMaxWidth:number|null
The width of the layout box for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.
optionalrestRowHeight:number|null
The height of the layout box measured from top or bottom margin for the rest of the text after splitting, in graphic units. Overrides the existing value if either SplitOptionsProperties.baseLayout or SplitOptionsProperties.baseSplitOptions are specified.