Group:  Microsoft Word ยป microsoft.public.word.web.authoring
Thread: Problem with Page Header in dynamically generated Word Doc

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Problem with Page Header in dynamically generated Word Doc
"TheBigO" <james[ at ]interfacesolutions.net.au> 27.05.2006 08:07:19
Hello

I am trying to generate a Word document dynamically from an ASPX (.NET)
page. It's all working fine except for the Page Header and Footer.

According to the documentation the MSO-HEADER directive can have either
a URL or a STRING value. If I try using URL (e.g.
mso-header:url("header.htm") h1;) and create the header and footer in
the Header page this causes an error when the word doc is generated
(because the word document doesn't exist it goes looking in the IE
Temporary folder).

I have tried several variations on mso-header:string("Page Header") h1;
- with and without the string directive - but to no avail.

Does anyone have any knowledge on this?

Regards
James

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net