diff --git a/ts/docx/run/break.ts b/ts/docx/run/break.ts index f7845853a9..1aad4ca484 100644 --- a/ts/docx/run/break.ts +++ b/ts/docx/run/break.ts @@ -1,8 +1,8 @@ -import {XmlComponent} from "../xml-components"; +import { XmlComponent } from "../xml-components"; export class Break extends XmlComponent { constructor() { super("w:br"); } -} \ No newline at end of file +} diff --git a/ts/docx/run/caps.ts b/ts/docx/run/caps.ts index 0b1e53ef5d..d1e0f8f2cb 100644 --- a/ts/docx/run/caps.ts +++ b/ts/docx/run/caps.ts @@ -1,4 +1,4 @@ -import {XmlComponent} from "../xml-components"; +import { XmlComponent } from "../xml-components"; export class SmallCaps extends XmlComponent { diff --git a/ts/docx/run/formatting.ts b/ts/docx/run/formatting.ts index 8be2240f18..2471b359cd 100644 --- a/ts/docx/run/formatting.ts +++ b/ts/docx/run/formatting.ts @@ -1,11 +1,11 @@ -import {XmlComponent, Attributes} from "../xml-components"; +import { Attributes, XmlComponent } from "../xml-components"; export class Bold extends XmlComponent { constructor() { super("w:b"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -15,7 +15,7 @@ export class Italics extends XmlComponent { constructor() { super("w:i"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -25,7 +25,7 @@ export class Caps extends XmlComponent { constructor() { super("w:caps"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -35,7 +35,7 @@ export class Color extends XmlComponent { constructor(color: string) { super("w:color"); this.root.push(new Attributes({ - val: color + val: color, })); } } @@ -45,7 +45,7 @@ export class DoubleStrike extends XmlComponent { constructor() { super("w:dstrike"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -55,7 +55,7 @@ export class Emboss extends XmlComponent { constructor() { super("w:emboss"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -65,7 +65,7 @@ export class Imprint extends XmlComponent { constructor() { super("w:imprint"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -75,7 +75,7 @@ export class Shadow extends XmlComponent { constructor() { super("w:shadow"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -85,7 +85,7 @@ export class SmallCaps extends XmlComponent { constructor() { super("w:smallCaps"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -95,7 +95,7 @@ export class Strike extends XmlComponent { constructor() { super("w:strike"); this.root.push(new Attributes({ - val: true + val: true, })); } } @@ -105,7 +105,7 @@ export class Size extends XmlComponent { constructor(size: number) { super("w:sz"); this.root.push(new Attributes({ - val: size + val: size, })); } -} \ No newline at end of file +} diff --git a/ts/docx/run/properties.ts b/ts/docx/run/properties.ts index 9fc14d1f91..7c781fe04c 100644 --- a/ts/docx/run/properties.ts +++ b/ts/docx/run/properties.ts @@ -1,4 +1,4 @@ -import {XmlComponent} from "../xml-components"; +import { XmlComponent } from "../xml-components"; export class RunProperties extends XmlComponent { @@ -6,7 +6,7 @@ export class RunProperties extends XmlComponent { super("w:rPr"); } - push(item: XmlComponent): void { + public push(item: XmlComponent): void { this.root.push(item); } } diff --git a/ts/docx/run/run-fonts.ts b/ts/docx/run/run-fonts.ts index a3ffa89f84..cc542934ae 100644 --- a/ts/docx/run/run-fonts.ts +++ b/ts/docx/run/run-fonts.ts @@ -1,4 +1,4 @@ -import {XmlAttributeComponent, XmlComponent} from "../xml-components"; +import { XmlAttributeComponent, XmlComponent } from "../xml-components"; interface IRunFontAttributesProperties { ascii: string; diff --git a/ts/docx/run/script.ts b/ts/docx/run/script.ts index 60a695e652..86d328c8ae 100644 --- a/ts/docx/run/script.ts +++ b/ts/docx/run/script.ts @@ -1,11 +1,11 @@ -import {XmlComponent, Attributes} from "../xml-components"; +import { Attributes, XmlComponent } from "../xml-components"; abstract class VerticalAlign extends XmlComponent { constructor(type: string) { super("w:vertAlign"); this.root.push(new Attributes({ - val: type + val: type, })); } } @@ -22,4 +22,4 @@ export class SubScript extends VerticalAlign { constructor() { super("subscript"); } -} \ No newline at end of file +}