The type of data witihn a PDF is not usually the same type of data that makes sense for Excel. That being said, there are multiple other ways to create Excel. cfdocument format=”PDF”>htmlcfdocument> cfdocument Attribute Reference . in the SaveAs dialog when a user saves a PDF file written to the browser. When used with resolveURL, the URLs of retrieved documents that specify a port number are automatically resolved to preserve links in the retrieved document.

Author: Kazrarr Zologal
Country: Australia
Language: English (Spanish)
Genre: Education
Published (Last): 27 January 2013
Pages: 178
PDF File Size: 1.96 Mb
ePub File Size: 7.64 Mb
ISBN: 994-5-21966-950-4
Downloads: 45825
Price: Free* [*Free Regsitration Required]
Uploader: Akidal

Specify either of the following: Email Required, but never shown. Used to identify the request client software. PDF is sent back to the browser instead of saving to a file. Specifies whether ColdFusion cfdpcument fonts in the output: Sign up or log in Sign up using Google.

Specifies the report format. If you specify customalso specify the pageHeight and pageWidth attributes, can optionally specify margin attributes and whether the units are inches or centimeters. If you find that your application must use a lot of cfdocumenthere are some tips for improving performance and rendering. Specifies whether the background prints when the user prints the document: Specify a number less than As Vice-President he strives to keep a forward vision toward new technology to improve customer service, improve employee skill sets and increase company profitability.


When the user opens the file Excel will convert the html table to an Excel spreadsheet. For more information, see the “Using an image file URL” section.

Specify the structure name in the attributeCollection attribute and use the tag’s attribute names as structure keys. This scope contains the following variables:. Use this option to reduce the size of the HTML output so that it fits on that paper. Specifies whether to retrieve image files directly from the local drive: Left margin in inches default or centimeters.

So far I have the folowing code which gives me a pdf page with the message “Connection failure” on it.

Specifies the submitted format of a PDF form. In ColdFusion 9, it’s native.

Document Handling

Do not embed fonts. Specify a number less than User name to cfdocumemt to the proxy server. Specifies the submitted format of a PDF form. Combined with username to form a base64 encoded string that is passed in the Authenticate header.

Cannot be same as userPassword. That creates a real Excel file.

Saving Dynamic Page to PDF – Adobe: ColdFusion – Tek-Tips

Use this option to reduce the size of the HTML output so that it fits on that paper. Page type into which ColdFusion generates the report: Is there a way I can save the output from a cfsavecontent to a pdf file? Winter 2 10 It can be one of the following values:. Embed all fonts except Java fonts and core fonts. Here’s the code I have for the html: Scale factor as a percentage.


Specifies whether form fields are exported as widgets or only their fixed print representation is exported.

If you notice that the header text is cropped in the cfdocument tag output, increase the value of the marginTop attribute. Bottom margin in inches default or centimeters. Specifies the default unit inches or centimeters for pageheight, pagewidth, and margin attributes. But I need it to be saved so I can email it as an attachment. Category Data output tags Syntax. Embed fonts – false: Here is the code that ended up working for me: This attribute is available only if you have integrated OpenOffice with ColdFusion.

Hi, Thanks for the info.