Rename to more readable names

This commit is contained in:
Dolan
2018-08-07 02:47:24 +01:00
parent cf0c2c7691
commit 92da93a160
9 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
import { XmlComponent } from "file/xml-components";
import { Size, SizeCs } from "../../paragraph/run/formatting";
import { Size, SizeComplexScript } from "../../paragraph/run/formatting";
import { RunProperties } from "../../paragraph/run/properties";
import { RunFonts } from "../../paragraph/run/run-fonts";
@ -14,7 +14,7 @@ export class RunPropertiesDefaults extends XmlComponent {
public size(size: number): RunPropertiesDefaults {
this.properties.push(new Size(size));
this.properties.push(new SizeCs(size));
this.properties.push(new SizeComplexScript(size));
return this;
}

View File

@ -74,7 +74,7 @@ export class ParagraphStyle extends Style {
public size(twips: number): ParagraphStyle {
this.addRunProperty(new formatting.Size(twips));
this.addRunProperty(new formatting.SizeCs(twips));
this.addRunProperty(new formatting.SizeComplexScript(twips));
return this;
}
@ -283,7 +283,7 @@ export class CharacterStyle extends Style {
public size(twips: number): CharacterStyle {
this.addRunProperty(new formatting.Size(twips));
this.addRunProperty(new formatting.SizeCs(twips));
this.addRunProperty(new formatting.SizeComplexScript(twips));
return this;
}
}