Highlighting

This commit is contained in:
Forman
2019-08-05 13:42:45 +03:00
parent 9e8d67c4a9
commit fa710d1ba6
12 changed files with 285 additions and 2 deletions

View File

@ -58,4 +58,12 @@ export class CharacterStyle extends Style {
this.root.push(new SemiHidden());
return this;
}
public highlight(color: string): CharacterStyle {
return this.addRunProperty(new formatting.Highlight(color));
}
public shadow(value: string, fill: string, color: string): CharacterStyle {
return this.addRunProperty(new formatting.Shadow(value, fill, color));
}
}