import {XmlComponent, Attributes} from "../xml-components"; export class Bold implements XmlComponent { private b: Array; xmlKeys = { b: 'w:b' } constructor() { this.b = new Array(); this.b.push(new Attributes({ val: true })); } } export class Italics { private i: Array; xmlKeys = { i: 'w:i' } constructor() { this.i = new Array(); this.i.push(new Attributes({ val: true })); } } export class Underline { private u: Array; xmlKeys = { u: 'w:u' } constructor() { this.u = new Array(); this.u.push(new Attributes({ val: true })); } }