Re: Generate MS Word Document from ColdFusion
I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239480 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
Yeah, this works for most applications. It even works for powerpoint though I haven't figured out how to make separate slides. It's not too bad at doing a single slide though. The only oddity that I've had is if you're using style sheets some of the styles tend to screw with the output in Powerpoint. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 8:23 AM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239481 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Generate MS Word Document from ColdFusion
On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239482 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
I had not tried that yet. In the instance that I was doing it, I actually had to remove all CSS because there was some stuff blowing it up. I can't remember off hand what exactly was causing the issue but it ended up being easier to use font tags and such to adjust the looks. Also, the other thing to keep in mind is that if you're including images and such, when it pulls into the application, the image is still pulling from the webserver. It doesn't get downloaded and embedded into the file. This causes issues if you generate a document from an internal server and try to display it externally or if you're not online when you're looking at it. I haven't found a work around for that problem yet. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 8:42 AM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239484 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Generate MS Word Document from ColdFusion
Jim Wright wrote: On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239485 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
That works in Powerpoint? John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 9:09 AM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion Jim Wright wrote: On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239488 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
Re: Generate MS Word Document from ColdFusion
Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' Good to know...I guess word is better at importing html than it is at exporting. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239495 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Generate MS Word Document from ColdFusion
There is a really great article at SysCon CFDJ which addresses this topic but the premise is really easy. http://coldfusion.sys-con.com/read/41604_p.htm cfsavecontent variable=myDocument html xmlns:w=urn:schemas-microsoft-com:office:word !--- Head tag instructs Word to start up a certain way, specifically in print view. --- head xml w:WordDocument w:ViewPrint/w:View w:SpellingStateClean/w:SpellingState w:GrammarStateClean/w:GrammarState w:Compatibility w:BreakWrappedTables/ w:SnapToGridInCell/ w:WrapTextWithPunct/ w:UseAsianBreakRules/ /w:Compatibility w:DoNotOptimizeForBrowser/ /w:WordDocument /xml /head body Regular HTML document goes here !--- Create a page break microsoft style (took hours to find this) --- br clear=all style=page-break-before:always;mso-break-type:page-break / Next page goes here /body /html /cfsavecontent !--- Tell the browser you are serving up a Word Document --- cfheader name=Content-Type value=application/msword !--- Create a filename for the document and set it as an attachment so it doesn't try to render inline' --- cfheader name=Content-Disposition value=attachment; filename= yourfilenamehere.doc Voila! On 5/4/06, Jim Wright [EMAIL PROTECTED] wrote: Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' Good to know...I guess word is better at importing html than it is at exporting. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239497 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
Rick- I just tried using the br page break code you gave and it doesn't give me separate cells in powerpoint. Did you test it yourself? John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 9:09 AM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion Jim Wright wrote: On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239543 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Generate MS Word Document from ColdFusion
Burns, John D wrote: That works in Powerpoint? Maybe, but we were discussion MS Word =) John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 9:09 AM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion Jim Wright wrote: On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239544 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
Lol, ok that would explain it. I guess we got off topic with powerpoint and then you took it back to word :-) It's been a long day. Anybody had experience with how to brake slides in powerpoint via html? John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 2:26 PM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion Burns, John D wrote: That works in Powerpoint? Maybe, but we were discussion MS Word =) John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 9:09 AM To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion Jim Wright wrote: On 5/4/06, Rick Root [EMAIL PROTECTED] wrote: I don't know if this has been brought up, but since you can generate an html table and save it with an .xls extension and open it in Excel, I decided to try to create an html file, save it with a .doc extension, and open it in Word, and it worked great. Did you try forcing css page breaks? I would be curious to know if it recognizes those...which would make the method even more powerful. Is this what you mean? If so, then yes it works. br clear=all style='page-break-before:always' ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239545 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
Re: Generate MS Word Document from ColdFusion
What are you trying to output? It wouldn't be labels, would it? Elena Aminova wrote: Hello, I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What about PDF? MS Word is prefered. Thanks, Elena ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239449 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
Re: Generate MS Word Document from ColdFusion
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? Crow T. Robot [EMAIL PROTECTED] wrote: What are you trying to output? It wouldn't be labels, would it? Elena Aminova wrote: Hello, I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What about PDF? MS Word is prefered. Thanks, Elena ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239450 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Generate MS Word Document from ColdFusion
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 [EMAIL PROTECTED] 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:239453 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
RE: Generate MS Word Document from ColdFusion
Subject: Generate MS Word Document from ColdFusion I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What version of CF? I'm assuming you are not using 7? I'd look at PDF or generating a RTF file which Word will open. Generate the document how you'd like it in Word - save as an RTF - then open that file in something besides Word (notepad, etc) With a bit of trial and error it's easy to figure out where to drop in your dynamic sections. I did this with an online form once and it came out OK... Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239455 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
Re: Generate MS Word Document from ColdFusion
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
RE: Generate MS Word Document from ColdFusion
No, i am not using CF7, but CFMX. How do I do this with PDF? Jim Priest [EMAIL PROTECTED] wrote: Subject: Generate MS Word Document from ColdFusion I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What version of CF? I'm assuming you are not using 7? I'd look at PDF or generating a RTF file which Word will open. Generate the document how you'd like it in Word - save as an RTF - then open that file in something besides Word (notepad, etc) With a bit of trial and error it's easy to figure out where to drop in your dynamic sections. I did this with an online form once and it came out OK... Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239459 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Generate MS Word Document from ColdFusion
Elena Aminova wrote: No, i am not using CF7, but CFMX. How do I do this with PDF? if you're not using cf7 then use itext: http://www.lowagie.com/iText/ and even if you're using cf7 need complex stuff (like merging existng PDFs, et.) use itext--w/cf7 you just don't need to install anything. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239460 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
If you know java...goto the Jakarta apache project. They have some java classes you can install to create office docs on the fly without having to have office installed on the server. I used it to create some pretty sharp excel spreadsheet based reports. Eric -Original Message- From: Elena Aminova [mailto:[EMAIL PROTECTED] Sent: Wednesday, 03 May 2006 18:43 To: CF-Talk Subject: Generate MS Word Document from ColdFusion Hello, I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What about PDF? MS Word is prefered. Thanks, Elena ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239462 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
Re: Generate MS Word Document from ColdFusion
Thanks Paul. Paul Hastings [EMAIL PROTECTED] wrote: Elena Aminova wrote: No, i am not using CF7, but CFMX. How do I do this with PDF? if you're not using cf7 then use itext: http://www.lowagie.com/iText/ and even if you're using cf7 need complex stuff (like merging existng PDFs, et.) use itext--w/cf7 you just don't need to install anything. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239463 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Generate MS Word Document from ColdFusion
One other method would be to use xml Eric -Original Message- From: Elena Aminova [mailto:[EMAIL PROTECTED] Sent: Wednesday, 03 May 2006 19:04 To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion 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? Crow T. Robot [EMAIL PROTECTED] wrote: What are you trying to output? It wouldn't be labels, would it? Elena Aminova wrote: Hello, I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What about PDF? MS Word is prefered. Thanks, Elena ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239464 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
RE: Generate MS Word Document from ColdFusion
I hit send before I was finished hehehe... What you do is take a report that you already have and export it to xml... Then modify the document so that it has the dynamic elements from cf replacing the static stuff... Eric -Original Message- From: Elena Aminova [mailto:[EMAIL PROTECTED] Sent: Wednesday, 03 May 2006 19:04 To: CF-Talk Subject: Re: Generate MS Word Document from ColdFusion 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? Crow T. Robot [EMAIL PROTECTED] wrote: What are you trying to output? It wouldn't be labels, would it? Elena Aminova wrote: Hello, I need to generate MS WORD document from the data in a database. Does anyone have any info on creating one with Cold Fusion? What about PDF? MS Word is prefered. Thanks, Elena ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239465 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