boolean, optional. If true, it is possible to convert outlines to a list of named anchors (label) or a headings structure ( ). I am having trouble getting the cfdocument tag to work with our document management tif files. The documents are stored on another server, but I can open them. cfdocument will take your combination of CFML and HTML and convert it to a PDF. At its simplest, you can stick some text between the opening and closing tags.
|Published (Last):||4 September 2015|
|PDF File Size:||4.3 Mb|
|ePub File Size:||20.89 Mb|
|Price:||Free* [*Free Regsitration Required]|
For a full list of deprecated features, refer to Deprecated features. You can specify this tag’s attributes in an attributeCollection attribute whose value is a structure. Specify the structure name in the attributeCollection attribute and use the tag’s attribute names as structure keys.
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. If you omit the filename attribute, ColdFusion displays the output in the browser.
This attribute is available only if you have integrated OpenOffice with ColdFusion. A Boolean value that specifies if form fields are exported as widgets or only their fixed print representation is exported.
Specifies the submitted format of a PDF form. It can be cgdocument of the following values:. Bottom margin in inches default or centimeters. Left margin in inches default or centimeters. Right margin in inches default or centimeters. Top margin in inches default or centimeters. Password required to open a password-protected document. Specifies whether ColdFusion overwrites an existing file. Used in conjunction with the filename attribute.
Page height in inches default or centimeters. Page width in twg default or centimeters. Password required to access restricted permissions.
The restricted permissions are specified using the permissions attribute. Host name or IP address of a proxy server to which to send the request. User name to provide to the proxy server. Scale factor as a percentage. Use this option to reduce the size of the HTML output so that it fits on that paper. Specify a number less than URL or the relative path to the web root. You cannot specify both the cfdocumeng and srcfile attributes.
Absolute path of a file that is on the server. Default unit for the pageHeight, pageWidthand margin attributes:.
cfdocument Code Examples and CFML Documentation
Used to identify the request client software. Cannot be same as ownerPassword. In-memory files speed processing of transient data. Create the cfocument in the path before you specify the file. ColdFusion ignores the additional content. If you notice that the header text is rag in the cfdocument tag output, increase the value of the marginTop attribute. For optimal performance and reliability, Adobe recommends that you specify a local file URL for images stored on the server.
Also, in some applications, the browser displays a Red X image error instead of the image in the browser. This scope contains the following variables:. ColdFusion 9 supports bookmarks. The following example shows how to specify bookmarks for document sections:.
Category Data output tags Syntax. Added the following attributes and variables: It can be one of the following values: For more information, see the “Using an image file URL” section. Supported MIME types are: Cannot be same as userPassword. If you specify customalso specify the pageHeight and pageWidth attributes, can optionally specify margin attributes and whether the units are inches or centimeters.
This scope contains the following variables: Bookmarks ColdFusion 9 supports bookmarks. The following example shows how to specify bookmarks for document sections: Specifies whether the background prints when the user prints the document: Specifies whether bookmarks are created in the document: Specifies whether ColdFusion embeds fonts in the output: Specifies whether to retrieve image files directly from the local drive: MIME type of the source document. Page type into which ColdFusion generates the report: Default unit for the pageHeight, pageWidthand margin attributes: