Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

How to merge multiple PDF documents into 1 single PDF document?

Avatar

Level 1

Hello .. I need help on below point ..

I have a requirement in my project wherein I need to merge multiple PDF documents into 1 single PDF document using Adobe LiveCycle. The documents that are to be merged are all created using Adobe LiveCycle. These individual generated PDF documents reside on the server. The end user can select from a list of documents (these could be any number) and select them for viewing and printing.

What I need to do is iterate through the list of all selected documents on the screen and then merge them into 1 single document and present it to the end user.

We use Java and Adobe LiveCycle WebServices for invoking methods to generate these reports. Is there any Webservice or any Java API that can help me achive this task of merging documents?

Looking for your help.

Thanks!

1 Reply

Avatar

Former Community Member

You use Assembler for this purpose.

1) Assembler can be accessed through LC Java API. See http://help.adobe.com/en_US/enterpriseplatform/10.0/programLC/help/index.html

API Quick Starts (Code Examples) > Assembler Service API Quick Starts

2) Last week I posted on generating and merging PDF's from PostScript. Take a look at the assembly service instance in the .lca. Assembler uses DDX (Document Description XML) to describe document construction. NOTE the .lca was developed with ES 3 (aka ADEP). The .lca It contains the most basic DDX.

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

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

<PDF result="out.pdf">

  <PDF source="inDoc1"/>

  <PDF source="inDoc2"/>

</PDF>

</DDX>

http://forums.adobe.com/message/4019760#4019760

DDX Reference at http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf

Steve