I have done this by outputting the file as a RTF and then adding CF code
where needed. 

-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 01, 2005 1:01 PM
To: CF-Talk
Subject: CF and MS Word

Hey all...

I have a word document from a client that contains a header and footer
(and some various body content).

I'm trying to create an app where they can go in thru a web interface,
enter data in a textarea, and have the action page populate this word
document with the content they enter.

Can't do any COM as Word is not (and cannot/will not be) installed on
the server.  I've tried saving the original .doc as a web page, saving
the trillions of lines of MS-word markup into a <cfsavecontent> var, and
using <cffile> to write a .doc, but I lose a lot of the formatting, and
there doesn't seem to be any way for me to retain the headers/footers.

Any ideas, or am I SOL?

Thanks.
--
Charlie Griefer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208259
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to