HTML2WORD - inserting page numbers
Posted on 2003-11-14
I am producing a word document from generated HTML using the CF tag WORD2HTML.
In developing I first create a WORD doc with word, the middle bit being where the generated data will go.
I then use WORD itself and save as html.
I then chop this html up into two parts - everything up to the data section (header.cfm) and the end which is everything AFTER the data (footer.cfm).
I keep these two files to wrap around the data which I generate as a file (data.cfm)
Then usin g CFFILE I join these 3 files together and use this html file to feed to the CF tag, WORD2HTML to output a WORD file.
So far, so good. BUT, I want to include page numbers. Has anyone any idea as to how I can do this?