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

@ -133,6 +133,11 @@ export class ParagraphStyle extends Style {
return this;
}
public characterSpacing(value: number): ParagraphStyle {
this.addRunProperty(new formatting.CharacterSpacing(value));
return this;
}
// --------------------- Paragraph formatting ------------------------ //
public center(): ParagraphStyle {