RE: dynamic ms-word files
Is there an RTF counterpart for excel? Baz -Original Message- From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 8:36 AM To: CF-Talk Subject: Re: dynamic ms-word files THANKS A LOT guys, lots of pointers. I will definitely look at each one and get back to y'all. I was also looking at DynamicMS2.0/1.0 which is not free. Once again, thanks for all your tips. Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235130 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: dynamic ms-word files
Yeah, .CSV On 3/12/06, Baz [EMAIL PROTECTED] wrote: Is there an RTF counterpart for excel? Baz -Original Message- From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 8:36 AM To: CF-Talk Subject: Re: dynamic ms-word files THANKS A LOT guys, lots of pointers. I will definitely look at each one and get back to y'all. I was also looking at DynamicMS2.0/1.0 which is not free. Once again, thanks for all your tips. Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235163 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: dynamic ms-word files
CSV is to XLS as TXT is to DOC - it's not rich enough. -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Sunday, March 12, 2006 9:36 PM To: CF-Talk Subject: Re: dynamic ms-word files Yeah, .CSV On 3/12/06, Baz [EMAIL PROTECTED] wrote: Is there an RTF counterpart for excel? Baz -Original Message- From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 8:36 AM To: CF-Talk Subject: Re: dynamic ms-word files THANKS A LOT guys, lots of pointers. I will definitely look at each one and get back to y'all. I was also looking at DynamicMS2.0/1.0 which is not free. Once again, thanks for all your tips. Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235169 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: dynamic ms-word files
You were asking about a cross-platform, generic spreadsheet format, which CSV is. If you want bolding, borders, coloured cells etc and all that good stuff i think you're going to need to produce a XLS file. But the vast majority of people who have spreadsheet software can read excel files cant they? 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 3/13/06, Baz [EMAIL PROTECTED] wrote: CSV is to XLS as TXT is to DOC - it's not rich enough. -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Sunday, March 12, 2006 9:36 PM To: CF-Talk Subject: Re: dynamic ms-word files Yeah, .CSV ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235170 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: dynamic ms-word files
here is a second for the RTF files...it's been a while since I used it, but it can be a pretty effective poor-man's reporting engine. I'm not sure if I'm remembering correctly, but it seems like you can still name the RTF file with a .doc extension. On 3/9/06, Mike Kear [EMAIL PROTECTED] wrote: I've just done this, and on very sound advice from Kym Kovan, I elected to produce RTF files instead. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234794 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: dynamic ms-word files
THANKS A LOT guys, lots of pointers. I will definitely look at each one and get back to y'all. I was also looking at DynamicMS2.0/1.0 which is not free. Once again, thanks for all your tips. Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234798 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: dynamic ms-word files
The issue with this is that it's not a word doc. Word just happens to have the ability to understand html. This may not be an issue with Word, but I use this cheat with Excel which works great and is an easy way to get formatted tabular data in html or Excel. The problem is that with large files, Excel will take an extremely long time to open the spreadsheet. I've also gone the RTF route for a Work Order system. It worked fine except for working with a complicated document is horrendous! Any change to the RTF template was a real pain. Trying to figure out where exactly to paste your CF tags and loops in tables and highly formatted RTF was tedious. Now that I'm using CF7, there is not question that I'll use CFreport for all printed output. Terry I never saw anybody respond, so here's an example I've got that works for me: cfcontent type=application/msword cfheader name=Content-Disposition value=attachment; filename=tempfile.doc div style=font-size:16pt; font-face:bold;Here's a dynamic table/div table cfloop index=i from=1 to=5 tr cfoutput tdcolumn 1, row #i#/td tdcolumn 2, row #i#/td tdcolumn 3, row #i#/td /cfoutput /tr /cfloop /table http://techfeed.net/cfQuickDocs/?cfcontent http://techfeed.net/cfQuickDocs/?cfheader ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234818 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: dynamic ms-word files
I never saw anybody respond, so here's an example I've got that works for me: cfcontent type=application/msword cfheader name=Content-Disposition value=attachment; filename=tempfile.doc div style=font-size:16pt; font-face:bold;Here's a dynamic table/div table cfloop index=i from=1 to=5 tr cfoutput tdcolumn 1, row #i#/td tdcolumn 2, row #i#/td tdcolumn 3, row #i#/td /cfoutput /tr /cfloop /table http://techfeed.net/cfQuickDocs/?cfcontent http://techfeed.net/cfQuickDocs/?cfheader -Original Message- From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 7:56 AM To: CF-Talk Subject: dynamic ms-word files Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234667 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: dynamic ms-word files
You could use xml...also go to the Jakarta apache project...they have some java classes that will allow you to create, edit, delete office docs without using office to do so ;-) I did some pretty cool reports in Excel using the excel portion of it. The name of it is POI Eric -Original Message- From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] Sent: Wednesday, 08 March 2006 08:56 To: CF-Talk Subject: dynamic ms-word files Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234782 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: dynamic ms-word files
I've just done this, and on very sound advice from Kym Kovan, I elected to produce RTF files instead. Word can happily read rtf files, and rtf files are more portable to other platforms and other word processing apps. I suggest you do the same. And there is a very simple tutorial on producing rtf files from ColdFusion reports at http://www.irt.org/articles/js154/ . The final code looks horrendous when it's complete, because there are a lot of rtf commands in there but when you follow the simple steps in this tutorial, you'll see how blindingly easy it is, and how you'll look like a real genius to anyone who sees your code. 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 3/9/06, Srinivasa Teja Palla [EMAIL PROTECTED] wrote: Like we have htmldoc, is there a way to dynamically generate word files with content supplied by coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234783 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