added Cell#createParagraph method

This commit is contained in:
felipe
2017-03-11 10:30:08 +01:00
parent bd3eb3e214
commit bd9d6b74f5
2 changed files with 27 additions and 0 deletions

View File

@ -108,6 +108,11 @@ class TableCell extends XmlComponent {
}
return retval
}
public createParagraph(text?: string): Paragraph {
const para = new Paragraph(text);
this.push(para);
return para;
}
}