After rereading the original question I don't think the article I posted is
necessarily the solution for you. The article I noted is used for generating
dynamic Word Docs. 

You seem to already have the doc and just need to display it. I don't know
but using CFFILE you could write a temp doc file and pull it up using
CFCONTENT. 


Chad Kemp

-----Original Message-----
From: Kay Smoljak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 8:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Off topic: HTML to Word


I've used this technique before too... it works great.

One thing to beware... if you create your RTF template in Word, it will
have a LOT of crap in it. I would say about four times as much as
WordPad. Also, depending on your setup, Word may create a document
summary automatically when you save the file. If this has any # symbols
in it, it will bomb when ColdFusion tries to parse it. And you don't get
any error messages, it will just fail. Very frustrating. But when it
works, it's great.

Kay.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, 24 April 2002 9:31 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Off topic: HTML to Word
> 
> 
> 
> Here is what I use:
> 
> http://tech.irt.org/articles/js154/
> 
> 
> it works well. One tip that the article doesn't mention: add 
> an extra extension to the url so that the browser thinks its 
> opening a word document
> 
> so instead of just http://xxx/word.cfm
> you have http://xxx/word.cfm/WordDocName.doc
> 
> 
> 
> Chad Kemp
> 
> -----Original Message-----
> From: Razeen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 24, 2002 2:32 AM
> To: [EMAIL PROTECTED]
> Subject: Off topic: HTML to Word
> 
> 
> Hi
> 
> It's slightly off-topic but please help...
> 
> I'm trying ActivEdit to allow my users to submit articles which is 
> stored in the DB then redisplayed as required. Works well. Problem: I 
> now want to take the content from the Access DB and pull it 
> into a Word 
> 2000 document via mail-merge. However all that comes across 
> is the raw 
> html code with all its tags etc. (Now if I display the content in my 
> browser using CF and then copy and paste into Word it 
> displays correctly 
> with formatting, tables etc.)
> 
> Can anyone recommend a solution?
> 
> Thanks
> Razeen
> 
> 
> 
> *****************************************************************
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity 
> to whom they are addressed. If you have received this email 
> in error please notify [EMAIL PROTECTED]
> *****************************************************************
> 
> 

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to