You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[x] DOCX real-world list/style section quirks now match Walnut decoded JSON for `06.docx`: paragraph numbering writes `autoNumberType`/`autoNumberStartAt` from numbering definitions and `w:startOverride`, paragraph styles with only alignment inherit default run font size, and empty `w:sectPr` no longer materializes synthetic page setup.
55
55
-[x] DOCX real-world table/style text quirks now match Walnut decoded JSON for `/Users/phodal/Downloads/realworld/5d1b8b8662d700110424b9ccc08ed7a1.docx`: direct table cell margins are emitted in EMU, shallow paragraph `w:firstLine` indent is preserved without over-materializing `w:hanging`, highlight values enter `textStyle.scheme`, empty/invalid table borders are suppressed, and paragraph style summaries respect `w:jc="both"` plus Walnut's default run-font inheritance boundaries.
56
56
-[x] DOCX non-Word producer decimal sizing now follows Walnut's protocol materialization for comparable files: decimal `w:ind` and decimal `w:szCs` values are not rounded into paragraph/style protocol fields, while integer default complex-script font-size inheritance is still retained for alignment-only styles without direct run fonts. This moved `/Users/phodal/Downloads/realworld/CI_CD.docx` from 98 decoded JSON diffs to `0` and `/Users/phodal/Downloads/realworld/ChocolateFactory.docx` from 1 decoded JSON diff to `0`.
57
-
-[x] DOCX debug renderer now consumes decoded section page setup, header/footer content, column settings including separator lines, paragraph alignment, margin/hanging indent, line spacing, list auto-number and bullet markers, run hyperlinks, Word underline values, explicit false run emphasis overrides, DOCX highlight/caps/typeface scheme metadata, footnote/comment reference markers and bodies, insertion review marks, table bbox/widths/spans/margins/borders, image/table/chart bbox offsets and sizing, and chart references.
57
+
-[x] DOCX debug renderer now consumes decoded section page setup, header/footer content, column settings including separator lines, paragraph alignment, margin/hanging indent, line spacing, list auto-number and bullet markers, run hyperlinks, Word underline values/styles, explicit false run emphasis overrides, DOCX highlight/caps/typeface scheme metadata, footnote/comment reference markers and bodies, insertion review marks, table bbox/widths/spans/margins/borders, image/table/chart bbox offsets and sizing, and chart references.
58
58
-[ ] DOCX visual layout depth: core protocol parity is green for the committed contract fixtures and targeted real-world Chinese samples. Remaining visual-fidelity work is floating wrap mode, overlap/behind-doc flags, z-order, distance-from-text, crop/effect metadata, and broader anchored-position variants beyond the common page/margin/column/paragraph align/offset cases already covered.
59
59
-[ ] DOCX chart payload depth: chart references and basic cached series now flow into the debug renderer; remaining work is richer Word-specific axis/title/legend/plot-area styling, multi-axis charts, and embedded chart workbook/cache edge cases.
60
60
-[ ] DOCX section/header/footer long-tail: section summaries, `sections[].elements`, and leading-vs-mid-paragraph rendered page-break assignment now match the tracked-change-heavy Chinese samples. Remaining work is broader column/header/footer combinations and more non-Word producer edge cases.
@@ -645,7 +645,7 @@ Verification on 2026-05-04:
645
645
-`scripts/office-wasm-reader/scan-docx-protocol-corpus.ts` now separates Walnut failures from Routa failures. When the Walnut comparator fails, the scanner runs a Routa-only smoke extraction and classifies the result as `walnut-error-routa-ok` or `routa-error`. The scanner also supports `--compact` for corpus triage and `--timeout-ms=N` for opt-in bounded Walnut comparisons.
646
646
- Full local corpus scan on `/Users/phodal/Downloads/realworld` with decoded JSON contract coverage found `166/166` Routa-readable DOCX files. Among them, `89/89` Walnut-readable files reported `0` normalized decoded Proto JSON diffs; the remaining `77` files were Walnut failures but Routa-only successes. The final scan had `mismatchCount = 0`, `errorCount = 0`, `okCount = 89`, and `walnutErrorRoutaOkCount = 77`.
647
647
- Representative real-world JSON exact checks still pass for `/Users/phodal/Downloads/realworld/ThoughtWorks_黄峰达.docx`, `/Users/phodal/Downloads/realworld/目录v3.docx`, and the committed DOCX contract fixtures. `/Users/phodal/Downloads/realworld/About Thoughtworks.docx` is now correctly classified as `walnut-error-routa-ok`: Walnut throws `Format_InvalidStringWithValue, 100.0`, while Routa emits a smoke-valid `oaiproto.coworker.docx.Document` with resolved image references.
648
-
-`npx vitest run src/app/debug/office-wasm-poc/__tests__/word-preview.test.tsx` passed after adding DOCX renderer coverage for section page setup, header/footer content and columns, paragraph alignment/indent/line spacing/list/bullet markers, hyperlinks, Word underline values, explicit false run emphasis overrides, DOCX highlight/caps/typeface scheme metadata, footnote/comment reference markers and bodies, insertion review marks, table bbox/spans/widths/margins/anchors/borders, image/table/chart bbox offsets and sizing, and chart-reference canvas rendering.
648
+
-`npx vitest run src/app/debug/office-wasm-poc/__tests__/word-preview.test.tsx` passed after adding DOCX renderer coverage for section page setup, header/footer content and columns, paragraph alignment/indent/line spacing/list/bullet markers, hyperlinks, Word underline values/styles, explicit false run emphasis overrides, DOCX highlight/caps/typeface scheme metadata, footnote/comment reference markers and bodies, insertion review marks, table bbox/spans/widths/margins/anchors/borders, image/table/chart bbox offsets and sizing, and chart-reference canvas rendering.
0 commit comments