I have managed to generate the file with no great difficulty and I'm
using this code:
<br clear="all"
style="page-break-before:always;mso-break-type:section-break" />
to ensure that each new letter starts at the top of a new page.
So far so good.
But each page of every letter needs to have the address and other
related details of the company at the bottom.
So how is it done?
I investigated the possibility of using
CreateObject("component","MultipartMIME");
but this seems to be a dead end because my understanding is that I
would need to have a static HTML file as the mainDoc component and I
need this to be a dynamically-generated CFML file.
A posting I found on the web suggested that I could simply put this
line in the @page Section1 part of the style definition:
mso-footer:url("#currentpath#word_footer.htm") f1;
but no matter how I try it, I can't get that word_footer.htm file to
appear.
Shame, because that would be nice and easy.
Has anyone successfully achieved this?
Jon