import * as ds from "./Types"; import { ObjectManager } from "./ObjectManager"; import { ObjectBase } from "./ObjectBase"; import { Layout } from "./Layout"; /** * Represents the options for text splitting. **/ export declare class SplitOptions extends ObjectBase { /** * Creates a new {@link SplitOptions} object with specified properties. * @param properties The options for text splitting. **/ constructor(properties?: ds.SplitOptionsProperties); /** * Creates a new {@link SplitOptions} based on properties of an existing {@link Layout}. * @param baseLayout The Layout object used as the base for the new {@link SplitOptions}. * @param properties The settings overriding properties of the base Layout. **/ constructor(baseLayout: Layout, properties?: ds.SplitOptionsProperties); /** * Creates a new {@link SplitOptions} based on properties of an existing SplitOptions. * @param baseSplitOptions The SplitOptions object used as the base for the new {@link SplitOptions}. * @param properties The settings overriding properties of the base {@link SplitOptions}. **/ constructor(baseSplitOptions: SplitOptions, properties?: ds.SplitOptionsProperties); /** * Creates a new {@link SplitOptions} object with specified properties. * @param om An object manager that controls the lifetime of the {@link SplitOptions} object. * @param properties The options for text splitting. **/ constructor(om: ObjectManager, properties?: ds.SplitOptionsProperties); /** * 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. **/ 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. **/ set allowMovingAllToRest(value: boolean); /** * Gets or sets the width of the layout box for the rest of the text after splitting, in graphic units. **/ get restMaxWidth(): number | null; /** * Gets or sets the width of the layout box for the rest of the text after splitting, in graphic units. **/ set restMaxWidth(value: number | null); /** * Gets or sets the height of the layout box for the rest of the text after splitting, in graphic units. **/ get restMaxHeight(): number | null; /** * Gets or sets the height of the layout box for the rest of the text after splitting, in graphic units. **/ set restMaxHeight(value: number | null); /** * Gets or sets the left margin of the layout box for the rest of the text after splitting, in graphic units. **/ get restMarginLeft(): number; /** * Gets or sets the left margin of the layout box for the rest of the text after splitting, in graphic units. **/ set restMarginLeft(value: number); /** * Gets or sets the right margin of the layout box for the rest of the text after splitting, in graphic units. **/ get restMarginRight(): number; /** * Gets or sets the right margin of the layout box for the rest of the text after splitting, in graphic units. **/ set restMarginRight(value: number); /** * Gets or sets the top margin of the layout box for the rest of the text after splitting, in graphic units. **/ get restMarginTop(): number; /** * Gets or sets the top margin of the layout box for the rest of the text after splitting, in graphic units. **/ set restMarginTop(value: number); /** * Gets or sets the bottom margin of the layout box for the rest of the text after splitting, in graphic units. **/ get restMarginBottom(): number; /** * Gets or sets the bottom margin of the layout box for the rest of the text after splitting, in graphic units. **/ set restMarginBottom(value: number); /** * 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. **/ 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. **/ set restColumnWidth(value: 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. **/ 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. **/ set restRowHeight(value: number | null); /** * Gets or sets the minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans. **/ get minLinesInLastParagraph(): number; /** * Gets or sets the minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans. **/ set minLinesInLastParagraph(value: 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. **/ 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. **/ set minLinesInFirstParagraph(value: number); /** * Gets or sets a value indicating whether paragraphs should be kept together (cannot be split between pages or columns). **/ get keepParagraphLinesTogether(): boolean; /** * Gets or sets a value indicating whether paragraphs should be kept together (cannot be split between pages or columns). **/ set keepParagraphLinesTogether(value: boolean); /** * Gets or sets a value indicating whether a line spacing should be added after the last line of the current Layout after splitting. **/ 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. **/ set addSpacingAfterLastLine(value: boolean); /** * Gets or sets a value indicating whether the typographic line gap should be added before the first line of the rest Layout. **/ 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. **/ set lineGapBeforeFirstLine(value: boolean); }