docx

    Type Alias ILevelParagraphStylePropertiesOptions

    type ILevelParagraphStylePropertiesOptions = {
        alignment?: typeof AlignmentType[keyof typeof AlignmentType];
        contextualSpacing?: boolean;
        indent?: IIndentAttributesProperties;
        keepLines?: boolean;
        keepNext?: boolean;
        leftTabStop?: number;
        outlineLevel?: number;
        rightTabStop?: number;
        spacing?: ISpacingProperties;
        thematicBreak?: boolean;
    }
    Index

    Properties

    alignment?: typeof AlignmentType[keyof typeof AlignmentType]
    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
    outlineLevel?: number
    rightTabStop?: number
    thematicBreak?: boolean
    MMNEPVFCICPMFPCPTTAAATR