That's only possible to happen if you have javascript that modifies the
field when the pdf is loaded in Acrobat.
Best Regards,
Paulo Soares
----- Original Message -----
From: "Rob Czyzewski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 16:41
Subject: [iText-questions] Is there a way to set fields without flattening?
> Here's my code:
>
> try {
> PdfReader reader = new PdfReader("c:\\itext\\Form2.pdf");
> PdfStamper stamp = new PdfStamper(reader, new
> FileOutputStream("c:\\itext\\Form2Altered.pdf"));
>
> AcroFields form = stamp.getAcroFields();
>
> form.setField("form1[0].#subform[0].TextField1[0]", "stuff");
> stamp.setFormFlattening(true);
> stamp.close();
> } catch(Exception e) {
> System.out.println(e.getMessage());
> }
>
> This works just fine, but when I take out the setFormFlattening call the
field
> no longer gets updated. I would like to be able to update the field
without
> having to flatten it because I want the user to be able to modify it at a
later
> time. Is this possible?
>
> Thanks,
> Rob
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions