« Return to Thread: Changing xml-part of PDF and inject it to the final PDF file

Re: Changing xml-part of PDF and inject it to the final PDF file

by araujo.guntin :: Rate this Message:

Reply to Author | View in Thread

Hi...

you could try this: http://www.mail-archive.com/itext-questions@.../msg35296.html

I'm working in a similar project...

Araujo

On Fri, May 9, 2008 at 11:06 AM, Ricardo Matos <ricardo.matos@...> wrote:
Ricardo Matos <ricardo.matos <at> link.pt> writes:

> - With something like this, I can add the "hiding" attribute to the
> nodes I want
> and have a xmldoc with the xml I need. My question now is: how do I "inject"
> these changes to the Stamper? How can I set my stamper, so I can close it and
> have the result I wish in my output pdf file?
>
> I tried using MergeXfaData, SetXfa, ... but with no results. I just can't
> find a way to do it.

Ok. Forget it! I've found the answer!

Just had to use, in the end:
xfaForm.SetXfa(stamper.Writer);

I had tried the setXfa function...but apparently the wrong way! ;)




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

 « Return to Thread: Changing xml-part of PDF and inject it to the final PDF file