Files
docx-js/src/file/paragraph/run/properties.ts

12 lines
276 B
TypeScript
Raw Normal View History

import { IgnoreIfEmptyXmlComponent, XmlComponent } from "file/xml-components";
2016-03-30 03:50:53 +01:00
export class RunProperties extends IgnoreIfEmptyXmlComponent {
2016-03-30 03:50:53 +01:00
constructor() {
2016-04-09 20:16:35 +01:00
super("w:rPr");
2016-03-30 03:50:53 +01:00
}
2016-03-30 04:32:51 +01:00
2017-03-08 20:32:30 +00:00
public push(item: XmlComponent): void {
2016-04-09 20:16:35 +01:00
this.root.push(item);
2016-03-30 04:30:58 +01:00
}
2016-03-30 03:50:53 +01:00
}