added #thematicBreak method to paragraph styles

This commit is contained in:
felipe
2017-03-12 21:58:12 +01:00
parent df8ba1e8b8
commit 6689f76c28
2 changed files with 25 additions and 0 deletions

View File

@ -156,6 +156,11 @@ export class ParagraphStyle extends Style {
return this;
}
public thematicBreak(): ParagraphStyle {
this.addParagraphProperty(new paragraph.ThematicBreak());
return this;
}
public indent(left: number, hanging?: number): ParagraphStyle {
this.addParagraphProperty(new paragraph.Indent(left, hanging));
return this;