Move styles to sub folder

This commit is contained in:
Dolan
2017-12-20 00:52:41 +00:00
parent f1d1570b10
commit 0b8094dea8
14 changed files with 19 additions and 19 deletions

View File

@ -0,0 +1,24 @@
import { Size } from "../../paragraph/run/formatting";
import { RunProperties } from "../../paragraph/run/properties";
import { RunFonts } from "../../paragraph/run/run-fonts";
import { XmlComponent } from "../../xml-components";
export class RunPropertiesDefaults extends XmlComponent {
private properties: RunProperties;
constructor() {
super("w:rPrDefault");
this.properties = new RunProperties();
this.root.push(this.properties);
}
public size(size: number): RunPropertiesDefaults {
this.properties.push(new Size(size));
return this;
}
public font(fontName: string): RunPropertiesDefaults {
this.properties.push(new RunFonts(fontName));
return this;
}
}