cfcontent causes problems with Word 2007
Hi,
My purpose is to export html contents into MS Word. The html contents may contain images.
I am using Coldfusion 8 and the simplified testing code I used is like the following:
<cfcontent type="application/msword">
<cfheader name="content-Disposition" value="attachment;filename=filename.doc">
<img src="http://localhost:8501/images/theCompanyLogo.JPG" height="36" width="185" border="0" />
This works perfectly for any Word versions (such as 2003) except Word 2007. When using Word 2007 the
image area shows error some thing like "the memory is not enough ..." and system is stuck until you
close all the IE windows with the Windows task Manager to recover every thing.
I did try to use "filename=filename.docx" instead of "filename=filename.doc" but did not help.
Is there any way to make this work or this is a limitation of the Coldfusion 8 (ie. the cfcontent is not
designed for Word 2007)? If so will the version 9 solve this problem?
