Skip to content

Word parity milestones ​

Status reviewed against the current model, shared editor and regression tests on 2026-10-03. Reviewed 2026-10-15 for footnote continuation, nested tables, Update Fields, chart painting and editable Print Layout pages. Microsoft Word equivalence is the target, not a capability claim for this release. Import, visual layout, editing, export, preservation and accessibility must each be demonstrated independently. Keeping XML does not prove that it renders or recalculates correctly.

Current foundation ​

One <docx-editor> implements the UI for six lifecycle adapters: React, Vue, Angular, Svelte, Solid and Vanilla. All document logic belongs in ooxml-core/docx and its layout/load subpaths; docx-core is a thin re-export. Shared drawing, diagram, maths and collaboration logic belongs in the corresponding core areas. ole2 owns the legacy binary codecs. Fix a behavior once in the shared editor, then exercise it through each adapter.

The current implemented subset includes:

AreaAvailable behaviorEvidence and remaining boundary
Text and formattingEditing, undo/redo, paragraph and character styles, theme fonts/colors, direct formatting, direction/language metadata, font scale/spacing/position/kerning and ligatureseditor.spec.ts, advanced-font-preservation.spec.ts, font-advanced-controls.spec.ts, core style/theme/toggle tests. Browser shaping and Word glyph metrics can differ.
ListsBullets, numbering, multilevel definitions, heading-linked outlines, restart rules and marker alignmentnumbering-restart.spec.ts, heading-numbering.spec.ts, multilevel-list-dialog.spec.ts, core numbering tests. Picture bullets and some style-linked/custom numbering remain limited.
TablesRectangular row/column commands, row height/repeat/split properties, default and selected-cell margins, cell borders and Cell/Table solid shadingtable-properties.spec.ts, table-borders.spec.ts, table-shading.spec.ts, table-cell-margins.spec.ts, core table preservation tests. Merged and nested tables take row, column, merge and split commands (matched to Word, see preservation); tables with row offsets, tracked row changes or inline markup in cells stay protected. No per-side border pens or pattern-fill editor.
Sections and storiesPer-section page setup and breaks, editable headers/footers/notes, first/even/default variants, Link to Previous, page-number fieldsHeader/footer context, variants, link and history browser contracts, core story creation/editing tests. Decorative galleries and full Word story layout remain missing.
References and reviewEditable field results, TOC/table of figures, captions/cross-references, explicit Update Fields, comments and tracked-change commandsfields.spec.ts and shared-editor/core field, caption, comment and revision tests. Unsupported field switches and automatic recalculation remain limited.
Pictures and objectsPictures, supported floating-picture layout, hyperlinks/bookmarks, simple inline text boxes, SmartArt display/insert/node/text/layout/style/colour editing, chart and admitted ChartEx editingShared chart/diagram core and product browser tests cover history and save/reopen across six bindings. The Format pane exposes supported effects, shape 3D, text, pattern fill, analysis, markers and axis titles; picture media allocation, wider combo cases and native typography/effect fidelity remain limited. SmartArt uses the neutral interpreter with explicit fallback and conservatively generated 2D caches; Styles/Change Colors retain node overrides. Wider native styles, complex 3D/rich-text authoring and drawings in page stories remain incomplete. Native Word/Excel semantic reopen checks are scoped in the shared delivery ledger.
File and preferencesFile Home, Info/properties, New/Open/Save/Save As/Export/Print; display language, theme, review author, spelling/ruler/marks/thumbnails preferencesfile-tab.spec.ts, document-properties.spec.ts, backstage/chrome tests. Preferences apply to this editor session; recent files and account/cloud sharing are missing. Protection for filling in forms is enforced (form-fields.spec.ts); other editing restrictions are kept but not enforced.
Search and coauthoringLiteral Unicode-aware find/replace, authority-based step synchronization and peer cursorsSearch/controller and collaboration tests plus the local coauthoring demo. Networking, permissions, persistence and shared-save coordination belong to the host.

Five display locales are available: English, French, German, Spanish and Simplified Chinese. This is interface localization, separate from document language and spelling. Spelling uses the browser service; there is no bundled Word-equivalent grammar or proofing engine.

