Whatever message this page gives is out now! Go check it out!
| Action | Description |
addWatermark | Adds a watermark image to one or more pages in a PDF document. |
deletePages | Deletes one or more pages from a PDF document. |
addheader | Adds header to a PDF document. |
addfooter | Adds footer to a PDF document. |
removeheaderfooter | Removes header and footer from a PDF document. |
optimize | Reduces the quality of PDF documents by image downsampling and removing unused objects. |
extracttext | Extracts text from the specified pages or the entire PDF documents |
extractimage | Extracts images from the specified pages or the entire PDF document |
transform | Performs page level transformations |
getInfo | Extracts information associated with the PDF document, such as the author, title, and creation date. |
merge | Assembles PDF documents or pages from PDF source files into one output file. |
processddx | Extends the cfpdf tag by providing a subset of Adobe® LiveCycle™ Assembler functionality. This action is the default. |
protect | Password-protects and encrypts a PDF document. |
read | Reads a PDF document into a ColdFusion variable. |
removeWatermark | Removes watermarks from specified pages in a PDF document. |
setInfo | Sets the Title, Subject, Author, and Keywords for a PDF document, |
thumbnail | Generates thumbnail images from specified pages in a PDF document. |
write | Writes PDF output to a file. Also use to flatten forms created in Acrobat and linearize documents. |
| Function | Description |
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. | |
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. | |
Determines whether a PDF object stored in memory is valid. Also verifies the contents of PDF variables generated by the cfdocument and cfpdf tags. |
| Task | Action |
Add a generated table of contents to a PDF document | cfpdf action="processddx" with the TableOfContents DDX element{{cfpdf action="extracttext"}} can also be used. |
Add automatic page numbers to a PDF document | cfpdf action="processddx" with the _PageNumber and _LastPagenumber built-in keys. Valid only in the Header and Footer DDX elements. |
Add headers and footers to a PDF document | cfpdf action="processddx" with the Header and Footer DDX elementsor{{cfpdf action="addheader"}} and cfpdf action="addfooter" |
Add or remove watermarks | cfpdf action="processddx" with the Watermark and Background DDX elements{{cfpdf action="addWatermark"}} and cfpdf action="removeWatermark" |
Change the encryption algorithm for PDF documents | cfpdf action="protect" encrypt="encryption algorithm" |
Change user permissions on a PDF document | cfpdf action="protect" newOwnerPassword="xxxxx"permissions="comma-separated list" |
Delete pages from a PDF document | cfpdf action="deletePages" |
Extract text from a PDF document and export it to an XML file | cfpdf action="processddx" with the DocumentText DDX element |
Flatten (remove interactivity from) forms created in Acrobat | cfpdf action="write" flatten="yes" |
Generate thumbnail images from PDF document pages | cfpdf action="thumbnail"pages="}}page numbers{{" |
Linearize PDF documents for faster web display | cfpdf action="write" saveOption="linear" |
Merge pages and page ranges from multiple documents in different locations into one PDF document | cfpdf action="merge" with multiple cfpdfparam tags |
Merge PDF documents in a directory into one PDF document | cfpdf action="merge" directory="path" |
Password-protect PDF documents | cfpdf action="protect" newUserPassword="xxxx" |
Set the initial view for a PDF document | cfpdf action="processddx" with the InitialViewProfile DDX element |
Create different versions of a PDF document | Duplicate function to clone PDF variables |