ColdFusion 8 is released...
Adobe ColdFusion 8 has officially been released.
Check it out here
Here is the official press release.
Enjoy CF 8.
Posted by
Ahamad
on
Tuesday, July 31, 2007
1 comments
A common blog to discuss all PDF related issues of ColdFusion 8.
Posted by
Ahamad
on
Tuesday, July 31, 2007
1 comments
Posted by
Ahamad
on
Wednesday, July 25, 2007
8
comments
In case you were wondering, the official ColdFusion 8 release date is not July 31st, 2007.
Posted by
Ahamad
on
Tuesday, July 24, 2007
0
comments
Posted by
Ahamad
on
Thursday, July 05, 2007
6
comments
The datafile attribute name has been changed to xmldata.
xmldata now allows the following kind of sources:
In case of form population(action=populate)
Source = xmlobject/xmlstring/filename/url
and in case of action="read"
Source = file or a variable name.
This change should be reflected in the next build.
Posted by
Ahamad
on
Wednesday, June 27, 2007
0
comments
Posted by
Ahamad
on
Wednesday, June 27, 2007
2
comments
Posted by
Ahamad
on
Wednesday, June 27, 2007
7
comments
Posted by
Ahamad
on
Monday, June 18, 2007
0
comments
Verifies whether a PDF file is valid.
Returns True, if the value returns a valid PDF file. False, otherwise.
syntax
IsPDFFile("path")
Path - Pathname to a PDF file. The pathname can be absolute or relative to the CFM page and must be enclosed in quotation marks.
Example
<!--- The following code shows the action page for a form where a user chooses a PDF document to print. --->
<cfif IsPDFFile("#form.printMe#")>
<cfprint type="PDF" source="#myPDF#">
<cfelse>
<p>This is not a valid PDF file or the PDF document you have chosen is not available.</p>
</cfif>
Ahamad
Posted by
Ahamad
on
Friday, June 15, 2007
0
comments
Posted by
Ahamad
on
Monday, June 11, 2007
4
comments
This new tag introduced into Scorpio ColdFusion 8 is useful in manipulating existing PDF documents.
The following list describes some of the tasks you can perform with the cfpdf tag:
■ Merge several PDF documents into one PDF document.
■ Delete pages from a PDF document.
■ Merge pages from one or more PDF documents and generate a new PDF document.
■ Linearize PDF documents for faster web display.
■ Remove interactivity from forms created in Acrobat® to generate flat PDF documents.
■ Encrypt and add password protection to PDF documents.
■ Generate thumbnail images from PDF documents or pages.
■ Add or remove watermarks from PDF documents or pages.
■ Retrieve information associated with a PDF document, such as the software used to generate the file or the author, and set information for a PDF document, such as the title, author and keywords.
Posted by
Ahamad
on
Saturday, June 09, 2007
51
comments
Coldfusion 8 allows you to populate a pdf form with the xml data(read from a xml file).
Example: Consider a pdf form say, "payslipTemplate.pdf" is to be filled with employee data. The data is present in a xml file, formdata.xml
cfset sourcefile = "#ExpandPath('payslipTemplate.pdf')#"
cfset destinationfile = "#ExpandPath('employeeid123.pdf')#"
cfset datafile = "#ExpandPath('formdata.xml')#"
cfpdfform source="#sourcefile#" destination="#destinationfile#" action="populate" xmldata="#datafile#"
Done...
Posted by
Ahamad
on
Saturday, June 09, 2007
4
comments
The following describes a few of the tasks you can perform with PDF forms:
cfpdfform - Reads data from a form and writes it to a file or populates a form with data from a data source.
cfpdfformparam - A child tag of the cfpdfform tag or the cfpdfsubform tag; populates individual fields in PDF forms.
cfpdfsubform - A child tag of the cfpdfform tag; creates the hierarchy of the PDF form so that form fields are filled properly.
The cfpdfsubform tag contains one or more cfpdpformparam tags.
Posted by
Ahamad
on
Monday, June 04, 2007
35
comments
Scorpio lets you incorporate interactive PDF forms in your application.
You can extract data submitted from the PDF forms, populate form fields from an XML data file or a database, and embed PDF forms in PDF documents created in ColdFusion.
ColdFusion supports interactive forms created with Adobe Acrobat forms and with LiveCycle.
In Adobe Acrobat 6.0 or earlier, you can create interactive Acroforms. Using Adobe LiveCycle
Designer, which is provided with Adobe Acrobat Professional 7.0 and later, you can generate
interactive forms.
The type of form is significant because it affects how you manipulate the data in ColdFusion.
For example, you cannot use an XML data file generated from a form created in Acrobat to
populate a form created in LiveCycle, and vice versa, because the XML file formats differ
between the two types of forms.
Forms created in Acrobat use the XML Forms Data Format (XFDF) file format. Forms
created in LiveCycle use the XML Forms Architecture (XFA) format introduced in Acrobat
and Reader 6.
The file format also affects how you prefill fields in a form from a data source, because you must
map the data structure as well as the field names.
The use of JavaScript also differs based on the context. The JavaScript Object Model in a PDF
file differs from the HTML JavaScript Object Model. Consequently, scripts written in
HTML JavaScript do not apply to PDF files. Also, JavaScript differs between forms created in
Acrobat and those created in LiveCycle: scripts written in one format do not work with other.
Posted by
Ahamad
on
Sunday, June 03, 2007
15
comments
Hi All,
This blog is dedicated to pdf features of ColdFusion 8.
Discuss all PDF(cfpdf and pdfforms) related issues in ColdFusion 8.
Regards,
-ahamad
Posted by
Ahamad
on
Wednesday, May 30, 2007
1 comments