Feeds:
Posts
Comments

Posts Tagged ‘DDX’

Document Builder
Document Builder is WYSIWYG editor for DDX and ships with LiveCycle Workbench ES2. In previous releases of LiveCycle ES you had to hand code DDX; Document Builder gives you tools to design, validate and test DDX files in a graphical manner.

What is DDX?
To specify documents that you want the Assembler service to produce, you use an XML-based language called Document Description XML (DDX). DDX is a declarative markup language whose elements represent building blocks of documents. These building blocks include PDF pages and other elements such as comments, bookmarks, and styled text. The DDX document can be considered a template for the document(s) that you want the Assembler service to produce.

Document Builder Features:

  • WYSIWYG editor for designing DDX
  • Full integration with Workbench and Assembler’s Invoke DDX service
  • Schema Validation
  • Ability to test DDX and to preview results
  • Templates for the most commonly used Assembler operations
  • Design and Source modes

newDDX

templates

DB1

DB2

Read Full Post »

If you write DDX this is a must have utility/sample. It is shipped with LC ES 8.2.1 but not deployed by default.

Cooking Instructions:

  1. Locate the adobe-assembler-ivs.ear
    [LC install dir]\LiveCycle8.2\deploy\adobe-assembler-ivs.ear
  2. Copy this into:
    [LC install dir]\LiveCycle8.2\jboss\server\all\deploy\.
  3. No need to bounce the server, just go to:
    http://%5Byour server]:8080/Assembler

Your DDX goes into the left pane (or) you can start with a sample that can be accessed from the menu. The inputs are specified on the right, and the key name is the folder name. The key will map to one or more files that are dragged onto the folder.

assemblerivs

Cheers,
_Seth

Read Full Post »

Here is a collection of Assembler DDX files that I often refer to. The complete Assembler DDX reference can be found here: LiveCycle ES Update 1 DDX Reference

There is a great little sample application that comes with LiveCycle that is not automatically deployed. The sample app allows you to easily experiment with DDX. Please refer to my post Using Assembler DDX UI (Assembler IVS)

Assemble an unknown number of documents:

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<PDF result=”rpt_assembleDoc_kpi_001.pdf”>
<PDF sourceMatch=”.*”/>
</PDF>
</DDX>

Flattening Forms:

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<PDF result=”rpt_flattenform_kpi_002.pdf”>
<PDF source=”doc1.source”>
<NoForms/>
</PDF>
</PDF>
</DDX>

or

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<PDF result=”rpt_xfastripping_001.pdf”>
<PDF source=”doc1.source”>
<NoXFA/>
</PDF>
</PDF>
</DDX>

Add a watermark:

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<PDF result=”rpt_watermarks_kpi_002.pdf” save=”Full”>
<Watermark rotation=”45″ opacity=”50%”>
<StyledText>
<p font-family=”Minion Pro” color=”red” font-size=”72pt”>Watermark</p>
</StyledText>
</Watermark>
<PDF source=”doc1.source” />
</PDF>
</DDX>

Adding a header and a footer:

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<PDF result=”rpt_headersFooters_kpi_002.pdf”>
<PDF source=”doc1.source” >
<Header>
<Center>
<StyledText>
<p font-family=”Minion Pro” font-size=”10pt”>Test Header Center</p>
</StyledText>
</Center>
</Header>
<Footer>
<Center>
<StyledText>
<p font-family=”Minion Pro” font-size=”10pt”>Test Footer Center</p>
</StyledText>
</Center>
</Footer>
</PDF>
</PDF>
</DDX>

Setting the view state of a PDF:

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<InitialViewProfile name=”basicProfile” show=”BookmarksPanel” pageLayout=”Facing” magnification=”Default” openToPage=”1″/>
<PDF result=”rpt_initialView_001.pdf” initialView=”basicProfile”>
<PDF source=”doc1.source”/>
</PDF>
</DDX>

Adding page labels:

<DDX xmlns=”http://ns.adobe.com/DDX/1.0/”&gt;
<PDF result=”rpt_pageLabels_001.pdf”>
<PDF source=”doc1.source”>
<PageLabel mode=”Define” start=”_PageNumber” format=”Decimal” prefix=”sideways”/>
</PDF>
</PDF>
</DDX>

Cheers,

_Seth

Read Full Post »

Description: This simple application takes a Dynamic XFA based PDF as input and returns PDF/A compliant PDF. PDF/A is used for long-term archiving of electronic documents and is based on the PDF Reference Version 1.4.

Ingredients:

  • 1 PDF file
  • 1 DDX file (Assembler’s Document Description XML)

Video:
Here is a short video of the construction and invocation of the application – Watch a video of the creation and invocation

Collateral – LiveCycle Archive (.lca) and installation instructions:
pdfa

Cooking Tips:

  • Try adding a LiveCycle watched folder endpoint to this zesty treat

Read Full Post »