I am working with PDFBox v2 and boxable and I need to generate a cell with 2 rows inside.
I tried to make like wiki explains, but in my app cell content prints literally.
The code for generate inner table is:
activeRow.createCell(100f, "<table><tr><td> R1 </td></tr><tr><td> R2 </td></tr></table>");
What is going wrong?
Thanks!
I respond to my own question.
The problem is call to createCell()
. The correct method to create inner table is createTableCell()
.