UNPKG

docxml

Version:

TypeScript (component) library for building and parsing a DOCX file

59 lines (58 loc) 1.6 kB
export declare const NamespaceUri: { aink: string; am3d: string; cx: string; cx1: string; cx2: string; cx3: string; cx4: string; cx5: string; cx6: string; cx7: string; cx8: string; m: string; mc: string; o: string; oel: string; op: string; r: string; v: string; vt: string; w: string; w10: string; w14: string; w15: string; w16: string; w16cex: string; w16cid: string; w16sdtdh: string; w16se: string; wne: string; wp: string; wp14: string; wpc: string; wpg: string; wpi: string; wps: string; relationshipsDocument: string; contentTypesDocument: string; cp: string; dc: string; dcterms: string; dcmitype: string; xsi: string; a: string; asvg: string; a14: string; pic: string; }; /** * A helper object containing the "Q{https://…}" notation of each namespace. Makes writing queries * a lot less verbose. * * For example; * const query = `/${QNS.w}document`; * // "/Q{https://…}document" */ export declare const QNS: Record<"a" | "aink" | "am3d" | "cx" | "cx1" | "cx2" | "cx3" | "cx4" | "cx5" | "cx6" | "cx7" | "cx8" | "m" | "mc" | "o" | "oel" | "op" | "r" | "v" | "vt" | "w" | "w10" | "w14" | "w15" | "w16" | "w16cex" | "w16cid" | "w16sdtdh" | "w16se" | "wne" | "wp" | "wp14" | "wpc" | "wpg" | "wpi" | "wps" | "relationshipsDocument" | "contentTypesDocument" | "cp" | "dc" | "dcterms" | "dcmitype" | "xsi" | "asvg" | "a14" | "pic", string>; export declare const ALL_NAMESPACE_DECLARATIONS: string;