@ooxml-sanad/wml
v0.2.0
Published
WordprocessingML document model, style cascade, numbering, range annotations.
Readme
@ooxml/wml
WordprocessingML document model: style cascade, numbering layout, field evaluation, and range annotations.
Install
npm install @ooxml/wmlOverview
High-level document model layered on top of @ooxml/schema and @ooxml/opc:
- Style cascade — Resolves direct formatting → paragraph style → character style → document defaults
- Numbering — Abstract numbering resolution, instance lookup, level formatting
- Fields —
FIELDcode parser and evaluator (page numbers, dates, cross-references) - Annotations — Track changes, comments, bookmarks, range marks
- Features — Feature detection for document capabilities
- Theme — Theme color and font resolution
- Settings — Document settings aggregation
- Inspector — Query helpers for document structure
Usage
import { buildCascade, resolveNumbering } from '@ooxml/wml';License
MIT
