Hi,

Thank you for offering to help!

> Also: you didn't provide the PDF, XML and JAVA files

Unfortunately I can't provide the PDF and XML publicly. I could send you 
a copy to an individual mailadress, though.

The java is really not much more than what I have posted. I have 
uploaded the two simple Java files to:

   http://www.marian-aldenhoevel.de/tmp/DumpXFA.java
   http://www.marian-aldenhoevel.de/tmp/Seal.java

Jars compiled from that source are in:

   http://www.marian-aldenhoevel.de/tmp/dumpxfa.java
   http://www.marian-aldenhoevel.de/tmp/seal.jar

For testing I run it somewhat like this. Starting from a file:

   input.pdf

I do:

   java -jar dumpxfa.jar input.pdf > input.xfa

And get:

   input.xfa

I inspect that, mhm xml, makes sense, and then copy it to input.new.xfa 
and edit it. Then I do:

   java -jar seal.jar input.pdf > output.pdf

Currently I get a output.pdf that has changed a bit. So it is processed 
in some way. The size is different for instance. But the XML did not get 
replaced. No matter what changes I make to the input.new.xfa, they never 
make it into the final PDF.

In the extreme case I deleted all from the XML file but the document 
element (expecting the result to be totally broken of course). The 
resulting PDF still is the same size and looks unchanged.

Ciao, MM

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to