Thanks a lot Mike, 
  I will try this, hope it will work for my purposes. 
   
  Elena

Mike Kear <[EMAIL PROTECTED]> wrote:
  I had to do this recently, and on excellent advice from CF guru Kym Kovan, I
decided to produce a RTF intstead, which is readable by MS Word but also
more portable to other programs. Also it's a LOT easier to create with
ColdFusion.

But more important there are several tutorials in how to do it on the net.
Here's one that's fairly straightforward.
http://www.irt.org/articles/js154/index.htm

Basically the principle involved goes a bit like this:


1. Type a sample document in word.
2. save it as RTF
3. open the saved RTF document and cut out the bits of formatting in
the document and add them to the CFOUTPUT you are creating.
4. use CFCOntent to collect all the formatting and output elements
together
5. use CFFILE to save the final result as your word-readable rtf file.

Hope this helps.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 5/4/06, Elena Aminova wrote:
> No, its not labels.
> I just need to output a nice looking organized report based on data that
will be taken out of the Database.
> The report will need to be generated automatically as soon as a user will
fill out a form, which saves info to the DB and the Word document
summarizing info just inputed in the form will need to be generated and
saved in a specified directory.
>
> Please advise if you know of a way generating a formatted Word Document
from CF.
> Thanks
>
> What about PDF?
>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239458
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to