Hi,
I want to populate existing PDF with values from
database. Has anyone idea how we can achieve this
using java? I tries few PDF libraries but not getting
any useful pointers.
Thanks in advance,
Jimit
|
|
0
|
|
|
|
Reply
|
Jimit
|
10/7/2004 12:41:56 PM |
|
Jimit Shah wrote:
> Hi,
> I want to populate existing PDF with values from
> database. Has anyone idea how we can achieve this
> using java? I tries few PDF libraries but not getting
> any useful pointers.
>
> Thanks in advance,
> Jimit
Hello-
Does the PDF already have form fields?
Have you tried iText?
Sid Steward
http://www.AccessPDF.com/pdftk/
http://www.pdfhacks.com
|
|
0
|
|
|
|
Reply
|
Sid
|
10/7/2004 5:10:47 PM
|
|
See http://itextpdf.sf.net.
Best Regards,
Paulo Soares
Jimit Shah <jjshah10@yahoo.com> wrote in message news:<k%a9d.38$6p3.23@news.oracle.com>...
> Hi,
> I want to populate existing PDF with values from
> database. Has anyone idea how we can achieve this
> using java? I tries few PDF libraries but not getting
> any useful pointers.
>
> Thanks in advance,
> Jimit
|
|
0
|
|
|
|
Reply
|
varioni
|
10/7/2004 7:26:04 PM
|
|
http://www.pdfbox.org has the capability of doing this. Please try
the nightly build as a couple Form Filling bugs have been fixed.
Look at the org.pdfbox.examples.fdf.SetField for an example of setting
a single form value.
or org.pdfbox.ImportFDF for an example of importing an entire FDF
document.
Ben
Jimit Shah <jjshah10@yahoo.com> wrote in message news:<k%a9d.38$6p3.23@news.oracle.com>...
> Hi,
> I want to populate existing PDF with values from
> database. Has anyone idea how we can achieve this
> using java? I tries few PDF libraries but not getting
> any useful pointers.
>
> Thanks in advance,
> Jimit
|
|
0
|
|
|
|
Reply
|
ben
|
10/7/2004 8:07:30 PM
|
|
Hi Paulo Soares,
As you and Sid Steward has suggested, I looked at iText and some
presentation on that. Thanks a lot for giving pointer. It is really useful
for my purpose.
I have one more query. My requirement is to fill the form by getting fields
from database and populate it. But since the form is already available in
printer tray, I want to retain only field text( Value) in the PDF and
remove other text ( e.g lines, field names, images etc) from the PDF. By
doing this I can print only field values over the form that is available in
printer tray.
Could you please let me know whether is it possible using iText or some
other way?
Infact if I can convert the existing initial PDF( form) also to the PDF
having only place holder for setting Field values..then also it could solve
my purpose, since I can use that pdf ( having only placeholder for fields)
to populate fields.
Thanks once again for giving the pointer,
Jimit
"Paulo Soares" <varioni@yahoo.com> wrote in message
news:dd5bf59b.0410071126.29a8602b@posting.google.com...
> See http://itextpdf.sf.net.
>
> Best Regards,
> Paulo Soares
>
> Jimit Shah <jjshah10@yahoo.com> wrote in message
news:<k%a9d.38$6p3.23@news.oracle.com>...
> > Hi,
> > I want to populate existing PDF with values from
> > database. Has anyone idea how we can achieve this
> > using java? I tries few PDF libraries but not getting
> > any useful pointers.
> >
> > Thanks in advance,
> > Jimit
|
|
0
|
|
|
|
Reply
|
Jimit
|
10/8/2004 6:48:40 AM
|
|
iText can do all that. It's more convenient that you join the mailing
list at http://lists.sourceforge.net/lists/listinfo/itext-questions.
Best Regards,
Paulo Soares
"Jimit" <jjshah10@yahoo.com> wrote in message news:<aWq9d.2$gj1.32@news.oracle.com>...
> Hi Paulo Soares,
>
> As you and Sid Steward has suggested, I looked at iText and some
> presentation on that. Thanks a lot for giving pointer. It is really useful
> for my purpose.
>
> I have one more query. My requirement is to fill the form by getting fields
> from database and populate it. But since the form is already available in
> printer tray, I want to retain only field text( Value) in the PDF and
> remove other text ( e.g lines, field names, images etc) from the PDF. By
> doing this I can print only field values over the form that is available in
> printer tray.
>
> Could you please let me know whether is it possible using iText or some
> other way?
>
> Infact if I can convert the existing initial PDF( form) also to the PDF
> having only place holder for setting Field values..then also it could solve
> my purpose, since I can use that pdf ( having only placeholder for fields)
> to populate fields.
>
> Thanks once again for giving the pointer,
> Jimit
>
> "Paulo Soares" <varioni@yahoo.com> wrote in message
> news:dd5bf59b.0410071126.29a8602b@posting.google.com...
> > See http://itextpdf.sf.net.
> >
> > Best Regards,
> > Paulo Soares
> >
> > Jimit Shah <jjshah10@yahoo.com> wrote in message
> news:<k%a9d.38$6p3.23@news.oracle.com>...
> > > Hi,
> > > I want to populate existing PDF with values from
> > > database. Has anyone idea how we can achieve this
> > > using java? I tries few PDF libraries but not getting
> > > any useful pointers.
> > >
> > > Thanks in advance,
> > > Jimit
|
|
0
|
|
|
|
Reply
|
varioni
|
10/8/2004 2:14:38 PM
|
|
|
5 Replies
204 Views
(page loaded in 8.188 seconds)
|