[ https://issues.apache.org/jira/browse/PDFBOX-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maruan Sahyoun updated PDFBOX-3835: ----------------------------------- Summary: Wrap long words for multiline text fields (was: Text not broken across lines after refreshAppearances) > Wrap long words for multiline text fields > ------------------------------------------ > > Key: PDFBOX-3835 > URL: https://issues.apache.org/jira/browse/PDFBOX-3835 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Reporter: Simon Steiner > Assignee: Maruan Sahyoun > Priority: Major > Fix For: 2.0.21, 3.0.0 PDFBox > > Attachments: PDFBOX-3835-input-acrobat-wrap.pdf, input.pdf > > > PDDocument doc = PDDocument.load(new File(input)); > PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm(); > if (acroform != null) { > acroform.setNeedAppearances(false); > acroform.refreshAppearances(); > } > doc.save(output); > doc.close(); > Text is not broken into multiple lines -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org