What about POI?  I have never used the stuff for Word docs(I have only used
it for Excel), but they do have classes for it...

Eric

-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 29, 2007 2:35 AM
To: CF-Talk
Subject: Re: CF generated HTML to Word

Dave Phillips wrote:
> 
> I have searched HOF and the net and found all kinds of different
suggestions for outputing from CF to Word.  However, I have not found out
which method will work for MY situation:
> 
> * Server does NOT have Office installed on it
> * I need my output to open in all versions of word from Word 97 forward
> * I need to retain my formatting including images and colors

I'm not sure how it works out with Word 97, but you could convert your 
document into a multipart-related MIME message with the images included 
in Base64. Set the MIME type to application/vnd.ms-word and use cfheader 
to give it a name ending in .doc and it will open correctly in recent 
Word versions.

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282541
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to