docx
    Preparing search index...

    Type Alias IParagraphPropertiesOptionsBase

    IParagraphPropertiesOptionsBase: {
        bidirectional?: boolean;
        bullet?: { level: number };
        frame?: IFrameOptions;
        heading?: typeof HeadingLevel[keyof typeof HeadingLevel];
        overflowPunctuation?: boolean;
        pageBreakBefore?: boolean;
        run?: IParagraphRunOptions;
        scale?: number;
        style?: string;
        suppressLineNumbers?: boolean;
        tabStops?: readonly TabStopDefinition[];
        widowControl?: boolean;
        wordWrap?: boolean;
    } & IParagraphStylePropertiesOptions

    Type Declaration

    • Optional Readonlybidirectional?: boolean

      Whether to lay the paragraph out right-to-left, for languages such as Arabic and Hebrew. A right-to-left paragraph starts on the right of the page, so it is right-aligned unless alignment says otherwise. alignment LEFT and RIGHT still mean those sides of the page, while START and END follow the paragraph's direction.

    • Optional Readonlybullet?: { level: number }

      Bullet list configuration. The paragraph is given Word's built-in ListParagraph style, unless it has a style or a heading of its own, which it keeps, as a paragraph in a numbered list does

      • Readonlylevel: number

        Indentation level for the bullet (0-8)

    • Optional Readonlyframe?: IFrameOptions

      Frame properties for positioning the paragraph

    • Optional Readonlyheading?: typeof HeadingLevel[keyof typeof HeadingLevel]

      Heading level (Heading1, Heading2, etc.) - applies predefined heading style. A paragraph has one style, so with a style too, the paragraph is in style

    • Optional ReadonlyoverflowPunctuation?: boolean

      Whether to allow punctuation to extend beyond text margins

    • Optional ReadonlypageBreakBefore?: boolean

      Whether to insert a page break before this paragraph

    • Optional Readonlyrun?: IParagraphRunOptions

      Run properties of the paragraph mark, the ¶ that Word shows at the end of the paragraph with formatting marks on. They format the mark, not the paragraph's runs. Give them a revision to track a change to them. Reference: ECMA-376, 3rd Edition (June, 2011), Fundamentals and Markup Language Reference § 17.3.1.29.

    • Optional Readonlyscale?: number

      Character scaling percentage (e.g., 200 for 200%)

    • Optional Readonlystyle?: string

      Style ID to apply to this paragraph. A paragraph has one style, so this takes the place of heading

    • Optional ReadonlysuppressLineNumbers?: boolean

      Whether to suppress line numbers for this paragraph

    • Optional ReadonlytabStops?: readonly TabStopDefinition[]

      Custom tab stop positions and alignments

    • Optional ReadonlywidowControl?: boolean

      Whether to prevent single lines at top/bottom of page (widow/orphan control)

    • Optional ReadonlywordWrap?: boolean

      Word's "Allow Latin text to wrap in the middle of a word". true writes <w:wordWrap w:val="0"/>, which lets lines break inside the words of runs in an East Asian font or language, Latin and Korean words alike, where Word otherwise keeps words together. Words in other runs, such as English in Calibri, still break at their spaces. When it is unset, the paragraph keeps its style's setting, so Latin and Korean text breaks at the spaces between words unless a style sets w:wordWrap to 0.