Re: creating fillable forms, possibly in/from existing PDF file?

2017-05-18 Thread Tilman Hausherr

Am 18.05.2017 um 05:09 schrieb Gary Grosso:

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



Yes.



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



RE: creating fillable forms, possibly in/from existing PDF file?

2017-05-18 Thread Gary Grosso
Thanks, Andreas. I think I got there as the result of a Google search.

This time I specifically went to 
https://www.mail-archive.com/users@pdfbox.apache.org/ and things are working 
much better.

Gary


-Original Message-
From: Andreas Lehmkühler [mailto:andr...@lehmi.de] 
Sent: Thursday, May 18, 2017 2:20 AM
To: users@pdfbox.apache.org
Subject: RE: creating fillable forms, possibly in/from existing PDF file?


> Gary Grosso <gary.gro...@oberontech.com> hat am 18. Mai 2017 um 05:09 
> geschrieben:
> 
> 
> 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=pdfbox-users%40incubator.apache.org=PDDocument=16=9===1y=2016-05-15==relevance
> 
> results in:
> 
> "No matches were found for PDDocument date:[20150516 TO 20170515]"
You are using the wrong ml-address, replace "pdfbox-us...@incubator.apache.org" 
with "users@pdfbox.apache.org". The former one was deprecated in 2009 when 
pdfbox graduated to a top level project.

Andreas
> 
> which I know not to be true.
> 
> Am I searching incorrectly or in the incorrect location?
> 
> Thanks,
> Gary
> 
> -Original Message-
> From: Tilman Hausherr [mailto:thaush...@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-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>

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



RE: creating fillable forms, possibly in/from existing PDF file?

2017-05-18 Thread Andreas Lehmkühler

> Gary Grosso <gary.gro...@oberontech.com> hat am 18. Mai 2017 um 05:09 
> geschrieben:
> 
> 
> 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=pdfbox-users%40incubator.apache.org=PDDocument=16=9===1y=2016-05-15==relevance
> 
> results in:
> 
> "No matches were found for PDDocument date:[20150516 TO 20170515]"
You are using the wrong ml-address, replace "pdfbox-us...@incubator.apache.org" 
with "users@pdfbox.apache.org". The former one was deprecated in 2009 when 
pdfbox graduated to a top level project.

Andreas
> 
> which I know not to be true.
> 
> Am I searching incorrectly or in the incorrect location?
> 
> Thanks,
> Gary
> 
> -Original Message-
> From: Tilman Hausherr [mailto:thaush...@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-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>

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



RE: creating fillable forms, possibly in/from existing PDF file?

2017-05-17 Thread Gary Grosso
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=pdfbox-users%40incubator.apache.org=PDDocument=16=9===1y=2016-05-15==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:thaush...@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-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org


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



Re: creating fillable forms, possibly in/from existing PDF file?

2017-05-17 Thread Tilman Hausherr

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-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org