DOCX is what works end to end today. XLSX, PPTX and the ODF family (ODT first) are already sibling crates in this same repository, reusing the container and round-trip layer — each with the layout model its format needs, and each at a different distance from done.
DoneDOCX
DOCX
Lossless round-trip: the ZIP layer copies untouched entries byte-for-byte, ZIP64 and unknown extensions included — 399/399 corpus files in CI.
Line breaking and pagination: Knuth-Plass optimal breaks, UAX#14 rules, CJK anywhere / Latin at whitespace.
Page geometry from sectPr, real font-metric shaping, golden break-point snapshots.
Incremental pagination with budgeted background reflow; incremental results are checked against full rebuilds.
Tables with cross-page slicing, headers/footers with field substitution, style cascade, image placeholders and floating images, forced page breaks.
Style-level forced breaks: page-break properties now resolve through both the paragraph-style and direct-paragraph cascade levels — style-level pageBreakBefore no longer drops.
Editing API on the real document tree: text and paragraph structure, character formatting and styles, tables with cross-page re-layout, images, sections, headers/footers and footnotes — 32 mutation variants, each replayed through the model with full-document re-pagination, plus undo/redo (v0.1.0-beta.12).
8f4942c Style-level pageBreakBefore enters the cascade (fdo81492, aligned to LibreOffice ground truth)
v0.1.0-beta.12 Editing API slices K29a–K29d: 32 mutation variants applied to the OOXML tree with model-replay pagination, UndoEntry-based undo/redo, routed through the web shell contract.
v0.1.0-beta.13 Editor shell close-out: the table misalignment and caret dead-zone root fixes, in-cell caret (click a cell to place the caret and type), six underline forms now live, and per-table index binding so multi-table documents edit the table you clicked.
v0.1.0-beta.14 The editing shell splits out to its own repository (editor.quireoffice.dev/word.html) under the roadmap's shell-split clause, history preserved by subtree split; caret font metrics now share one source with the emitter.
v0.1.0-beta.15 Paragraph split/merge completeness for the save path (container pairing at split points, honest refusal on malformed upstream pPr) plus the save-fidelity gate save_roundtrip_lab: LibreOffice render parity before/after save, three-arm test in CI.
v0.1.0-beta.16 Embedded-font wasm exports (embeddedFontBytes/embeddedFontFamily) — rendering and layout now measure with the same ruler, no per-platform drift.
v0.1.0-beta.17 Multi-step redo fix (replay path split from the new-operation path, regression-locked); four honest save exits — save_docx_checked_json never pairs empty bytes with ok:true, save_docx_report_json reports touched parts against the lossless diff, and the capability list is generated from the test census at build time; wasm32 clock isolation.
v0.1.0-beta.18 X3 XLSX formula engine lands: SUMPRODUCT/array grid boundaries and shape diagnostics, an honest 400,000-cell cumulative expansion budget (overflow returns a non-cacheable ExpansionLimit), a single 512-frame evaluation budget with heavy-function chains failing honestly instead of overflowing the stack, SUBTOTAL nesting/scalar-argument fixes, circular references never cached; HOTFIX for the shipping wasm shell's Instant panic dead end; typing and deletion now force rebuild_derived; derived-layer single-pass Scan removes repeated full-file scans per rebuild.
v0.1.0-beta.19 Paragraph indentation + page-size external package lands: <w:ind> now losslessly preserves untouched attributes (w:firstLineChars/w:start/w:end survive save), all-empty patches are honestly refused like section patches (no phantom Undo, no dirty flag), and w:hanging wins over w:firstLine per ECMA-376; the indent ruler moves into ParaGrid so caret_rect, caret_at and the display list share one ruler — fixing the "caret lands one indent-width off after setting indentation" bug; red-light and caret-roundtrip test suites both arms) land as regression guards.
In progressXLSX
XLSX
A sibling crate (core/xlsx) on the same OPC container and round-trip gates — an 80-file XLSX corpus with per-file licensing is already collected.
Workbook model, cell projection (five value types), the style cascade and the formula engine (X3) are landed in the core crate on the lossless layer — CLI and the deferred wasm chunk, not the first browser payload; chart support and the editing surface come next.
A core/odf sibling crate on the same lossless OPC-style container — content.xml, styles.xml and meta.xml parsed and replayed byte-for-byte exactly like the OOXML parts.
ODT (text) leads, with ODS and ODP following on the same core; each keeps only the layout model its format demands.
Honest scope: the container layer and the round-trip discipline carry over, the OOXML part model does not. text:sect and office:styles mean different things than sectPr and w:styles, so the mapping is written from the OASIS spec, not guessed from DOCX.
Landed: the 57-file ODT corpus (per-file licensing plus four encrypted synthetic fixtures) and the container-level survey (three spec-violating samples named); the core/odf container crate and the ODT layout projection (headers/footers included) are live in the playground (engine v0.1.0-beta.11), alongside the code-anchored table-model design doc.
Landed since beta.11: first-party indentation consumption and a content-table model (grid, cell spans, row heights, widths resolved against styles), closing the table design doc against real ODF semantics.
735fae5 Container crate + ODT layout projection (headers/footers included) shipped as engine beta.11; the playground opens anonymous .odt trials
e11ff88 ODF table model landed (grid/colgrid, covered cells, per-cell borders through the style cascade) with a LibreOffice ground-truth gate in CI.
Priority note: the word-family formats (ODT and legacy DOC) now precede PPTX — the editor should cover the most common document formats before presentations.
PlannedLegacy DOC
Legacy DOC (binary Word)
The pre-OOXML binary format lives in an OLE compound file, not OPC — its own parser lane, reusing the same layout and shaping crates downstream.
First milestone is a render path: real .doc files open and draw with untouched streams preserved; the save path comes after the read model proves out. The published shell already opens .doc, .rtf, .txt, .md and .html by parsing them in-browser and rebuilding a DOCX to lay out — useful, but a lossy conversion, not the engine reading the binary format.
Honest scope: MS-DOC carries more legacy behaviour than OOXML; expect the schedule to move, and expect the corpus survey to name the gaps before code does.
PlannedDOCX depth & collaboration
DOCX depth, then collaboration
Tracked changes, columns (w:cols) and the remaining rendering gaps — each item is picked from the failure clusters the corpus comparison ranks, not from a feature calendar.
The CRDT collaborative layer sits behind an adapter slot, so the collaboration dependency loads only when a document is actually shared.
In progressPPTX
PPTX
P0–P2 landed in <code>core/pptx</code>: the same lossless OPC discipline — package container with relation graph, byte-identical round-trip and a versioned <code>SlideScene</code> projection, with group-depth and decompression ceilings plus honest refusal on files that aren't presentations. The crate is feature-gated out of the shipped wasm and the editor shell's Slides workspace still consumes its own importer, so the projection has no browser consumer yet.
Next slices: ship the projection to wasm as a deferred chunk, add shape-level editing mutations, and build the presentation render list on the same display-list contract the native and browser shells consume.
In progressProducts
The product line on the engine
Embeddable editor components (quire-editor) — CKEditor-style npm packages split by format (@quire/word, @quire/sheets, @quire/slides) sharing one core runtime: mount into any element or run fullscreen, each package carrying only its own format's wasm. Apache-2.0 across the chain; wasm ships in-package with an optional CDN override. What runs today is the iframe form of the same contract: a <quire-embed> element plus a postMessage bridge (getState, loadFile, exportFile, change subscriptions) with strict origin checks, demonstrated on the embed-demo.html page of the same deployment. The engine editing API landed in v0.1.0-beta.12 (32 mutation variants with undo/redo) and runs in the published shell at editor.quireoffice.dev/word.html (its own repository since v0.1.0-beta.14); the npm packaging itself is unpublished, so the scoped packages above are not on the registry yet.
Desktop app (quire-desktop, Tauri v2) — the native Rust core behind a thin Tauri shell; no wasm detour, installers for Windows/macOS/Linux.
Collaboration & storage server (quire-server) — self-hostable, Docker-first single image (SQLite + local disk today, pluggable storage layer), CRDT sync on the same loro backend the browser's collab chunk uses. Apache-2.0 like everything else.
PlannedStructure
Shell split, when it makes sense
The shells stay in this repo until one ships its own releases, its licence diverges, or its contributor base diverges. The editing shell met that bar first: it moved to its own repository (editor.quireoffice.dev/word.html) at v0.1.0-beta.14 with history preserved via subtree split. Until the next shell meets it, the layering script keeps the boundary clean, so a later split is moving directories rather than rewriting.