Change table methods and document it
This commit is contained in:
@ -22,7 +22,7 @@ const table = doc.createTable(2, 2).float({
|
||||
table.setFixedWidthLayout();
|
||||
table.setWidth(4535, WidthType.DXA);
|
||||
|
||||
table.getCell(0, 0).addContent(new Paragraph("Hello"));
|
||||
table.getCell(0, 0).addParagraph(new Paragraph("Hello"));
|
||||
table.getRow(0).mergeCells(0, 1);
|
||||
|
||||
const packer = new Packer();
|
||||
|
Reference in New Issue
Block a user