import { SettingsXml } from "https://deno.land/x/docxml@5.5.1/mod.ts";
Methods
protected
toNode(): Documentget(key: keyof SettingsI): SettingsI[key]
Get a setting.
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.
By default only returns the instance itself but no other related instances.
set(key: keyof SettingsI, value: SettingsI[key]): void
Set a setting.
Static Methods
fromArchive(archive: Archive, location: string): Promise<SettingsXml>
Instantiate this class by looking at the DOCX XML for it.