13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
import { Attributes, XmlComponent } from "file/xml-components";
|
|
|
|
export class Style extends XmlComponent {
|
|
constructor(type: string) {
|
|
super("w:pStyle");
|
|
this.root.push(
|
|
new Attributes({
|
|
val: type,
|
|
}),
|
|
);
|
|
}
|
|
}
|