Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF and MS Word

New Here ,
Aug 12, 2008 Aug 12, 2008
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.
293
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 12, 2008 Aug 12, 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).
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 13, 2008 Aug 13, 2008
Thanks Paul.

I will take a look at HWPF's this weekend; I haven't worked with POI yet.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2008 Aug 13, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 13, 2008 Aug 13, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources