Files
docx-js/src/file/header/header-attributes.ts

76 lines
1.6 KiB
TypeScript
Raw Normal View History

2018-01-28 22:32:51 +00:00
import { XmlAttributeComponent } from "file/xml-components";
export interface IHeaderAttributesProperties {
2018-01-29 21:53:22 +00:00
wpc?: string;
mc?: string;
2018-01-28 22:32:51 +00:00
o?: string;
r?: string;
2018-01-29 21:53:22 +00:00
m?: string;
2018-01-28 22:32:51 +00:00
v?: string;
wp14?: string;
2018-01-29 21:53:22 +00:00
wp?: string;
w10?: string;
w?: string;
2018-01-28 22:32:51 +00:00
w14?: string;
2018-01-29 21:53:22 +00:00
w15?: string;
wpg?: string;
wpi?: string;
wne?: string;
wps?: string;
cp?: string;
dc?: string;
dcterms?: string;
dcmitype?: string;
xsi?: string;
type?: string;
2018-09-07 21:48:59 +01:00
cx?: string;
cx1?: string;
cx2?: string;
cx3?: string;
cx4?: string;
cx5?: string;
cx6?: string;
cx7?: string;
cx8?: string;
w16cid: string;
w16se: string;
2018-01-28 22:32:51 +00:00
}
export class HeaderAttributes extends XmlAttributeComponent<IHeaderAttributesProperties> {
protected xmlKeys = {
2018-01-29 21:53:22 +00:00
wpc: "xmlns:wpc",
mc: "xmlns:mc",
2018-01-28 22:32:51 +00:00
o: "xmlns:o",
r: "xmlns:r",
2018-01-29 21:53:22 +00:00
m: "xmlns:m",
2018-01-28 22:32:51 +00:00
v: "xmlns:v",
wp14: "xmlns:wp14",
2018-01-29 21:53:22 +00:00
wp: "xmlns:wp",
w10: "xmlns:w10",
w: "xmlns:w",
2018-01-28 22:32:51 +00:00
w14: "xmlns:w14",
2018-01-29 21:53:22 +00:00
w15: "xmlns:w15",
wpg: "xmlns:wpg",
wpi: "xmlns:wpi",
wne: "xmlns:wne",
wps: "xmlns:wps",
cp: "xmlns:cp",
dc: "xmlns:dc",
dcterms: "xmlns:dcterms",
dcmitype: "xmlns:dcmitype",
xsi: "xmlns:xsi",
type: "xsi:type",
2018-09-07 21:48:59 +01:00
cx: "xmlns:cx",
2018-09-04 17:16:31 +03:00
cx1: "xmlns:cx1",
cx2: "xmlns:cx2",
cx3: "xmlns:cx3",
cx4: "xmlns:cx4",
cx5: "xmlns:cx5",
cx6: "xmlns:cx6",
cx7: "xmlns:cx7",
cx8: "xmlns:cx8",
2018-09-07 21:48:59 +01:00
w16cid: "xmlns:w16cid",
w16se: "xmlns:w16se",
2018-01-28 22:32:51 +00:00
};
}