Skip to main content

Alignment

Runtime enum-shaped objects matching the Word JavaScript API exactly. Import from @reductoai/docx/officejs.

BorderChange

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

BorderLocation

Import from @reductoai/docx/node, @reductoai/docx/officejs.

BorderResolution

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

BorderTarget

Where a border collection finds its sides. A w:style is one host; a w:tblStylePr conditional block is another, and supplies its own target. Not exported by name. You get it from the API.

BorderType

Import from @reductoai/docx/node, @reductoai/docx/officejs.

BorderUniversalUpdateData

Import from @reductoai/docx/officejs.

BorderUpdateData

Import from @reductoai/docx/officejs.

BorderWidth

Word.BorderWidth: eighth-point border weights, plus the two sentinels. Import from @reductoai/docx/officejs.

CharacterCase

Import from @reductoai/docx/officejs.

ColorFormatUpdateData

Import from @reductoai/docx/officejs.

ColorIndexValue

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

ConvertToTableOptions

Import from @reductoai/docx/officejs.

DocumentStyle

Import from @reductoai/docx/node, @reductoai/docx/officejs.

DocumentStyleKind

Import from @reductoai/docx/node, @reductoai/docx/officejs.

DropCapOptions

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

DropCapState

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

DropCapUpdateData

Import from @reductoai/docx/officejs.

EmphasisMark

Import from @reductoai/docx/officejs.

FontDeclaration

A w:font entry’s description, which Word and the renderer use to pick a stand-in for a missing font. Import from @reductoai/docx/officejs.

FontSetFormat

Import from @reductoai/docx/node, @reductoai/docx/officejs.

HeadingStyleUpdateData

Import from @reductoai/docx/officejs.

HighlightColor

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

HorizontalAlignment

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

InsertParagraphOptions

Import from @reductoai/docx/node.

InsertTableOptions

Import from @reductoai/docx/node.

JustificationMode

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

LetterCase

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

LevelFontOptions

Marker run formatting; every member also takes null to remove it. Not exported by name. You get it from the API.

Ligature

Import from @reductoai/docx/officejs.

LigatureValue

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

LineSpacingRule

Word’s Line spacing dropdown; Single, 1.5 lines and Double are Multiple values. Import from @reductoai/docx/officejs.

LineSpacingSpec

One w:spacing line write: the rule and its value in the unit that rule reads. Import from @reductoai/docx/officejs.

OfficeFontFormat

OfficeJS Word.Font property spellings, accepted by font.set alongside RunFormat. Import from @reductoai/docx/node, @reductoai/docx/officejs.

OfficeRunFormat

Core format bag widened with OfficeJS underline enum spellings at OfficeJS boundaries. Not exported by name. You get it from the API.

OfficeRunFormatInput

Explicitly request unformatted text without spelling the low-level reset flag. Import from @reductoai/docx/node, @reductoai/docx/officejs.

ParagraphAlignment

Import from @reductoai/docx/node.

ParagraphBorderLocation

The locations a paragraph border collection carries, in the VBA order. Import from @reductoai/docx/officejs.

ParagraphBorders

Per-side direct borders (w:pBdr); false on a side writes w:val="none" over a style border. Not exported by name. You get it from the API.

ParagraphBorderSide

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

ParagraphChromeScope

Every paragraph one chrome handle covers; re-resolved, and liveness-checked, per member. Not exported by name. You get it from the API.

ParagraphCollectionItem

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

ParagraphContentLocation

insertOoxml/insertHtml anchors: OfficeJS’s Replace/Start/End plus sibling Before/After. Import from @reductoai/docx/node, @reductoai/docx/officejs.

ParagraphFormat

Direct paragraph formatting. undefined leaves the existing (or inherited) value alone; every set property is written as an explicit direct value. Import from @reductoai/docx-editor, @reductoai/docx-editor/model, @reductoai/docx/node.

ParagraphFormatUpdateData

Import from @reductoai/docx/officejs.

ParagraphOoxmlLocation

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

ParagraphRangeLike

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

ParagraphUpdateData

Import from @reductoai/docx/officejs.

RunBorder

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

RunBorderStyle

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

RunFormat

Direct run formatting for authored text. undefined leaves the cloned or inherited value alone; false forces the property off with an explicit w:val="0" (or w:u w:val="none") so a style-inherited toggle is overridden, per the ECMA-376-1 §17.7.3 toggle-property rules. null, where the key accepts it, removes the direct property so the style value shows through. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

RunTextShadow

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

SetDefaultFontReport

Import from @reductoai/docx/officejs.

ShadingBacking

Where a ShadingUniversal finds its w:shd. A table cell’s w:tcPr is one backing; a paragraph’s w:pPr is another, and supplies its own. Not exported by name. You get it from the API.

ShadingTarget

Where a Shading handle finds its w:shd. Not exported by name. You get it from the API.

ShadingUniversalUpdateData

Import from @reductoai/docx/officejs.

ShadingUpdateData

Import from @reductoai/docx/officejs.

StyleBorderEdit

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

StyleBorderLocation

The border locations a style-level border collection can address. Import from @reductoai/docx/node, @reductoai/docx/officejs.

StyleShadingEdit

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

StyleType

Import from @reductoai/docx/officejs.

StyleUpdateData

Import from @reductoai/docx/officejs.

StylisticSet

Import from @reductoai/docx/officejs.

TabLeaderValue

Import from @reductoai/docx/node, @reductoai/docx/officejs.

TabStop

One declared stop: position in points from the text margin. Not exported by name. You get it from the API.

TabStopAlignment

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

TabStopInput

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

TabStopLeader

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

TextInsertLocation

Import from @reductoai/docx/node, @reductoai/docx/officejs.

ThemeColorIndex

VBA MsoThemeColorSchemeIndex without its msoTheme prefix. Import from @reductoai/docx/officejs.

UnderlineStyle

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

UnderlineType

Import from @reductoai/docx/officejs.

VerticalAlignment

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