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 result="Final2.pdf">

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




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

      For example,

      <PDFsFromBookmarks prefix="stmt">

           <PDF source="doc1.pdf"/>



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