Class PreservationInventory
Produces a deterministic, culture-independent inventory of everything a document preserves outside the modeled tree: unknown-XML islands (from nodes, format bags and definitions), opaque parts, and counted known-transient skips. Two parses of the same file yield byte-identical inventories, which the preservation tests assert.
public static class PreservationInventory
- Inheritance
-
PreservationInventory
- Inherited Members
Methods
- CollectIslands(WordDocument)
Collects every unknown-XML island of a document — from tree nodes, their format bags, and the style/numbering/settings/theme definitions — in stable order (definitions first, then tree order).
- Dump(WordDocument)
Renders the complete inventory of a document as a stable multi-line string.