A word of warning if you go this path - if you type CF statements into
your word doc, sometimes word picks up on these and inserts them into
the document summary which then is written into the header. This can
cause CF errors when the file is created by cfcontent, and it's really
frustrating because it's hard to debug.

I've found that WordPad generates much nicer (cleaner) rtf code - like
less than a fifth of the junk I found... But it doesn't support images
in as nice a way as Word does. Someone suggested using WordPerfect but I
don't have a copy so I've never tested it.

Kay.

"Steve Oliver" <[EMAIL PROTECTED]> wrote in message
news:<000001c1aae2$a97df6a0$[EMAIL PROTECTED]>...
> If you create a word document, and save it as an rtf file, then open 
> it up in notepad, you'll see all the garbled junk like:
> 
> {\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\sts
> hf
>
bi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\pan
> ose 02020603050405020304}Times New Roman;}
> 
> Using that, you could make a template file, save it as an rtf, then 
> paste it into your template, and then place your cfoutputs where you 
> need to put your data. Once that is done, just output it as a doc file

> using cfcontent.
> 
> <cfcontent type="application/msword">
> 
> {\rtf1\ansi\ansicpg1252\uc1\ blah blah blah
> 
> <cfoutput>#myparagraph#</cfoutput>
> 
> {\fs20\insrsid6363204 \tab \tab \tab 
> }{\fs20\insrsid6363204\charrsid6363204
> \par }}
> 
> ______________________
> steve oliver
> atnet solutions, inc.
> http://www.atnetsolutions.com
> 
> 
> -----Original Message-----
> From: Ed Gordon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 12:30 AM
> To: CF-Talk
> Subject: Help - MS Word outputfrom CF?
> 
> 
> After the users put in parameters to generate a "quote" and the 
> customer says 'yes', I need to generate a whole big document, 
> including standard paragraphs,
> and other sections of text inserted based on various aspects of the
> sale.
> 
> This is now all done by hand in MS Word. I can get all the parts (text

> paragraphs), but how do I then have CF spit out a nicely-formatted 
> text document?
> 
> In general, what DO people do about printed reports???!?!?!  I have so

> far only
> put a printer-friendly web page out and the user prints it in his
> browser.
> 
> This is supposed to be a nicely formatted printed document, an actual 
> legal contract for the customer to sign. Anyone do this type of thing 
> before?
> 
> Thanks!
> 
> Ed Gordon
> CF Developer
> [EMAIL PROTECTED]
> 
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to