G
Guy007
Hi,
I have an HTML MHT file, which i am opening in Microsoft Word 2003. I have
already successfully added some code in the html (see below) to modify some
settings in the document. For instance, I managed to force it to open in
Print View and I set the page orientation to portrait or landscape as desired.
I now would like to add some XML to the file, to force Word's Table > Hide
Gridlines option to be enabled when opening the file. Any idea what XML i
need to add to my file?!
Thanks!
--------------------------------
<html xmlns="urn:schemas-microsoft-comfficeffice"
xmlns:w="urn:schemas-microsoft-comffice:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<xml>
<w:WordDocument>
<w:View>Print</w:View>
<w:Zoom>90</w:Zoom>
<woNotOptimizeForBrowser/>
</w:WordDocument>
</xml>
</head>
<body>
etc
I have an HTML MHT file, which i am opening in Microsoft Word 2003. I have
already successfully added some code in the html (see below) to modify some
settings in the document. For instance, I managed to force it to open in
Print View and I set the page orientation to portrait or landscape as desired.
I now would like to add some XML to the file, to force Word's Table > Hide
Gridlines option to be enabled when opening the file. Any idea what XML i
need to add to my file?!
Thanks!
--------------------------------
<html xmlns="urn:schemas-microsoft-comfficeffice"
xmlns:w="urn:schemas-microsoft-comffice:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<xml>
<w:WordDocument>
<w:View>Print</w:View>
<w:Zoom>90</w:Zoom>
<woNotOptimizeForBrowser/>
</w:WordDocument>
</xml>
</head>
<body>
etc