Added in the ability to create borders for paragraphs

This commit is contained in:
Noah Schechter
2018-08-19 11:59:38 -04:00
parent 7b43551148
commit 0411153832
5 changed files with 89 additions and 19 deletions

View File

@ -1,9 +1,14 @@
// http://officeopenxml.com/WPparagraphProperties.php
import { XmlComponent } from "file/xml-components";
import { Border } from "./formatting/border";
export class ParagraphProperties extends XmlComponent {
public paragraphBorder: Border;
constructor() {
super("w:pPr");
this.paragraphBorder = new Border();
this.push(this.paragraphBorder);
}
public push(item: XmlComponent): void {