2016-03-30 02:55:11 +01:00
|
|
|
import {XmlComponent, Attributes} from "../xml-components";
|
|
|
|
|
2016-04-09 20:16:35 +01:00
|
|
|
export class Style extends XmlComponent {
|
2016-03-30 02:55:11 +01:00
|
|
|
|
|
|
|
constructor(type: string) {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:pStyle");
|
|
|
|
this.root.push(new Attributes({
|
2016-03-30 02:55:11 +01:00
|
|
|
val: type
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|