pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: widget.getPage() // return null
Date Tue, 27 Sep 2016 16:31:15 GMT
Am 27.09.2016 um 13:47 schrieb Kirill Accusoft:
> Inline image 1Hello.
> My name is Kirill Dubinin, I am developer from Accsuoft.
>
> I have got a trouble with some pdf docs (in attach), here is the my steps:
>
> *acroform = doc.getDocumentCatalog().getAcroForm();*
> *fields = acroform.getFields();*
> *w = fields[0].getWidget();*
> *
> *
> *???*
> *w.getPage() // Return null *
> *???*
> *
> *
> Why widget.getPage return null ?

Because it hasn't been set.


> And looks like field object is not valid too.

Why do you think that?

Tilman

Mime
View raw message