Re: Creating MS Word Documents

2009-06-03 Thread Gerald Guido

You can also save it as XML but you have to be careful to strip out illegal
characters or Word will barf it back up.

HTH

G!

On Tue, Jun 2, 2009 at 9:15 PM, Paul Giesenhagen p...@quilldesign.comwrote:


 That sounds like a pretty straightforward way of doing it.  We'll dig into
 it tomorrow.

 Thanks Gerald.



-- 
Gerald Guido
http://www.myinternetisbroken.com
http://www.cfsimple.org/

To invent, you need a good imagination and a pile of junk.
-- Thomas A. Edison


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Creating MS Word Documents

2009-06-02 Thread Jake Churchill

Hey, Paul, long time no talk.  

A guy I work with just demo'd the Apache POI project recently.  He was doing
it for Excel 2007 formatting but it handles pretty much all Office programs.
I think there is a limited version of this built into CF8 (not sure if you
are using that) but depending on what functionality you need, you might need
the newest full version.  Check it out here:

http://poi.apache.org/ 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103

-Original Message-
From: Paul Giesenhagen [mailto:p...@quilldesign.com] 
Sent: Tuesday, June 02, 2009 4:20 PM
To: cf-talk
Subject: Creating MS Word Documents


Hello all!

We have a project where we need to create MS Word documents on the fly via
Coldfusion - has anyone had any experience with this.  We need to adhere to
strict output rules for this project and wondering if just creating HTML
content will be enough.

Has anyone used any tool for this before?

Any suggestions would be most helpful.

Thanks
Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
Coldfusion Shopping Cart Software




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323095
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating MS Word Documents

2009-06-02 Thread Gerald Guido

I just got done doing something like this. What I did was take a RTF
document which uses a markup like HTML except for word processors and opened
the document in a text editor and inserted the variables wrapped with
cfoutputs where I wanted them to show up. Then I saved it as a text file and
stuck it into a cfsavecontent tags as an include

cfsavecontent variable=asdcfinclude
template=MyDoc.txt/cfsavecontent

Then I forced the download using cfheader and cfcontent.

HTH
G!




On Tue, Jun 2, 2009 at 5:20 PM, Paul Giesenhagen p...@quilldesign.comwrote:


 Hello all!

 We have a project where we need to create MS Word documents on the fly via
 Coldfusion - has anyone had any experience with this.  We need to adhere to
 strict output rules for this project and wondering if just creating HTML
 content will be enough.

 Has anyone used any tool for this before?

 Any suggestions would be most helpful.

 Thanks
 Paul Giesenhagen
 QuillDesign
 http://www.quilldesign.com
 Coldfusion Shopping Cart Software


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323097
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Creating MS Word Documents

2009-06-02 Thread Paul Giesenhagen

That sounds like a pretty straightforward way of doing it.  We'll dig into it 
tomorrow.

Thanks Gerald.

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
Coldfusion Shopping Cart Software


-Original Message-
From: Gerald Guido [mailto:gerald.gu...@gmail.com] 
Sent: Tuesday, June 02, 2009 8:01 PM
To: cf-talk
Subject: Re: Creating MS Word Documents


I just got done doing something like this. What I did was take a RTF
document which uses a markup like HTML except for word processors and opened
the document in a text editor and inserted the variables wrapped with
cfoutputs where I wanted them to show up. Then I saved it as a text file and
stuck it into a cfsavecontent tags as an include

cfsavecontent variable=asdcfinclude
template=MyDoc.txt/cfsavecontent

Then I forced the download using cfheader and cfcontent.

HTH
G!




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323098
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4