----- Original Message ----- From: "Chris Groenewald" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, April 02, 2005 3:32 PM Subject: [iText-questions] Javascript disappears after removing XFA, and Compression.
> Hi all, > > I've seen in the mail archives that one can remove the XFA from a Acrobat 7 > form to make filling of the form possible. And it works too. But I've also > seen one nasty side effect: The client-side JavaScript in the PDF goes > missing. > > Is there any way to preserve the JavaScript in the document after having > removed the XFA form? > No. I don't have Acrobat 7 but I'm surprised that forms compatible with Acrobat 5 and 6 can't be created. > If not, is there a way to re-add the JS to the form in a way that it'll > work? > Yes. It's easy if you know what to do. > Secondly: > > When setting Full Compression, the obvious happens, the pdf doesn't work > with older versions of Reader. > > But I have seen some products that support "compression" in a way that the > pdf's still work with older readers. > Only some parts are compressed in that case, usually structure content or bookmarks. Nothing that would really help you. > Now here is what I want to know: "Full Compression" implies that there are > some lower forms of compression. Are there? Is this normally applied > automatically because all readers support it? etc. I don't see much in the > docs about this. Just the ability to "set full compression". > Full compression is actually object streams. It was introduced in pdf 1.5. All the streams are compressed, hence the "full compression", streams and objects. You should read the first chapters of the pdf reference, it's very useful to know what can be done and can't be done. > Thanks for the help and time. > Chris. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
