added Cell#createParagraph method
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user