pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Grosso <gary.gro...@oberontech.com>
Subject RE: creating fillable forms, possibly in/from existing PDF file?
Date Thu, 18 May 2017 03:09:58 GMT
Thanks for your reply, Tilman.

I see PDFBox allows for text field/area (single or multi-line), list box, combo box, check
box, push button, and radio button.

Would it be reasonable to say that implementing a date picker in an acroform should be possible,
but would require JavaScript (e.g., using PDFormFieldAdditionalActions class)?

By the way, it seems it is no longer possible to search the archives. For example, this:

http://www.mail-archive.com/search?a=1&l=pdfbox-users%40incubator.apache.org&haswords=PDDocument&x=16&y=9&from=&subject=&datewithin=1y&date=2016-05-15&notwords=&o=relevance

results in:

"No matches were found for PDDocument date:[20150516 TO 20170515]"

which I know not to be true.

Am I searching incorrectly or in the incorrect location?

Thanks,
Gary

-----Original Message-----
From: Tilman Hausherr [mailto:THausherr@t-online.de] 
Sent: Wednesday, May 17, 2017 1:15 PM
To: users@pdfbox.apache.org
Subject: Re: creating fillable forms, possibly in/from existing PDF file?

Am 17.05.2017 um 18:34 schrieb Gary Grosso:
> Hi,
>
> I am exploring a requirement to generate PDF fillable forms.
>
> A major decision is whether to start with our current PDF (created with a derivative
of PStill), or build it with PDFBox from scratch. In the past I added bookmarks to our existing
PDF files using PDFBox.
>
> I see in the examples (https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/)
that a PDAcroForm instance is being added to a newly created empty PDDocument.
>
> Is it worth considering modifying an existing PDF document to add fillable form fields?
Or should I not waste time with that approach and plan to create a new document from scratch?

IMHO it doesn't make much difference because acroform is separate from the rest. Creating
fields with PDFBox is always tricky.

Tilman



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


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


Mime
View raw message