0 Replies Latest reply on Sep 24, 2012 2:04 AM by ashish gupta.

    Split a long PDF form programmatically into smaller PDF forms

    ashish gupta. Adobe Employee

      You can programmatically split forms using LC Assembler service and use the DDX. You could extract page1 from pdf1 and create a pdf, then page2 of pdf1 into a different PDF using something similar to:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <DDX xmlns="http://ns.adobe.com/DDX/1.0/">

      <PDF result="Final.pdf">

           <PDF source="PDF1.pdf" pages="1"/>

      </PDF>

      <PDF result="Final2.pdf">

            <PDF source="PDF1.pdf" pages="2"/>

      </PDF>

      </DDX>

       

      To split according to Level 1 bookmarks, you can also use the PDFFromBookmarks tag.

      For example,

      <PDFsFromBookmarks prefix="stmt">

           <PDF source="doc1.pdf"/>

      </PDFsFromBookmarks>

       

      More info is available in the Assembler Service and DDX Reference available at http://help.adobe.com/en_US/livecycle/10.0/ddxRef.pdf.