I am using the word MIME to display HTML content into a Word document from my .ASP applicaiton: [url removed, login to view] = "application/msword" I want to format the document as much as possible from the web application. I want to add the following to the document from the web app:
2. Page number in the Footer.
3. Title in the Header
4. Other information may be needed such as filename, etc. This project requires only the coder provide the ASP syntax.
For example, this is what I use to insert a page break:
'Add Page Break pageBreak = "<span style='font-size:[url removed, login to view];font-family:'Times New Roman';mso-fareast-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA'><br clear=all style='mso-special-character:line-break;"page-break-before:always'></span>"
[url removed, login to view](pageBreak)
Code snippets that will do the above.