Files
docx-js/ts/style/index.ts

18 lines
756 B
TypeScript
Raw Normal View History

2016-04-03 05:23:13 +01:00
import {XmlComponent} from "../docx/xml-components";
import {DocumentAttributes} from "../docx/xml-components/document-attributes"
2016-04-03 01:44:18 +01:00
export class Style {
2016-04-03 05:23:13 +01:00
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'
}))
}
2016-04-03 01:44:18 +01:00
}