41 lines
751 B
TypeScript
41 lines
751 B
TypeScript
import {XmlComponent, Attributes} from "../../docx/xml-components";
|
|
|
|
export class Bold extends XmlComponent {
|
|
|
|
constructor() {
|
|
super("w:b");
|
|
this.root.push(new Attributes({
|
|
val: true
|
|
}));
|
|
}
|
|
}
|
|
|
|
export class Italics extends XmlComponent {
|
|
|
|
constructor() {
|
|
super("w:i");
|
|
this.root.push(new Attributes({
|
|
val: true
|
|
}));
|
|
}
|
|
}
|
|
|
|
export class Underline extends XmlComponent {
|
|
|
|
constructor() {
|
|
super("w:u");
|
|
this.root.push(new Attributes({
|
|
val: true
|
|
}));
|
|
}
|
|
}
|
|
|
|
export class Caps extends XmlComponent {
|
|
|
|
constructor() {
|
|
super("w:u");
|
|
this.root.push(new Attributes({
|
|
val: true
|
|
}));
|
|
}
|
|
} |