DOM.Styles.ParagraphStyle
Represents paragraph-level formatting and layout settings.
aggregates indentation, spacing, shading, border and many paragraph-specific behaviours (pagination, line-wrapping, punctuation handling, etc.). Most properties are nullable so callers can distinguish "not specified" from explicit values and allow style inheritance or document defaults to be applied by the consumer.
27 members
Properties
Gets or sets whether automatic spacing between CJK (East Asian) and Latin characters is applied before the paragraph.
Gets or sets whether automatic spacing between CJK and Latin characters is applied after the paragraph.
Gets or sets conditional formatting flags for table-cell style application when paragraphs are used inside tables.
Gets or sets whether contextual spacing (language-specific spacing rules) is enabled.
Gets or sets indentation settings for the paragraph.
Gets or sets horizontal justification for paragraph text (left, center, right, distribute, etc.).
Gets or sets whether the paragraph should keep all lines together on the same page.
When, pagination logic should avoid breaking the paragraph across pages.
Gets or sets whether the paragraph should be kept on the same page as the following paragraph.
Gets or sets whether Kinsoku (Japanese line-breaking rules) adjustments should be applied.
Gets or sets the outline (heading) level for this paragraph.
Gets or sets whether overflow punctuation should be allowed to hang outside the text margin to improve optical alignment.
Gets or sets border settings applied around the paragraph block.
Gets or sets whether the paragraph direction is right-to-left.
Gets or sets shading (background fill) applied to the paragraph area.
Gets or sets whether the paragraph's lines should snap to the document grid (if present).
Gets or sets line spacing and related vertical spacing settings.
Gets or sets whether the paragraph should start on the next page.
Gets or sets whether automatic hyphenation should be suppressed for this paragraph.
Gets or sets whether line numbers are suppressed for this paragraph.
Gets or sets whether overlapping of adjacent elements should be suppressed.
Gets or sets the tab stops for the paragraph.
Gets or sets vertical text alignment values for the paragraph (for example baseline/center).
Gets or sets the tight-wrap behaviour used when the paragraph is inside a text box.
Gets or sets the text flow direction for the paragraph (e.g., left-to-right, top-to-bottom).
Gets or sets whether punctuation at the top of a column/page should be adjusted per typographic rules.
Gets or sets whether widow/orphan control is enabled for the paragraph.
When enabled, layout should avoid leaving a single line at the top or bottom of a page.
Gets or sets whether word wrapping is enabled for this paragraph.