2017-12-30 20:25:16 +00:00
|
|
|
import { XmlAttributeComponent } from "file/xml-components";
|
2016-05-01 22:48:36 +01:00
|
|
|
|
2017-07-07 14:31:08 +01:00
|
|
|
export interface IDocumentAttributesProperties {
|
2018-11-02 02:51:57 +00:00
|
|
|
readonly wpc?: string;
|
|
|
|
readonly mc?: string;
|
|
|
|
readonly o?: string;
|
|
|
|
readonly r?: string;
|
|
|
|
readonly m?: string;
|
|
|
|
readonly v?: string;
|
|
|
|
readonly wp14?: string;
|
|
|
|
readonly wp?: string;
|
|
|
|
readonly w10?: string;
|
|
|
|
readonly w?: string;
|
|
|
|
readonly w14?: string;
|
|
|
|
readonly w15?: string;
|
|
|
|
readonly wpg?: string;
|
|
|
|
readonly wpi?: string;
|
|
|
|
readonly wne?: string;
|
|
|
|
readonly wps?: string;
|
|
|
|
readonly Ignorable?: string;
|
|
|
|
readonly cp?: string;
|
|
|
|
readonly dc?: string;
|
|
|
|
readonly dcterms?: string;
|
|
|
|
readonly dcmitype?: string;
|
|
|
|
readonly xsi?: string;
|
|
|
|
readonly type?: string;
|
2016-05-01 22:48:36 +01:00
|
|
|
}
|
|
|
|
|
2017-03-10 10:42:24 +01:00
|
|
|
export class DocumentAttributes extends XmlAttributeComponent<IDocumentAttributesProperties> {
|
2018-11-02 02:51:57 +00:00
|
|
|
protected readonly xmlKeys = {
|
2017-03-10 10:42:24 +01:00
|
|
|
wpc: "xmlns:wpc",
|
|
|
|
mc: "xmlns:mc",
|
|
|
|
o: "xmlns:o",
|
|
|
|
r: "xmlns:r",
|
|
|
|
m: "xmlns:m",
|
|
|
|
v: "xmlns:v",
|
|
|
|
wp14: "xmlns:wp14",
|
|
|
|
wp: "xmlns:wp",
|
|
|
|
w10: "xmlns:w10",
|
|
|
|
w: "xmlns:w",
|
|
|
|
w14: "xmlns:w14",
|
|
|
|
w15: "xmlns:w15",
|
|
|
|
wpg: "xmlns:wpg",
|
|
|
|
wpi: "xmlns:wpi",
|
|
|
|
wne: "xmlns:wne",
|
|
|
|
wps: "xmlns:wps",
|
|
|
|
Ignorable: "mc:Ignorable",
|
|
|
|
cp: "xmlns:cp",
|
|
|
|
dc: "xmlns:dc",
|
|
|
|
dcterms: "xmlns:dcterms",
|
|
|
|
dcmitype: "xmlns:dcmitype",
|
|
|
|
xsi: "xmlns:xsi",
|
|
|
|
type: "xsi:type",
|
|
|
|
};
|
2017-03-08 20:35:26 +00:00
|
|
|
}
|