docx
    Preparing search index...

    Type Alias ILevelParagraphStylePropertiesOptions

    Paragraph style properties for numbering levels.

    These properties are used when defining paragraph styles within numbering level definitions.

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

    Paragraph text alignment (left, right, center, justified, etc.)

    autoSpaceEastAsianText?: boolean

    Whether Word may add a small space between East Asian text and the numbers beside it (w:autoSpaceDN). autoSpaceLatinAndEastAsianText is the same for Latin letters.

    This element specifies whether inter-character spacing shall automatically be adjusted between regions of numbers and regions of East Asian text in the current paragraph. These regions shall be determined by the Unicode character values of the text content within the paragraph.

    It is on unless the paragraph, or the formatting it takes from elsewhere such as its style or the document defaults, turns it off. Where it is on, whether the space appears depends on the Word that opens the document. Set it to false to turn the space off in every Word.

    autoSpaceLatinAndEastAsianText?: boolean

    Whether Word may add a small space between East Asian text and the Latin letters beside it (w:autoSpaceDE). autoSpaceEastAsianText is the same for numbers.

    This element specifies whether inter-character spacing shall automatically be adjusted between regions of Latin text and regions of East Asian text in the current paragraph. These regions shall be determined by the Unicode character values of the text content within the paragraph.

    It is on unless the paragraph, or the formatting it takes from elsewhere such as its style or the document defaults, turns it off. Where it is on, whether the space appears depends on the Word that opens the document. Set it to false to turn the space off in every Word.

    contextualSpacing?: boolean

    Whether to ignore spacing before/after when adjacent paragraphs have the same style

    Indentation settings for the paragraph

    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

    Position in twips for a left-aligned tab stop

    outlineLevel?: number

    Outline level for table of contents and document outline (0-9)

    rightTabStop?: number

    Position in twips for a right-aligned tab stop

    Spacing before/after paragraph and between lines

    thematicBreak?: boolean

    Whether to display a horizontal line (thematic break) below the paragraph, as its bottom border