class ContentTypes
extends XmlFile
import { ContentTypes } from "https://deno.land/x/docxml@2.0.1/src/files/ContentTypes.ts";
Methods
protected
toNode(): DocumentaddDefault(extension: string, contentType: string | ContentType)
addOverride(partName: string, contentType: ContentType)
Static Methods
fromArchive(archive: ZipArchive, location: string)
Instantiate this class by looking at the DOCX XML for it.