[poppler] ReadOnly AcroForm fields
Albert Astals Cid
aacid at kde.org
Tue Jun 13 21:33:15 UTC 2017
El dimarts, 13 de juny de 2017, a les 9:35:44 CEST, Jüttner, Hans-Ulrich va
escriure:
> Hello everybody,
>
> the method FormFieldButton::setState() in poppler/Form.cc checks that
> the field isn't read only, but FormFieldText::setContentCopy() does not.
> This is inconsistent.
Correct, FormFieldText::setContentCopy is correct, would you mind sending a
patch to remove the check from FormFieldButton::setState ?
> How is a PDF software supposed to behave on an
> attempt to fill an AcroForm field which has state "ReadOnly"?
Should not be allowed (but at the UI level, since for example the set can come
from executing JS)
Cheers,
Albert
>
> Best regards,
> Ulrich
>
> --
> Dr. Hans-Ulrich Jüttner
> Software Development
>
> Labor Dr. von Froreich - Bioscientia GmbH
> Großmoorbogen 25
> 21079 Hamburg
> Deutschland
>
> Fon +49 (40) 766 96-305
> Fax +49 (40) 766 96-334
> Web www.froreich-bioscientia.de
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list