import { DocumentXml } from "https://deno.land/x/docxml@5.5.6/mod.ts";
Properties
readonly
children: Promise<DocumentChild[]>The components normalized from #root, which is potentially arrayed, promised, array promised etc.
readonly
comments: CommentsXmlThe API representing "comments.xml" and all the comments associated with this document.
readonly
numbering: NumberingXmlThe API representing "numbering.xml" and all the numbering styles/schemes
readonly
relationships: RelationshipsXmlreadonly
settings: SettingsXmlThe API representing "settings.xml" and all the settings associated with this document.
readonly
styles: StylesXmlThe API representing "styles.xml" and all the text/paragraph/table styles associated with this document.
Methods
protected
toNode(): Promise<Document>getRelated(): File[]
Get all XmlFile instances related to this one, including self. This helps the system serialize itself back to DOCX fullly. Probably not useful for consumers of the library.
Static Methods
fromArchive(archive: Archive, location: string): Promise<DocumentXml>
Instantiate this class by looking at the DOCX XML for it.