style factory added and fixed bug allowing styles to work

This commit is contained in:
Dolan Miu
2016-05-09 03:44:16 +01:00
parent a1b4facb40
commit 9b268314e6
8 changed files with 53 additions and 16 deletions

View File

@ -3,7 +3,7 @@ import {XmlComponent, Attributes} from "../xml-components";
export class ParagraphProperties extends XmlComponent {
constructor() {
super("w:rPr");
super("w:pPr");
this.root.push(new Attributes());
}