Hi,
I'm facing with a tough problem of generating a Word doc with Exact Layout from data pulled from a database. While I'm able to generate a Word doc from db data on demand leveraging office XML standard, see below
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
...
The issue lies in the Exact Layout of such a Word doc. Currently the generated Word doc has double header and footer at the last page, question, how to eliminate the extra header and footer at the last page?
I was wondering if Word CSS guide supports something like below:
@page lastpage
{
mso-header: none;
mso-footer: none;
}
or
@page lastpage
{
mso-header: false;
mso-footer: false;
}
Thanks in advance.
Don