It's possible to do this with WordML and apply an XSL transform or write a CFC that creates WordML documents. Save a simple word document as XML, open it in a text editor and take apart the WordML code, use it to write a CFC that generates Word documents with it. Much cleaner than RTF in my opinion since I've done it both ways before. I've already created a CFC that generates word docs with basic formatting such as bold, italics, justification, page breaks, lists and also inserts tables. Initially I tried XSL templates and doing a transform, but this didn't work for what I wanted to do. Might work better in your case if you are doing simple field replacements, otherwise go with writing a CFC that generates WordML.
>If I have a word document as a template, can I use CFFILE to fill in blank >spots in it? I know that I can append to a document, but that is not what I >want to do, I want to fill in certain areas of the document. > > > >Thanks, > > > >Bruce Sorge > >Contractor > >City of Los Angeles > >Department of Neighborhood Empowerment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265905 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

