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.
|Published (Last):||8 September 2009|
|PDF File Size:||6.90 Mb|
|ePub File Size:||2.43 Mb|
|Price:||Free* [*Free Regsitration Required]|
PDF is sent back to the browser instead of saving to a file.
The cfheader tag is used to suggest a file name to the browser. The cfcontent tag is used to set the Content-Type response header that could also be done using cfheader which tells the browser that it is a PDF file.
Specifies the report format. If you omit the filename attribute, ColdFusion MX streams output to the browser.
Specifies whether to retrieve image files directly from the local drive: Specifies whether ColdFusion MX overwrites an existing file. Used in conjunction with filename.
Specifies cfdocukent page size into which ColdFusion generates the report. Custom height and width. If you specify custom, you must also specify the pageheight and pagewidth attributes, can optionally specify margin attributes, and can optionally specify whether the units are inches or centimeters.
Specifies the page orientation. Specify either of the following: Specifies the default unit inches or centimeters for pageheight, pagewidth, and margin attributes.
Separate multiple permissions with a comma. Specifies whether ColdFusion embeds fonts in the output. Specify one of the following: Embed fonts – false: Do not embed fonts. Embed all fonts except Java fonts and core fonts. Specifies whether the background prints when the user prints the document: Use this option to reduce the size of the HTML output so that svae fits on that paper. Specify a number less than Combined with username to form a base64 encoded string that is passed in the Authenticate header.
Combined with password to form a base64 encoded string that is passed in the Authenticate header.
Saving Dynamic Page to PDF – Adobe: ColdFusion – Tek-Tips
Specifies whether bookmarks are created in the document: MIME type of the source document Values: You cannot specify both the src and srcfile attributes. Used to cffdocument the request client software. Specifies whether form fields are exported as widgets or only their fixed print representation is exported. Specifies the submitted format of a PDF form. The permissions are defined in “permissions” attribute.