cfdocument will take your combination of CFML and HTML and convert it to a PDF. Also note that if you have a Word file that you save HTML, the resulting PDF. Is there a ColdFusion method of converting a Word file into pdf? going to suggest that.. but I didn’t think cfdocument understood MS Word’s version of HTML. Can you embed an excel or word file into cfdocument. is it pososible to create a pdf from a query and during upload of doucmnets to attach.

Author: Zunos Malat
Country: Barbados
Language: English (Spanish)
Genre: Education
Published (Last): 28 September 2018
Pages: 62
PDF File Size: 15.99 Mb
ePub File Size: 19.93 Mb
ISBN: 845-5-61035-557-6
Downloads: 12084
Price: Free* [*Free Regsitration Required]
Uploader: Mijin

No error, but no background image. Specify the structure name in the attributeCollection attribute and use the tag’s attribute names as structure keys. Host name or IP address of a proxy server to which to send the request.

ColdFusion 9 supports bookmarks. I’ll be doing so myself once I have more stuff from a few more people, and may also expand on the “info” on each topic that I may provide on some of the pages, beyond just resources. Sign up or log in Sign up wore Google.


How should I modify the code? Default unit for the pageHeight, pageWidthand margin attributes: Bottom margin in inches default or centimeters.

URL or the relative path to the web root. Basics of the LocalURL attribute Before we go any further, let’s start with the details of the attribute which may surprise many. Tried closing IE, rerunning, etc, etc, – no change.


See a blog entry I did: Working through this a bit further It’s also totally possible that, given the more complex formatting in the Word document, you may just be running into a limitation of POI or iText.

Word Hope this helps! Among the entries discussing this were: Go to original post.

Once I resolved those issues the. Comments 10 Comments [ Add Comment ] This is kind of unrelated, but relevant at the same time imo.

Page width in inches default or centimeters. We added an exception to the hosts file to fix this issue. What’s a CF shop to do: Sign up using Facebook. As such, CF will need to “get” whatever images or scripts or css files are defined on the generated HTML page as img src, script src, link href, etc.

Page type into which ColdFusion generates the report: And are cfddocument or are you not the localurl?



Specifies whether the background prints when the user prints the document: Used in conjunction with the filename attribute. A side effect of this is Server ends up sending HTTP request even for local URL or images that are lying on the local file system which obviously hurts the performance.

Quick back story – we’re going through PCI compliance and our servers that handle credit cards need to be blocked off from the servers that don’t. No it shouldn’t generate a valid cfcocument file.

Let me know what you think. From Coldfusion cfdocument documentation: What has prompted that? Ah, cfdocu,ent, I forgot that POI doesn’t support Word very well for some reason maybe the difficulty in getting it to work well in a range of situations.

You might need to take a look at some other solution. And are you using CF9 with the latest updates applied?