Skip to content

Promote to production: Legacy .doc viewer (+ carries redaction fix) - #266

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 17, 2026
Merged

Promote to production: Legacy .doc viewer (+ carries redaction fix)#266
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Promotes the legacy .doc viewer. This main build also carries the earlier redaction box-offset fix.

Open old binary .doc files and extract their text in the browser: a
minimal OLE2/CFB compound-file reader (cfb.lib.ts) reassembles the
WordDocument + table streams, then doc.lib.ts walks the Word piece table
(found by scanning the table stream, avoiding version-specific FIB
offsets) and decodes CP1252/UTF-16LE pieces, with an fcMin fallback.
Best-effort text only — labeled as such. Pure libs unit-tested. EN + ID SEO.
feat(documents): legacy .doc viewer (Word 97-2003)
@slaveofcode
slaveofcode merged commit e44c127 into main Aug 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant