Skip to main content

FormatState

Run-level formatting in force at a position, for toolbar state. Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

ParagraphSpacingPreset

One gallery entry: space after in twips and the auto line spacing in 240ths. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

ParagraphState

The paragraph under the focus: direct style reference and the effective indents and spacing. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

PastedParagraph

Not exported by name. You get it from the API.

PastedParagraphFormat

Keep Source Formatting’s paragraph look. Set, it replaces the destination’s style, alignment and list on every pasted paragraph that brings its own mark. Not exported by name. You get it from the API.

PastedRun

One formatted span of a pasted fragment; href makes it a hyperlink. Not exported by name. You get it from the API.

PastedTable

A pasted table on its grid: rows[r] lists the cells that start in row r. Not exported by name. You get it from the API.

StyleChoice

One choice for a paragraph style picker. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

StyleDefinition

One style as Word’s New Style and Modify Style dialogs edit it. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

StyleDefinitionState

What Modify Style reads back; run and paragraph are the style’s own properties, not inherited ones. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

StyleKind

Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

StyleLook

How a paragraph style’s text looks, for a picker that previews each style. Not exported by name. You get it from the API.