Word 2003 - warning message skipping

  • Thread starter Benjamin Larchevêque
  • Start date
B

Benjamin Larchevêque

Hey all,

I am generating some Word files using a html like format: the first
line is this one:
Code:
<html xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-
com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

I noticed that the reference to an external file defined as the header
was a problem for Word 2003 which pop a warning message when I open my
Word file; the mesaage says:
Some of the files in this Web page aren't in the expected
location. Do you want to download them anyway? If you're sure the Web
page is from a trusted source, click Yes.

The reference to the external file is in the css definition, such as:
Code:
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 89.85pt 72.0pt 89.85pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-title-page:yes;
mso-header:url("./header.html") h1;
mso-even-footer:url("./header.html") ef1;
mso-footer:url("./header.html") f1;
mso-first-header:url("./header.html") fh1;
mso-first-footer:url("./header.html") ff1;
mso-paper-source:0;}

I would like to find a way the avoid this Warning message... Did not
find anything like that on Internet

Thx for any help, Benjamin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top