Skip to main content
Participant
August 13, 2008
Question

CF and MS Word

  • August 13, 2008
  • 3 replies
  • 315 views
What is currently the most efficient way to create a word file (.doc) using ColdFusion?

I have attached some code that I have used in the past. It just seems with CF 8 that there might be a more powerful way to control the creation of Word documents.

I apologize if this is a redundant question, but I searched for quite awhile without finding any current solutions.
    This topic has been closed for replies.

    3 replies

    Inspiring
    August 14, 2008
    mbonjourno wrote:
    > I will take a look at HWPF's this weekend; I haven't worked with POI yet.

    other folks have, google (of course), search these forums & i think
    cfsearching.blogspot.com.

    btw if you can live w/RTF, iText (the java lib that powers cfdocument) can do
    RTF. and come to think of it, so does reportbuilder/cfreport.
    Participant
    August 14, 2008
    I really appreciate all your information. I think the RTF file format will sufice for what I am doing, so I'm going to look at iText first.

    I didn't even think about the cfreport tag; that might work as well.

    Well, I can't say that I don't have enough options! Now I'll have plenty to do this weekend. I guess mowing the lawn will just have to wait - darn!

    Thanks again! I'll let you know what I end up using.
    Participant
    August 14, 2008
    Thanks Paul.

    I will take a look at HWPF's this weekend; I haven't worked with POI yet.
    Inspiring
    August 13, 2008
    mbonjourno wrote:
    > What is currently the most efficient way to create a word file (.doc) using
    > ColdFusion?

    i'm not sure having ms word installed on a server was ever a good idea (even ms
    i think recommends against this practice). in any case, have a look at POI's
    HWPF (Horrible Word Processor Format).