You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "michael-dev@fami-braun.de (JIRA)" <ji...@apache.org> on 2018/03/29 06:42:00 UTC

[jira] [Updated] (PDFBOX-4172) Flatten fails on first form element only

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

michael-dev@fami-braun.de updated PDFBOX-4172:
----------------------------------------------
    Description: 
I've create an PDF form using LibreOffice 5. For this document, the first form element refuses to turn up filled when filling + flattening using PDFBox 2.0.9 als well as trunk (512d016ad08a70dfb512f99d54092f8b586e8345).

It turns out that resolveNeedsTranslation does not encounter any PDFormXObject for the first element of this pdf form element but still returns false, although translation is still needed.

I've created a patch in [https://github.com/michael-dev/pdfbox/tree/bugfix/flattenCorrectly] .

  was:
I've create an PDF form using LibreOffice 5. For this document, the first form element refuses to turn up filled when filling + flattening using PDFBox 2.0.9 als well as trunk (512d016ad08a70dfb512f99d54092f8b586e8345).

It turns out that resolveNeedsTranslation does not encounter any PDFormXObject for the first element of this pdf form element but still returns false, although translation is still needed.


> Flatten fails on first form element only
> ----------------------------------------
>
>                 Key: PDFBOX-4172
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4172
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.9
>            Reporter: michael-dev@fami-braun.de
>            Priority: Major
>
> I've create an PDF form using LibreOffice 5. For this document, the first form element refuses to turn up filled when filling + flattening using PDFBox 2.0.9 als well as trunk (512d016ad08a70dfb512f99d54092f8b586e8345).
> It turns out that resolveNeedsTranslation does not encounter any PDFormXObject for the first element of this pdf form element but still returns false, although translation is still needed.
> I've created a patch in [https://github.com/michael-dev/pdfbox/tree/bugfix/flattenCorrectly] .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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