You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/11/02 14:19:34 UTC

[jira] [Resolved] (PDFBOX-1574) ImportFDF fails to do anything

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

Andreas Lehmkühler resolved PDFBOX-1574.
----------------------------------------
    Resolution: Fixed
      Assignee: Andreas Lehmkühler

I've found a solution for the remaning issue in the trunk.

PDAppearanceString#setAppearanceValue expects another appearance stream as an already set value and does the same if the value isn't set at all. But there may be a subdirectory of streams and in the case of an unset value the AppearanceEntry is initialized with an empty directoriy instead of a stream.

I've changed the code so that always an appearance stream is set if the exisiting entry is a subdirectory independent of being new or not.

I've added a TODO, so that we can't forget to add support for subdirectories in the future.


> ImportFDF fails to do anything
> ------------------------------
>
>                 Key: PDFBOX-1574
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1574
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.8.7, 2.0.0
>         Environment: Windows 7, Acrobat XI Pro, Eclipse 4.2.1
>            Reporter: Gilad Denneboom
>            Assignee: Andreas Lehmkühler
>              Labels: FDF
>             Fix For: 1.8.8, 2.0.0
>
>         Attachments: 1.pdf, 1_data.fdf, 2.pdf, log.txt
>
>
> I created a dead-simple PDF with form fields in Acrobat and generated an FDF file from it.
> Tried to run ImportFDF on these files and the resulting file is totally blank.
> Attached are the input files (1.pdf, 1_data.fdf), the result file (2.pdf) and the warnings ImportFDF generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)