Skip to main content
The lists that fill a font box, a colour grid or a Word gallery, and the CSS that previews a face or a style. Each gallery feeds one EditorCommand.

FONT_FAMILIES

The curated faces a font menu offers. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

FONT_SIZES

The sizes each Office app lists under its Font Size box. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

fontChoices()

The list always contains the caret’s own face, even when it is off-menu. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

faceCss()

A CSS font-family that tries the face itself before the UI face. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

lookCss()

Inline CSS that previews a paragraph style in a menu, at a size a menu row can hold. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

styleLabel()

Built-in style names are stored lower-case (“heading 1”); Word shows them capitalised. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

TEXT_COLORS

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

HIGHLIGHTS

Every ST_HighlightColor except none, which the “No colour” row clears with null. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

Swatch

The text-colour swatch grid every editor offers. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

WORD_THEME_COLORS

Design > Colors, in Word’s gallery order; label is the gallery’s, name the one Word writes. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

WORD_THEME_FONTS

Design > Fonts, in Word’s gallery order; label is the gallery’s, name the one Word writes. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

PARAGRAPH_SPACING_PRESETS

Word’s Built-In gallery after its Default (Style Set) entry, harvested from Word 16. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

WORD_MULTILEVEL_LISTS

Word 16’s List Library, as Word for Mac writes each tile; heading lists link levels to Heading 1-9. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

RECOLOR_TILES

Word’s Recolor gallery, in Word’s order, without No Recolor. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

SHADOW_PRESETS

Word’s Shadow gallery in its order, without No Shadow. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

REFLECTION_PRESETS

Word’s Reflection gallery in its order, without No Reflection. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

GLOW_PRESETS

Word’s Glow gallery in its order, without No Glow: four sizes by the six accents. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

SOFT_EDGE_PRESETS

Word’s Soft Edges gallery in its order, without None. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

ShadowGroup

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

effectLook()

CSS for one Shadow, Reflection, Glow or Soft Edges tile; null is the gallery’s None tile. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

recolorLook()

A Recolor tile: Word’s tooltip and the CSS that paints it; null is No Recolor. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

RECOLOR_SAMPLE

The rainbow strip a Recolor tile tints. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
The eight swatches of a Design > Colors gallery entry. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

themeRow()

The Theme Colors row of every colour picker: background, text, then the accents. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

themeSlotHex()

A scheme slot (accent2, tx2) as CSS hex, read from a themeRow; mid grey without one. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

tableThumb()

An SVG data URL of the style as the gallery shows it under the table’s current look. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

SHAPE_GROUPS

Word’s gallery groups in order; Change Shape and Crop to Shape leave out Lines. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

ShapePreset

One Insert > Shapes tile: the a:prstGeom name, Word’s tooltip and a 24×24 SVG body. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

shapePreview()

A tile’s preview as a CSS url(). Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

SYMBOL_SUBSETS

Insert > Symbol > Advanced Symbol: Word’s Unicode subsets and its Special Characters list. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

SPECIAL_CHARACTERS

The Special Characters tab: Word’s name for each and the character it types. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

subsetChars()

Every character of one SYMBOL_SUBSETS entry, by its index. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

codeOf()

Word’s Character code box: four or more uppercase hex digits. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

LANGUAGES

Proofing languages the Language dialog offers, by BCP 47 tag. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

languageName()

Word’s spelling of a language in the editor’s language: “English (United States)”. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

sortedLanguages()

LANGUAGES in the order Word’s dialog lists them: by name. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

MANUAL_TOC

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

quickLayoutThumb()

The thumbnail of Quick Layout n (1-based) as a CSS url(...). Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

isAuthoredChartType()

A type sampleChartSpec can build: the classic charts, not the chartex ones (treemap, waterfall). Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

AuthoredChartType

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

ChartDesign

What Word’s Chart Design menus check; an absent member is a menu Word greys out for this chart. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.

ChartDesignPatch

One Chart Design menu pick; absent members keep their value. Import from @reductoai/docx-editor, @reductoai/docx-editor/model.