I have a PDF form I imported into LiveCycle Designer to add form field and do the tabbing order. The form is 22 pages long. After I added all my form fields, the file size was 1.7 mb.
I went back in and added a reset form button and about 30 lines of simple javascript. Now, everytime I save the PDF in LiveCycle, it grows by ~700kb. I can open the document in Acrobat and save it with no file size problem, open it in LiveCycle and save, gets bigger again. I tried opening the saved PDF in Acrobat and running the optimizer, but it doesn't reduce the size at all.
I have Adobe Livecycle Designer ES Version 8.2.1.4029.1.523496 on Windows XP.
I saw another post on here about LiveCycle increasing the file size (http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=16411), but I thought the latest patch resolved this issue.
In the above post it going into the XDP file and deleting some lines of code. I have no idea what/where/how to get into the XDP file or even if this is the same problem.
I'm pretty much a newbie when it comes to LiveCycle.
Thanks,
James
check the XML-source of your growing file.
If the code line <?templateDesigner StyleID aped2?> or <?templateDesigner StyleID aped3?> is repeated over and over again, you're victim of a LiveCycle bug.
To handle this, save the form as XDP and open it with a hex editor like "Tiny Hexer".
Search for the code line and the use the function "find and replace" to find all of this lines and replace them with nothing.
Then save the file and reopen it with LiveCycle Designer and save it again.
By the way.
If you save the form as a dynamic PDF (XFA) then Acrobats optimizer won't have any effect.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs