1 Reply Latest reply on Jul 7, 2009 5:23 AM by Hodmi

    Export/Import xml from dynamic pdf form using java

    sethu.r

      Hi,

       

      I have been searching for the last 2-3 days on the internet for this. Some posts do talk about it, but none have provided the answer I was looking for. Hopefully this is the correct forum to post the question in.

       

      I am working on a desktop swing application that works on extracting and changing data in a XFA form, I would like to export the form's content modify it and import it back using java. This is so easy with the Adobe Reader, where it nicley exports the form content as an XML document, you can change it manually and the import the data back. I am searching for a way of doing this in java. I found XPAAJ.jar mentioned in some forums, that may make this easy. I havent been able to use it, since I cant find it anywhere.

       

      I found a blog from Mike Potter

      http://blogs.adobe.com/mikepotter/2006/07/download_xpaaj.html

       

      This says that XPAAJ is free as long as I use it on forms developed using livecycle. I dont own livecycle, but the forms that I am working has been built using livecycle.  So my questions are:

       

      1. Is XPAAJ the correct library to use, to export and import XML data from a dynamic pdf form?

      2. Is XPAAJ free to use and distribute as long as it works on pdf forms developed by livecycle?

      3. Where can I download XPAAJ from?

      4. If XPAAj is no longer available, is there any other free library that does this?

      5. If there isn't any free library, how much would cost me to use and distribute the library along with my desktop application?

       

      Thanks

      Sethu

        • 1. Re: Export/Import xml from dynamic pdf form using java
          Hodmi Level 4

          Hi Sethu;

           

          First, its important to know that xpaaj never was a supported piece of software.  It was supplied "as is" with no support from Adobe.  It has been pulled and is no longer available from the Adobe web site.  Mike's blog is from 2006, so its really old information.

           

           

          1. Is XPAAJ the correct library to use, to export and import XML data from a dynamic pdf form?

          While the xpaaj library will import and export data to/from a form on the client, Adobe now recommends using the LiveCycle ES Forms server.

           

          2. Is XPAAJ free to use and distribute as long as it works on pdf forms developed by livecycle?

          The license stated that you need to own one of Adobe's server side products (not LiveCycle Designer, but one of the server side LiveCycle products).

           

          3. Where can I download XPAAJ from?

          XPAAJ was pulled by Adobe.  They found a few bugs and since it was unsupported software they just pulled it from the web site.

           

          4. If XPAAj is no longer available, is there any other free library that does this?

          Not from Adobe.  Adobe recommends using the LiveCycle ES Forms software for merging data and forms.

           

          5. If there isn't any free library, how much would cost me to use and distribute the library along with my desktop application?

          As far as I know there Adobe doesn't have a client side library available for this (merging dynamic XDP based forms with data).