Friday, September 21, 2007

Using DDX for PDF manipulation in ColdFusion 8

While DDX is nothing new to Adobe, it is new to ColdFusion with the latest release of Adobe ColdFusion 8. DDX is an XML document definition that was originally created for Adobe LiveCycle Assembler and is used to describe documents.  DDX elements are used to represent PDF pages, comments, bookmarks, and styled text.

ColdFusion 8 ships with a scaled-down edition of the LiveCycle Assembler that can process a subset of the total DDX definition. In this article, we will look at some of the possibilities with DDX and how its addition to ColdFusion has given developers new tools and capabilities for creating and manipulating PDF documents....

Read the complete tutorial here...


Monday, September 17, 2007

Simple TOC example

I am posting here a simple Table Of Contents(TOC) example using cfpdf.
The DDX File
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns=""
   xsi:schemaLocation=" coldfusion_ddx.xsd">
   <PDF result="Out1">
      <TableOfContents maxBookmarkLevel="infinite" bookmarkTitle="Table of Contents" includeInTOC="true">
      <PDF source="Doc1"/>
      <PDF source="Doc2"/>
The CFM File
<cfset ddxfile = ExpandPath('ddxfiles/toc.ddx')>
<cfset sourcefile1 = ExpandPath('inputfiles/ddx_test1.pdf')>
<cfset sourcefile2 = ExpandPath('inputfiles/ddx_test2.pdf')>
<cfset destinationfile = ExpandPath('results/ddx_result-toc.pdf')>
<cfset inputStruct=StructNew()>
<cfset inputStruct.Doc1="#sourcefile1#">
<cfset inputStruct.Doc2="#sourcefile2#">
<cfset outputStruct=StructNew()>
<cfset outputStruct.Out1="#destinationfile#">
<cfpdf action="processddx" ddxfile="#ddxfile#" inputfiles="#inputStruct#" outputfiles="#outputStruct#" name="ddxVar">

Tuesday, September 11, 2007

CF8 Chf1 and CFMX 7.02 CHF3 are now available

The first hotfix for CF8 is out. 

CHF8000001 -



Also out is the  CFMX 7.02 CHF3


CHF7020003 -



Check it out...


Friday, September 7, 2007

JRun 4 Updater(beta)

Adobe is recruiting CF Customers for the beta program for the new JRun 4 Updater (updater 7).

Sign up here

This updater has

- hotfixes released since U6

- synchronizes with changes made in JRun for the ColdFusion 8 release.(updates to wsconfig to support 64-bit Solaris)