You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2020/06/20 17:04:00 UTC

[jira] [Updated] (PDFBOX-3835) Text not broken across lines after refreshAppearances

     [ https://issues.apache.org/jira/browse/PDFBOX-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maruan Sahyoun updated PDFBOX-3835:
-----------------------------------
    Attachment: PDFBOX-3835-input-acrobat-wrap.pdf

> Text not broken across lines after refreshAppearances
> -----------------------------------------------------
>
>                 Key: PDFBOX-3835
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3835
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>            Reporter: Simon Steiner
>            Priority: Major
>         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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org