Files
docx-js/src/file/styles/defaults/paragraph-properties.ts

10 lines
375 B
TypeScript
Raw Normal View History

import { IParagraphStylePropertiesOptions, ParagraphProperties } from "file/paragraph/properties";
import { XmlComponent } from "file/xml-components";
2016-04-09 02:04:53 +01:00
2016-04-09 20:16:35 +01:00
export class ParagraphPropertiesDefaults extends XmlComponent {
constructor(options?: IParagraphStylePropertiesOptions) {
2016-04-09 20:16:35 +01:00
super("w:pPrDefault");
this.root.push(new ParagraphProperties(options));
2016-04-09 02:04:53 +01:00
}
2017-03-09 09:45:01 +01:00
}