2017-12-30 20:25:16 +00:00
|
|
|
import { Attributes, XmlComponent } from "file/xml-components";
|
2016-03-30 02:55:11 +01:00
|
|
|
|
2016-04-09 20:16:35 +01:00
|
|
|
export class Style extends XmlComponent {
|
2018-09-18 05:24:19 -03:00
|
|
|
public readonly styleId: string;
|
|
|
|
|
|
|
|
constructor(styleId: string) {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:pStyle");
|
2018-09-18 05:24:19 -03:00
|
|
|
this.styleId = styleId;
|
2018-01-23 01:33:12 +00:00
|
|
|
this.root.push(
|
|
|
|
new Attributes({
|
2018-09-18 05:24:19 -03:00
|
|
|
val: styleId,
|
2018-01-23 01:33:12 +00:00
|
|
|
}),
|
|
|
|
);
|
2016-03-30 02:55:11 +01:00
|
|
|
}
|
2017-03-08 21:36:09 +00:00
|
|
|
}
|