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.
|Published (Last):||21 August 2013|
|PDF File Size:||10.96 Mb|
|ePub File Size:||16.38 Mb|
|Price:||Free* [*Free Regsitration Required]|
You can not post a blank message. Please type your message and try again. Shouldn’t the cfdocumenr generate a valid PDF file? The entire output is ‘crunched’ into the first quarter of the first page of the PDF for lack of a better description.
Cfdocument Word to pdf missing text
Tried closing IE, rerunning, etc, etc, – no change. I have the same question Show 0 Likes 0. This content has been marked as final. No it shouldn’t generate a valid pdf file.
What you have to do is somehow, read the word file, save the content in a variable, and put the variable in your cfdocument. Or something like that.
There is also thing called “SolidConverter”. Have to use command-line mode. Tricky and ugly, but works. I’ve only tried simple docs.
dord Range 0 ; newDoc. I think I’ll look into one of the suggestions here about having Word on the server to use it’s object. I don’t believe we have Word on the server box. CFDocument is meant for creating dynamic documents. It is not an universal to-from converter. So you can not use this tag to convert a word file into pdf.
You might need to take a look at some other solution. Mimetype attribute in the cfdocument tag is used to define the mimetype for the content that you would get in ‘src’ attribute. From Coldfusion cfdocument documentation: Go to original post. Correct Answers – 10 points.