add complex font support to bold and italic
This commit is contained in:
@ -14,6 +14,17 @@ export class Bold extends XmlComponent {
|
||||
}
|
||||
}
|
||||
|
||||
export class BoldCs extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:bCs");
|
||||
this.root.push(
|
||||
new Attributes({
|
||||
val: true,
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export class Italics extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:i");
|
||||
@ -25,6 +36,17 @@ export class Italics extends XmlComponent {
|
||||
}
|
||||
}
|
||||
|
||||
export class ItalicsCs extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:iCs");
|
||||
this.root.push(
|
||||
new Attributes({
|
||||
val: true,
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export class Caps extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:caps");
|
||||
|
Reference in New Issue
Block a user