added document attributes

This commit is contained in:
Dolan Miu
2016-04-03 05:23:13 +01:00
parent 69edfcc0c9
commit 213696b780
6 changed files with 155 additions and 17 deletions

View File

@ -1,3 +1,18 @@
import {XmlComponent} from "../docx/xml-components";
import {DocumentAttributes} from "../docx/xml-components/document-attributes"
export class Style {
private styles: Array<XmlComponent>;
constructor() {
this.styles = new Array<XmlComponent>();
this.styles.push(new DocumentAttributes({
mc: 'http://schemas.openxmlformats.org/markup-compatibility/2006',
r: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships',
w: 'http://schemas.openxmlformats.org/wordprocessingml/2006/main',
w14: 'http://schemas.microsoft.com/office/word/2010/wordml',
w15: 'http://schemas.microsoft.com/office/word/2012/wordml',
Ignorable: 'w14 w15'
}))
}
}