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 <sa...@fileaffairs.de> on 2014/08/28 18:23:18 UTC
AcroForm fields and appearance stream generation
Hi,
there are cases where a form field doesn’t contain an appearance e.g. when the form was filled and the NeedAppearances flag in the forms dictionary has been set. In such cases for rendering an appearance stream needs to be generated.
Am I right that for PDFBox
# we should respect a NeedAppearances flag when setting a fields value so that we don’t generate an appearance stream in that case
# we shouldn’t generate an appearance stream during the parsing stage if none exists
# we shall generate an appearance stream if non exists when rendering the PDF
BR
Maruan
Re: AcroForm fields and appearance stream generation
Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,
Am 28.08.2014 18:23, schrieb Maruan Sahyoun:
> Hi,
>
> there are cases where a form field doesn’t contain an appearance e.g. when the form was filled and the NeedAppearances flag in the forms dictionary has been set. In such cases for rendering an appearance stream needs to be generated.
>
> Am I right that for PDFBox
> # we should respect a NeedAppearances flag when setting a fields value so that we don’t generate an appearance stream in that case
+1
> # we shouldn’t generate an appearance stream during the parsing stage if none exists
+1
> # we shall generate an appearance stream if non exists when rendering the PDF
+1
> BR
> Maruan
BR
Andreas Lehmkühler