Skip to main content
March 21, 2007
Question

Cold Fusion export to Word Document

  • March 21, 2007
  • 1 reply
  • 288 views
I have a Coldfusion Intranet application which builds an html file which then gets exported to the local drive and then named with a doc extension. Then the document is read in Microsoft Word. The problem is that I want to have headers and footers put on the page along with our logo and page numbers. I would like to have the Cold fusion do to it for me while it is still in HTML format.

Some possible solution which I did not think were good follow:

Create a dot file with headers, footers, page numbers and log in word and then copy and paste the HTML file into the dot file and save as doc.

Use letter head paper.

Create a web service which reads the HTML page and dynamically places the header and footers on the page as it is being
read before it is written. (I think the possible solution is too complicated).

Coldfusion 7 support writing headers and footers to PDF files but I need it in a Word format.

Thanks for your help
Ray
This topic has been closed for replies.

1 reply

Inspiring
March 22, 2007
Raymond McCague wrote:
> headers and footers put on the page along with our logo and page numbers. I
> would like to have the Cold fusion do to it for me while it is still in HTML
> format.

in the past we've done this using iText to produce RTF.