Method CollectIslands
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).
public static IReadOnlyList<UnknownXml> CollectIslands(WordDocument document)
Parameters
documentWordDocumentThe document.
Returns
- IReadOnlyList<UnknownXml>
The islands.