Fix Numbering (#4)

* Version bump

* (fix): fixed issue with numbering in document
This commit is contained in:
h4buli
2018-04-17 15:33:53 +02:00
committed by GitHub
parent 810ccb40d7
commit c92cab5e5b
3 changed files with 18 additions and 55 deletions

View File

@ -136,6 +136,11 @@ export class Paragraph extends XmlComponent {
return this;
}
public setCustomNumbering(numberId: number, indentLevel: number): Paragraph {
this.properties.push(new NumberProperties(numberId, indentLevel));
return this;
}
public style(styleId: string): Paragraph {
this.properties.push(new Style(styleId));
return this;