class OfficeDocument
extends XmlFile
import { OfficeDocument } from "https://deno.land/x/docxml@1.5.1/src/bundle/OfficeDocument.ts";
Constructors
Properties
private
_styles: Styles | nullreadonly
children: OfficeDocumentChild[]readonly
relationships: RelationshipsMethods
protected
toNode(): Documentappend(children: OfficeDocumentChild | OfficeDocumentChild[])
Add content to the document body
getRelated(): XmlFile[]
set(children: OfficeDocumentChild | OfficeDocumentChild[])
Static Methods
fromArchive(archive: ZipArchive, location: string): Promise<OfficeDocument>
Instantiate this class by looking at the DOCX XML for it.