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

16 lines
367 B
TypeScript
Raw Normal View History

2016-03-30 02:55:11 +01:00
import {XmlComponent, Attributes} from "../xml-components";
export class Style implements XmlComponent {
private pStyle: Array<XmlComponent>;
2016-04-03 01:44:18 +01:00
xmlKeys = {
pStyle: 'w:pStyle'
}
2016-03-30 02:55:11 +01:00
constructor(type: string) {
this.pStyle = new Array<XmlComponent>();
this.pStyle.push(new Attributes({
val: type
}));
}
}