Files
docx-js/src/file/drawing/doc-properties/doc-properties.ts

17 lines
400 B
TypeScript
Raw Normal View History

import { XmlComponent } from "@file/xml-components";
import { DocPropertiesAttributes } from "./doc-properties-attributes";
export class DocProperties extends XmlComponent {
constructor() {
super("wp:docPr");
2018-01-23 01:33:12 +00:00
this.root.push(
new DocPropertiesAttributes({
id: 0,
name: "",
descr: "",
}),
);
}
}