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

@ -17,12 +17,11 @@ export class Styles extends XmlComponent {
w15: 'http://schemas.microsoft.com/office/word/2012/wordml',
Ignorable: 'w14 w15'
}))
this.root.push(new DocumentDefaults());
var latentStyles = new LatentStyles();
//var latentStyles = new LatentStyles();
//latentStyles.push(new LatentStyleException(new LatentStyleExceptionAttributes({
// name: "Normal"
//})));
this.root.push(latentStyles);
//this.root.push(latentStyles);
}
push(style: XmlComponent): void {