Re: Word document generation (header, footer, page numbering)

2008-06-11 Thread Loathe
I've heard that a couple of times now, but I don't think I could get permission to run another server, and I somehow doubt the security people would be down with it. denstar wrote: On Tue, Jun 10, 2008 at 6:26 AM, Loathe [EMAIL PROTECTED] wrote: There are several well known ways of generating

Word document generation (header, footer, page numbering)

2008-06-10 Thread Loathe
There are several well known ways of generating word documents, xml, html with cfcontent/header, and I hear POI although I haven't used it. I have a need to be able to create a word document and do page numbering, and have access to the header and footer to add letterhead and document

Re: Word document generation (header, footer, page numbering)

2008-06-10 Thread Paul Hastings
Loathe wrote: I have a need to be able to create a word document and do page numbering, and have access to the header and footer to add letterhead and document classification information. I'm wondering if anyone can point me towards a solution that does this other than CF Report Builder?

Re: Word document generation (header, footer, page numbering)

2008-06-10 Thread Loathe
Thanks a lot, I'll jump into it now. Paul Hastings wrote: Loathe wrote: I have a need to be able to create a word document and do page numbering, and have access to the header and footer to add letterhead and document classification information. I'm wondering if anyone can point me

RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Whats the correct path to the RtfWriter2 class? I thought it would be com.lowagie.text.RtfWriter2 but it can't find that, I have googled all over the place for it. I've created the document object now I need to pass that to RtfWriter2.getInstance() but can't seem to instantiate a RtfWriter2

Re: RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Disregard. It's com.lowagie.text.rtf.RtfWriter2 Loathe wrote: Whats the correct path to the RtfWriter2 class? I thought it would be com.lowagie.text.RtfWriter2 but it can't find that, I have googled all over the place for it. I've created the document object now I need to pass that to

Re: RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Moving on: I have: cfset docPath = expandPath(./testDoc.rtf) cfset myFile = CreateObject(java,java.io.FileOutputStream).Init(CreateObject(java,java.io.File).Init(docPath)) cfscript paths = arrayNew(1); /* This points to the jar we want to load. Could also load a

Re: RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Once again disregard, I figured it out. A hello world with RtfWriter2: cfset docPath = expandPath(testDoc.rtf) cfset myFile = CreateObject(java,java.io.FileOutputStream).Init(CreateObject(java,java.io.File).Init(docPath)) / cfscript paths = arrayNew(1); /* This points

Re: Word document generation (header, footer, page numbering)

2008-06-10 Thread denstar
On Tue, Jun 10, 2008 at 6:26 AM, Loathe [EMAIL PROTECTED] wrote: There are several well known ways of generating word documents, xml, html with cfcontent/header, and I hear POI although I haven't used it. I have a need to be able to create a word document and do page numbering, and have

Word Document Generation

2001-07-09 Thread Chris Alvarado
I have an application that needs to generate Word Documents and basically open them on the fly. Currently I am using CFCONTENT to do this, however I have run into a small problem. I need to be able to use a defined Word TEMPLATE. The template contains a footer and whatnot that needs to be

RE: Word Document Generation

2001-07-09 Thread David Shadovitz
Chris, I know of two ways to do this. 1. CFCONTENT and CFHEADER. As per http://tech.irt.org/articles/js154/index.htm, you can create your MS Word template and put CFML placeholders in it, save it as an RTF file, edit the RTF file to get or accept data, and then serve that filled-in file to