OLE2 · LEGACY OFFICE · TYPESCRIPT
Legacy formats,
clear boundaries.
Shared OLE2 building blocks for readers and writers that state exactly which document features they support.
npm install @christophervr/ole2FORMAT GUIDES
Choose the document you have
Each guide separates implemented operations from unsupported document content.
Word
Read main-body paragraphs and apply constrained text edits that preserve paragraph formatting.
Read the Word guide XLS · BIFF8Excel
Preview a bounded first-sheet grid and edit supported numeric or string cells.
Read the Excel guide PPT · POWERPOINT 97–2003PowerPoint
Build legacy presentations from the neutral writer model and inspect record streams.
Read the PowerPoint guide VSD · VISIOVisio
Validate container signatures and bounded trailer pointers; drawing pages are not decoded.
Read the Visio guide PUB · PUBLISHERPublisher
Inspect known container signatures and versions; publication pages are not parsed.
Read the Publisher guide SHARED INFRASTRUCTUREOLE2 containers
Read streams, build containers, inspect metadata, and replace an existing nested stream safely.
Read the container guideSUPPORT POLICY
Format detection only identifies likely document types. It does not mean full parsing, rendering, or editing is available. Unsupported structural edits return the original bytes unchanged where the API documents that behavior.