docx
    Preparing search index...

    Type Alias IParagraphPropertiesConfig

    Options that control how a ParagraphProperties element is assembled, as opposed to what it contains.

    type IParagraphPropertiesConfig = {
        implicitListParagraphStyle?: boolean;
        inListOrder?: boolean;
    }
    Index
    implicitListParagraphStyle?: boolean

    Whether bullet and numbering paragraphs that do not name a style of their own are given Word's built-in ListParagraph style through an implicit w:pStyle.

    This is the default for document paragraphs, so that list items pick up the built-in list formatting. Paragraph style, numbering level and document default definitions must pass false: a w:pStyle inside a definition is not how a definition inherits from another style (that is basedOn), and Word has been observed to fall back to ListParagraph instead of applying the custom style when it finds one there.

    true
    
    inListOrder?: boolean

    Whether the paragraph has a place in the order of its part's lists, where a numbering.restart starts its list again for it and the paragraphs after it.

    This is the default for document paragraphs. Paragraph style, numbering level and document default definitions, and the earlier formatting a revision keeps, must pass false: they are not where the list is in the part, so they leave restart out and do not move the paragraphs after them onto another list.

    true