Aspose words text box is missing

Hi,
We are using Aspose-words 22.10 with java version 8 on CentOS 7.
For this word file text box is missing in converted PDF,
Aspose words text box is missing.zip (460.5 KB)

@rutuja.mahajan You should use PdfSaveOptions.PreserveFormFields options to preserve form fields in PDF:

Document doc = new Document("C:\\Temp\\in.docx");
PdfSaveOptions opt = new PdfSaveOptions();
opt.setPreserveFormFields(true);
doc.save("C:\\Temp\\out.pdf", opt);

Thank you for your response, can close this topic.

1 Like