[]
DsPdfJS API / SplitOptions
Represents the options for text splitting.
new SplitOptions(
properties?):SplitOptions
Creates a new SplitOptions object with specified properties.
The options for text splitting.
SplitOptions
ObjectBase.constructor
new SplitOptions(
baseLayout,properties?):SplitOptions
Creates a new SplitOptions based on properties of an existing Layout.
The Layout object used as the base for the new SplitOptions.
The settings overriding properties of the base Layout.
SplitOptions
ObjectBase.constructor
new SplitOptions(
baseSplitOptions,properties?):SplitOptions
Creates a new SplitOptions based on properties of an existing SplitOptions.
SplitOptions
The SplitOptions object used as the base for the new SplitOptions.
The settings overriding properties of the base SplitOptions.
SplitOptions
ObjectBase.constructor
new SplitOptions(
om,properties?):SplitOptions
Creates a new SplitOptions object with specified properties.
An object manager that controls the lifetime of the SplitOptions object.
The options for text splitting.
SplitOptions
ObjectBase.constructor
get addSpacingAfterLastLine():
boolean
Gets or sets a value indicating whether a line spacing should be added after the last line of the current Layout after splitting.
boolean
set addSpacingAfterLastLine(
value):void
Gets or sets a value indicating whether a line spacing should be added after the last line of the current Layout after splitting.
boolean
void
get allowMovingAllToRest():
boolean
Gets or sets a value indicating whether, if no part of the content can fit in the current layout, to move all content to rest Layout.
boolean
set allowMovingAllToRest(
value):void
Gets or sets a value indicating whether, if no part of the content can fit in the current layout, to move all content to rest Layout.
boolean
void
get id():
number
Gets the reference to the object.
number
get keepParagraphLinesTogether():
boolean
Gets or sets a value indicating whether paragraphs should be kept together (cannot be split between pages or columns).
boolean
set keepParagraphLinesTogether(
value):void
Gets or sets a value indicating whether paragraphs should be kept together (cannot be split between pages or columns).
boolean
void
get lineGapBeforeFirstLine():
boolean
Gets or sets a value indicating whether the typographic line gap should be added before the first line of the rest Layout.
boolean
set lineGapBeforeFirstLine(
value):void
Gets or sets a value indicating whether the typographic line gap should be added before the first line of the rest Layout.
boolean
void
get minLinesInFirstParagraph():
number
Gets or sets the minimum number of lines on the last page (or at the ending of the first paragraph on the next page) to prevent widows.
number
set minLinesInFirstParagraph(
value):void
Gets or sets the minimum number of lines on the last page (or at the ending of the first paragraph on the next page) to prevent widows.
number
void
get minLinesInLastParagraph():
number
Gets or sets the minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans.
number
set minLinesInLastParagraph(
value):void
Gets or sets the minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans.
number
void
get om():
ObjectManager
Gets the owner ObjectManager instance.
get restColumnWidth():
number|null
Gets or sets the width of the layout box measured from left or right margin for the rest of the text after splitting, in graphic units.
number | null
set restColumnWidth(
value):void
Gets or sets the width of the layout box measured from left or right margin for the rest of the text after splitting, in graphic units.
number | null
void
get restMarginBottom():
number
Gets or sets the bottom margin of the layout box for the rest of the text after splitting, in graphic units.
number
set restMarginBottom(
value):void
Gets or sets the bottom margin of the layout box for the rest of the text after splitting, in graphic units.
number
void
get restMarginLeft():
number
Gets or sets the left margin of the layout box for the rest of the text after splitting, in graphic units.
number
set restMarginLeft(
value):void
Gets or sets the left margin of the layout box for the rest of the text after splitting, in graphic units.
number
void
get restMarginRight():
number
Gets or sets the right margin of the layout box for the rest of the text after splitting, in graphic units.
number
set restMarginRight(
value):void
Gets or sets the right margin of the layout box for the rest of the text after splitting, in graphic units.
number
void
get restMarginTop():
number
Gets or sets the top margin of the layout box for the rest of the text after splitting, in graphic units.
number
set restMarginTop(
value):void
Gets or sets the top margin of the layout box for the rest of the text after splitting, in graphic units.
number
void
get restMaxHeight():
number|null
Gets or sets the height of the layout box for the rest of the text after splitting, in graphic units.
number | null
set restMaxHeight(
value):void
Gets or sets the height of the layout box for the rest of the text after splitting, in graphic units.
number | null
void
get restMaxWidth():
number|null
Gets or sets the width of the layout box for the rest of the text after splitting, in graphic units.
number | null
set restMaxWidth(
value):void
Gets or sets the width of the layout box for the rest of the text after splitting, in graphic units.
number | null
void
get restRowHeight():
number|null
Gets or sets the height of the layout box measured from top or bottom margin for the rest of the text after splitting, in graphic units.
number | null
set restRowHeight(
value):void
Gets or sets the height of the layout box measured from top or bottom margin for the rest of the text after splitting, in graphic units.
number | null
void
free():
void
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(
omTo):void
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void