Optional Readonlybidirectional?: booleanOptional 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: numberIndentation level for the bullet (0-8)
Optional Readonlyframe?: IFrameOptionsFrame 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?: booleanWhether to allow punctuation to extend beyond text margins
Optional ReadonlypageBreakBefore?: booleanWhether to insert a page break before this paragraph
Optional Readonlyrun?: IParagraphRunOptionsRun 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?: numberCharacter scaling percentage (e.g., 200 for 200%)
Optional Readonlystyle?: stringStyle ID to apply to this paragraph. A paragraph has one style, so this takes the place of heading
Optional ReadonlysuppressLineNumbers?: booleanWhether to suppress line numbers for this paragraph
Optional ReadonlytabStops?: readonly TabStopDefinition[]Custom tab stop positions and alignments
Optional ReadonlywidowControl?: booleanWhether to prevent single lines at top/bottom of page (widow/orphan control)
Optional ReadonlywordWrap?: booleanWord'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.
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
alignmentsays otherwise.alignmentLEFTandRIGHTstill mean those sides of the page, whileSTARTandENDfollow the paragraph's direction.