pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "abogdanov@accusoft.com"<abogda...@accusoft.com>
Subject Re: widget.getPage() // return null
Date Wed, 28 Sep 2016 14:14:34 GMT
> Because it hasn't been set.
How can it be set? How is it possible that Acroforms doesn't have a page associated with it?
Acroform should always be within some page, right?

On 2016-09-27 19:31 (+0300), Tilman Hausherr <THausherr@t-online.de> wrote: 
> 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
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message