Added character spacing attribute

This commit is contained in:
bre7
2018-09-19 18:41:55 -03:00
parent a9c69664c7
commit 6da3efdacc
3 changed files with 30 additions and 0 deletions

View File

@ -25,6 +25,17 @@ export class BoldComplexScript extends XmlComponent {
}
}
export class CharacterSpacing extends XmlComponent {
constructor(value: number) {
super("w:spacing");
this.root.push(
new Attributes({
val: value,
}),
);
}
}
export class Italics extends XmlComponent {
constructor() {
super("w:i");