Imported inline and display equations now render through native MathML using ooxml-core/math. Insert > Equation adds new equations from LaTeX or the gallery, and the selected equation can be edited. An imported equation that is not edited keeps its original OMML when surrounding text is edited and saved. Unsupported equation previews show a visible notice. Print Layout draws equations as SVG from the shared ooxml-core/math box model (the [Equation] placeholder appears only when no drawn object is available); this does not reproduce Word's equation layout.

Print Layout already paginates through ooxml-core/docx/layout, including sections/columns, keep rules, table row fragmentation, repeating table headers, footnotes, headers/footers, page fields and supported floating pictures. The main editing surface remains continuous, and Print Layout pages are editable too: the caret, selection and IME run through the editor's ProseMirror input and are painted on the pages (print-editing.spec.ts, print-cursor.spec.ts). Headers, footers, footnotes and endnotes are edited in place on the pages (double-click a header or footer; press a note's text), and floating pictures are selectable there (see outstanding-work.md). Merged table cells are read-only on pages, and caret placement at line and page boundaries is heuristic. Pagination is approximate.

Table Design and Table Layout appear when the selection enters a table. On rectangular body tables, the tabs offer built-in styles, document styles, style look options, cell shading and borders, row and column sizing, AutoFit, cell alignment, margins, repeat headers, positional formulas, text and numeric sort, and conversion to text. The style previews approximate Word's gallery. Border Painter applies the pen to existing edges. Freeform Draw Table and the Eraser are unavailable. Formula results are cached on insertion. See table-tabs.spec.ts, table-cell-alignment.spec.ts, and the core table edit tests.

Toolbar/context-menu clipboard commands retain supported HTML formatting and tables in the body and stories (formatted-clipboard.spec.ts); plain-text-only browser APIs still work. External HTML does not guarantee preservation of unsupported OOXML properties or objects.

Next implementation priorities ​

This is the one live list of open work. Outstanding work records the detail and limits of each feature already built.

  1. Reliable layout. Print Layout pages are editable (caret, selection, IME and stories). What remains is fidelity: merged cells on pages, caret placement at line and page boundaries, hyphenation (autoHyphenation is read but never applied), wrap polygons for tight and through wrapping, table autofit, floats inside table cells, text-box layout, vertical and East Asian text, complex scripts and font substitution against Word-rendered references.
  2. Document preservation under richer edits. Merge and split cells and row and column commands exist. Work remains on table justification and indentation controls, contextual formatting for merged or nested tables, and modelled table-structure revisions (cellIns, cellDel, cellMerge, tblPrChange, trPrChange, tcPrChange), the tables that stay refused (gridBefore/gridAfter, hMerge, row SDTs, inline markup in cells), identity-aware undo and save/reopen tests, and formatted clipboard coverage across paragraphs, cells and stories. Legacy .doc import is main-body text only and needs tables, headers, images, fields and formatting.
  3. Drawing and embedded objects. SmartArt, classic charts and admitted ChartEx editing run on the format-neutral core and shared ooxml-ui elements. SmartArt style/colour galleries and admitted generated 2D caches are implemented. Next are wider native styles, complex typography/3D, picture relationship authoring and shapes beyond preset geometry. Add each only after model, parser, layout and serializer contracts preserve the source package. Keep UI controls in ooxml-ui and framework adapters in the viewer.
  4. Word authoring breadth. Word can create and modify styles from the Home ribbon, and DOCX export writes style catalogues, latent styles and theme edits. Design offers a shared catalogue of current and historical theme names, named custom colour and font schemes with host-managed reuse, paragraph spacing controls, and defaults for new blank documents. Browse for Themes imports self-contained .thmx palettes, fonts and style matrices, including files saved by PowerPoint 16. PowerPoint 16 applied a Save Current Theme export through COM and returned the expected accent colour. The Effects gallery shows DrawingML effect styles and Word shapes paint ordinary outer and inner shadows, glows and soft edges. Exact historical theme values, theme variants and related assets, and rendering of reflection, effect DAGs and 3D styles remain open. The built-in names follow the Word Design gallery and documented historical catalogue. Mailings supports letters and directories with local or host recipients, field authoring, preview, validation, and DOCX or print output; email delivery and envelope and label layouts remain open. Layout, Picture Format and Shape Format offer Arrange commands for pictures and shapes. Wrap point editing, grouping pictures or formatted objects, vertically laid-out table cells in Print Layout and PDF, and more coverage of page-anchored objects remain open. Other remaining work includes citations/bibliography/index/Table of Authorities, recalculating IF, =, DOCPROPERTY and INCLUDE fields, Read Mode, Web Layout and Outline views, wildcard and formatting Find & Replace, and accessibility inspection. Unsupported imported content must remain visible or explicitly remain open. Other remaining work includes object theme, colour and font catalogue, custom colours and fonts, paragraph spacing presets and a custom dialog, three shadow presets, and host-managed defaults for new documents. The full Word catalogue, theme file import/export, and broader DrawingML effect rendering remain open. Mailings supports letters, directories, envelopes and preset label sheets, local or host recipients, native address and greeting fields, interactive merge prompts, DOCX and print output, and email drafts or host-provided delivery. Custom label stock, printer-specific envelope feed settings and full regional address and greeting formats remain open. Other remaining work includes object Mailings supports letters and directories with local or host recipients, field authoring, preview, validation, and DOCX or print output; email delivery and envelope and label layouts remain open. References can generate an index, citations, a bibliography, and a table of authorities from Word fields and document sources. The References browser fixture reopens in Word 16 and retains the same visible result text after Fields.Update. Word adds paragraph and section delimiters when regenerating the block fields. Broader bibliography formats, shared sources, exact bookmark endpoints, mixed authority formatting, and less common field switches remain open. Other remaining work includes object positioning and wrapping (no Layout > Arrange group, no Picture Format tab), citations/bibliography/index/Table of Authorities, recalculating IF, =, DOCPROPERTY and INCLUDE fields, wildcard and formatting Find & Replace, and accessibility inspection. Unsupported imported content must remain visible or explicitly Format tab), recalculating IF, =, DOCPROPERTY and INCLUDE fields, Read Mode, Web Layout and Outline views, wildcard and formatting Find & Replace, and accessibility inspection. Unsupported imported content must remain visible or explicitly identified and preserved.
  5. Production review and integration. Add proofing services, compare/protection and application persistence as explicit contracts. Complete cross-browser, keyboard/screen-reader, large-document and concurrent-editing coverage before advertising replacement-level reliability.

