I’m using the following code to insert html into a textbox :
String defaultText = HTMLTEXT;
Paragraph paragraph = new Paragraph(doc);
Run run = new Run(doc);
paragraph.appendChild(run);
textbox.appendChild(paragraph);
builder.moveTo(textbox.getLastParagraph().getLastChild());
builder.insertHtml(defaultText);
builder.moveToDocumentEnd();
This works but NOTHING is rendered after the textbox is written to the document. The code does not throw any errors, just nothing else is output to the rendered document.