16 lines
367 B
TypeScript
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
|
|
}));
|
|
}
|
|
} |