If you want to use itext, you can either put up with the library that
ships with coldfusion, and use coldfusion's fantasic ability to talk to
the java libraries, or........ recompile the itext library with a
slightly modified classpath, and do the same sort of thing, but with
the new libraries. Because I think the one that ships with Coldfusion
is almost two years old now, and some of the handy methods don't exist. Cheers Gareth. Barry Beattie wrote: Time for GarethE to espouse the brill iText library, methinks (hint, hint Gareth....I know you're reading this)Really dirty method (and limited): you can "poke text holes" in an RTF document - open MSWord and add text - save as RTF - open the RTF doc in notepad, searching for the text you entered. Viola! instant RTF template. - replace text with variables and use cffile, cfsavecontent and string manip to insert your values On 08/02/06, Nathan Drury <[EMAIL PROTECTED]> wrote:Hi I've been tasked with generating a Word (or RTF) document using CF. I've done this before using COM (need to purchase Word and it's not very stable at all) but am wondering if there is any acceptable non-COM alternative. I'm aware of POI HWPF but as it is "still in early development" I thought I'd see if anyone knew of any other alternatives before I started trying POI. Thanks Nathan |
- [cfaussie] Re: Can you generate Word documents with CF wit... Chris Velevitch
- [cfaussie] Re: Can you generate Word documents with C... Gareth Edwards
- [cfaussie] Re: Can you generate Word documents wi... Nathan Drury