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

14 lines
297 B
TypeScript
Raw Normal View History

2017-09-21 14:56:46 +01:00
// http://officeopenxml.com/WPparagraphProperties.php
import { XmlComponent } from "file/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-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
}