● Roadmap

Every office format, one core.

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.

  1. 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).
    Completion records 17 verified commits / releases
  2. 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.
    • Charts come after the grid works, not before.
    Progress records 3 verified commits / releases
  3. In progressOpenDocument

    ODF family: ODT first

    • 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.
    Progress records 4 verified commits / releases

    Priority note: the word-family formats (ODT and legacy DOC) now precede PPTX — the editor should cover the most common document formats before presentations.

  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.