Document views ​

The View tab and status bar offer Draft, Print Layout, Web Layout, Read Mode, Outline and Focus. Web Layout flows across the editor width and shows the document page colour. Read Mode flows the body into one or two columns per screen, with page buttons and keyboard navigation. Escape returns to the previous editor view. Focus hides the ribbon and surrounding panels while keeping the current layout editable.

Outline shows top-level headings and body blocks. It supports level filtering, branch expansion and collapse, text formatting and first-line display, undoable outline-level edits, and moving adjacent heading branches within a section. Level edits preserve the paragraph's existing style. Outline structure commands are unavailable while tracking changes, collaborating or editing a restricted document. Read Mode uses browser column layout and displays the main body.

Acceptance for Word equivalence ​

Build a checked-in corpus of Word-authored DOCX files with Word-rendered reference pages and semantic expectations. Include ordinary business documents and difficult cases: multiple sections, complex tables, linked stories, tracked changes, fields, floating drawings, SmartArt/charts/equations, RTL/CJK, font substitutions and large files. Cross-check with another renderer where helpful, but Word is the primary reference for the stated target.

For each supported feature, require:

  • Import diagnostics and expected model/text, including unsupported content.
  • UI edit, undo/redo, selection and keyboard behavior in all six bindings.
  • Export validation, reopening in Word and this editor, and checks that unrelated parts/relationships/content types and opaque source XML stay intact.
  • Page counts, line/shape positions and visual comparisons with recorded tolerances. A passing serializer test does not establish visual parity.
  • Accessibility, clipboard and IME coverage; browser and font versions recorded with visual references so differences can be investigated.

The Word reference corpus, how to regenerate it and its current results are in verification.

The existing Word COM checks documented in outstanding work validate specific exported properties. They are useful evidence for those cases, not a complete rendered-document comparison corpus or proof of full parity.

Release gates ​

Run the repository CI checks, framework browser contracts and independent packed consumer checks. Consume a published core release, restore any temporary file: dependencies before committing, and reject copied core/binary logic. No unsupported feature may disappear silently. Record known approximations in the UI/docs and require evidence for each capability claim.

Outstanding work records detailed implemented behavior and its limits. Editing text and collaboration describe the current integration contracts.

Released under the Apache-2.0 License.