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
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|