Files
docx-js/ts/docx/paragraph/properties.ts

14 lines
295 B
TypeScript
Raw Normal View History

2017-03-08 20:35:26 +00:00
import { Attributes, XmlComponent } from "../xml-components";
2016-03-30 00:28:05 +01:00
2016-04-09 20:16:35 +01:00
export class ParagraphProperties extends XmlComponent {
2016-03-30 00:28:05 +01:00
constructor() {
super("w:pPr");
2016-04-09 20:16:35 +01:00
this.root.push(new Attributes());
2016-03-30 00:28:05 +01:00
}
2017-03-08 21:36:09 +00:00
public push(item: XmlComponent): void {
2016-04-09 20:16:35 +01:00
this.root.push(item);
2016-03-30 00:28:05 +01:00
}
2017-03-08 21:36:09 +00:00
}