[poppler] ReadOnly AcroForm fields

Jüttner, Hans-Ulrich huj at froreich-bioscientia.de
Wed Jun 14 10:01:38 UTC 2017


Hello,

I've created bug #101419 and added a patch there.

Best regards,
Ulrich

Am 13.06.2017 um 23:33 schrieb Albert Astals Cid:
> 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
>

-- 
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


More information about the poppler mailing list