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-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-01-28 22:32:51 +00:00
|
|
|
};
|
|
|
|
}
|