What is RSS?
RE: PDf file With Form Field
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Java Programming > RE: PDf file With Form Field 18 June 2002 23:07:59

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

RE: PDf file With Form Field

Manohar Patil 18 June 2002 01:49:40
 Hi
Thx for u r mail.

When I tried to import the package "import
com.lowagie.text.pd­f.PdfAcroForm;" , it is not allowing me to import the
same.

It is saying that it is refering a file outside a classpath.

Please let me know if there is any soln. for this


Thx and regards

Manohar



-----Original Message-----
From: David Teran [mailto:david.teran@cluster9.com]
Sent: Monday, June 17, 2002 3:12 PM
To: Patil, Manohar (CAP, GEFA, Contractor)
Cc: 'itext-questions@li­sts.sourceforge.net.­'
Subject: Re: [iText-questions] PDf file With Form Field

I want to generate a PDF with some static data and some Form Fields so
that> in the Forms Field user can enter the text.>
Is it possible to generate a PDF with Form field using iText ? How ?>
Yes, this is possible. ASAIK you cannot use the higher level API, you must
use methods in the pdf package. Look for AcroForm class and Advanced PDF
tutorial.

regards, david

Thanks In advance>
Manohar Patil>
___________________­____________________­____________________­____>
Sponsored by:> ThinkGeek at http://www.ThinkGee­k.com/> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net> https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>
---
David Teran
cluster9, David Teran

Juedenstrasse 13
37073 Goettingen
Germany

Mail: david.teran@cluster­9.com
Phone: +49 (0) 551 48 83 077
Fax: +49 (0) 551 48 83 079

-------------------­--------------------­--------------------­-----------------
Bringing you mounds of caffeinated joy >>> http://thinkgeek.co­m/sf <<<
Add comment
Manohar Patil 18 June 2002 23:07:59 permanent link ]
 Hi ,

I want to create a PDF with a multiline text form Field.
For the same the code is as follows
.....
writer = PdfWriter.getInstan­ce(document, new
FileOutputStream("C­:\\Chap13_form.pdf")­);
PdfAcroForm acroForm = writer.getAcroForm(­);
document.open();

PdfFormField field = PdfFormField.create­TextField(writer,
PdfFormField.MULTIL­INE, PdfFormField.PLAINT­EXT, 0);
field.setMKBackgrou­ndColor(new Color(255,0,0));
field.setPage();
acroForm.addFormFie­ld(field);
document.close();
.....

But while running it is giving the error that :-

ExceptionConverter:­ java.lang.RuntimeEx­ception: 1 annotations had invalid
placement pages.
at com.lowagie.text.pd­f.PdfDocument.close(­Unknown Source)
at com.lowagie.text.Do­cument.close(Unknown­ Source)
at
com.gefa.genius.ser­vices.test.Chap13_fo­rm.main(TestFormFiel­d.java:74)
Exception in thread "main"

What could be the problem ?

Thx and regards

Manohar



-----Original Message-----
From: David Teran [mailto:david.teran@cluster9.com]
Sent: Monday, June 17, 2002 3:12 PM
To: Patil, Manohar (CAP, GEFA, Contractor)
Cc: 'itext-questions@li­sts.sourceforge.net.­'
Subject: Re: [iText-questions] PDf file With Form Field

I want to generate a PDF with some static data and some Form Fields so
that> in the Forms Field user can enter the text.>
Is it possible to generate a PDF with Form field using iText ? How ?>
Yes, this is possible. ASAIK you cannot use the higher level API, you must
use methods in the pdf package. Look for AcroForm class and Advanced PDF
tutorial.

regards, david

Thanks In advance>
Manohar Patil>
___________________­____________________­____________________­____>
Sponsored by:> ThinkGeek at http://www.ThinkGee­k.com/> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net> https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>
---
David Teran
cluster9, David Teran

Juedenstrasse 13
37073 Goettingen
Germany

Mail: david.teran@cluster­9.com
Phone: +49 (0) 551 48 83 077
Fax: +49 (0) 551 48 83 079

-------------------­--------------------­--------------------­-----------------
Bringing you mounds of caffeinated joy >>> http://thinkgeek.co­m/sf <<<
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Java Programming > RE: PDf file With Form Field 18 June 2002 23:07:59

see also:
[Installation, Configuration &…
[JBossCache] - Performence
pass tests:
see also:
Tips:How to Burn BitTorrent Movies to…
Hallo everybody, I am new
Wow

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .