Feeds:
Posts
Comments

Archive for August, 2008

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

Advertisements

Read Full Post »