Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 936

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
The
action extends the
processddx
use the
action to process Document Description XML (DDX) instructions explained in
processddx
perform advanced
tasks" on page 943. Using DDX instructions requires more coding, but it lets you perform complex
tasks, such as generating a table of contents and adding automatic page numbers.
Also, ColdFusion provides three functions for PDF file, DDX file, and PDF variable verification:
Function
Description
IsDDX
Determines whether a DDX file, path, and instructions are not null and are valid. Also verifies that ColdFusion
supports the schema used for the DDX instructions.
IsPDFFile
Determines whether a PDF source file, path, and version are valid and supported on the server running
ColdFusion. Also verifies whether a PDF file is corrupted.
IsPDFObject
Determines whether a PDF object stored in memory is valid. Also verifies the contents of PDF variables
generated by the
The following table describes a few document assembly tasks that you can perform with ColdFusion:
Task
Add a generated table of contents to a PDF document
Add automatic page numbers to a PDF document
Add headers and footers to a PDF document
Add or remove watermarks
Change the encryption algorithm for PDF documents
Change user permissions on a PDF document
Delete pages from a PDF document
Extract text from a PDF document and export it to an XML
file
Flatten (remove interactivity from) forms created in Acrobat
Generate thumbnail images from PDF document pages
Linearize PDF documents for faster web display
Merge pages and page ranges from multiple documents in
different locations into one PDF document
Merge PDF documents in a directory into one PDF
document
tag by providing a subset of Adobe LiveCycle Assembler functionality. You
cfpdf
cfdocument
and
cfpdf
tags.
Action
cfpdf action="processddx"
cfpdf action="extracttext"
cfpdf action="processddx"
_LastPagenumber
elements.
cfpdf action="processddx" with
elements
or
cfpdf action="addheader"
cfpdf action="processddx"
elements
cfpdf action="addWatermark"
action="removeWatermark"
cfpdf action="protect" encrypt="encryption algorithm"
cfpdf action="protect"
newOwnerPassword="xxxxx"permissions
cfpdf action="deletePages"
cfpdf action="processddx"
cfpdf action="write" flatten="yes"
cfpdf action="thumbnail"pages="
cfpdf action="write" saveOption="linear"
cfpdf action="merge"
cfpdf action="merge" directory="path"
Last updated 1/20/2012
with the
TableOfContents
can also be used.
with the
_PageNumber
built-in keys. Valid only in the
Header
the
Header
and
and
cfpdf action="addfooter"
with the
Watermark
and
cfpdf
=
"comma-separated list"
with the
DocumentText
page numbers
with multiple
cfpdfparam
931
"Using DDX to
DDX element
and
and
DDX
Footer
Footer
DDX
and
Background
DDX
DDX element
"
tags

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents