You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2017/06/21 11:13:00 UTC

[jira] [Updated] (PDFBOX-3835) Line not broken after refreshAppearances

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

simon steiner updated PDFBOX-3835:
----------------------------------
    Attachment: input.pdf

> Line not broken after refreshAppearances
> ----------------------------------------
>
>                 Key: PDFBOX-3835
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3835
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>            Reporter: simon steiner
>         Attachments: 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();
> Line is not broken over lines



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org