Interface IParagraphStylePropertiesOptions

interface IParagraphStylePropertiesOptions {
    alignment?: "center" | "left" | "right" | "start" | "end" | "both" | "mediumKashida" | "distribute" | "numTab" | "highKashida" | "lowKashida" | "thaiDistribute";
    contextualSpacing?: boolean;
    indent?: IIndentAttributesProperties;
    keepLines?: boolean;
    keepNext?: boolean;
    leftTabStop?: number;
    numbering?: {
        custom?: boolean;
        instance?: number;
        level: number;
        reference: string;
    };
    outlineLevel?: number;
    rightTabStop?: number;
    spacing?: ISpacingProperties;
    thematicBreak?: boolean;
}

Hierarchy (view full)

Properties

alignment?: "center" | "left" | "right" | "start" | "end" | "both" | "mediumKashida" | "distribute" | "numTab" | "highKashida" | "lowKashida" | "thaiDistribute"
contextualSpacing?: boolean
keepLines?: boolean

Specifies that all lines of the paragraph are to be kept on a single page when possible.

keepNext?: boolean

Specifies that the paragraph (or at least part of it) should be rendered on the same page as the next paragraph when possible. If multiple paragraphs are to be kept together but they exceed a page, then the set of paragraphs begin on a new page and page breaks are used thereafter as needed.

leftTabStop?: number
numbering?: {
    custom?: boolean;
    instance?: number;
    level: number;
    reference: string;
}

Type declaration

  • Optional Readonly custom?: boolean
  • Optional Readonly instance?: number
  • Readonly level: number
  • Readonly reference: string
outlineLevel?: number
rightTabStop?: number
thematicBreak?: boolean

Generated using TypeDoc