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

18 lines
394 B
TypeScript
Raw Normal View History

2016-03-30 00:28:05 +01:00
import {XmlComponent, Attributes} from "../xml-components";
export class ParagraphProperties implements XmlComponent {
private pPr: Array<XmlComponent>;
2016-04-03 01:44:18 +01:00
xmlKeys = {
pPr: 'w:rPr'
}
2016-03-30 00:28:05 +01:00
constructor() {
this.pPr = new Array<XmlComponent>();
this.pPr.push(new Attributes());
}
2016-03-30 04:32:51 +01:00
push(item: XmlComponent): void {
2016-03-30 00:28:05 +01:00
this.pPr.push(item);
}
}