Files
docx-js/ts/docx/paragraph/style.ts
2016-04-03 01:44:18 +01:00

16 lines
367 B
TypeScript

import {XmlComponent, Attributes} from "../xml-components";
export class Style implements XmlComponent {
private pStyle: Array<XmlComponent>;
xmlKeys = {
pStyle: 'w:pStyle'
}
constructor(type: string) {
this.pStyle = new Array<XmlComponent>();
this.pStyle.push(new Attributes({
val: type
}));
}
}