Background: I have an HTML frame window that is presenting a word
document through a standard plugin for the user.
Question:Does anyone know if there is a way of forcing HREF links in
IE5.5+ into MS-Word .doc's to view the Word document in Print Layout
View mode/format by default, perhaps by adjusting the MIME properties
or by using a parameter in the HREF?... or maybe being able to run a
javascript control from the viewer window to tell Word to switch into
that mode once it's presented the file?
Any thoughts or tricks
Thanks
Alan
lostinspace - 04 Mar 2005 21:46 GMT
----- Original Message -----
From: "Alan" <>
Newsgroups: microsoft.public.word.web.authoring
Sent: Friday, March 04, 2005 6:02 AM
Subject: Hypertext links to Word to force view in Print layout format
> Background: I have an HTML frame window that is presenting a word
> document through a standard plugin for the user.
[quoted text clipped - 9 lines]
> Thanks
> Alan
Alan,
There are not any "regular" participants in this NG. Rather, there
are folks similar to yourself who appear with inquiries and then disappear
from the NG.
I'm not person who uses Word to create web pages. In fact, I'm quite opposed
to such an idea.
MS, never had intent of using Word to create web pages. Especially since
they have a much better software named Front Page, which has long had its
reputation destroyed by the capaicty of Word users to add bloat to html.
Perhaps somebody will come along an provide a answer to your inquiry?
I wouldn't hold your breath waiting!
"I have an HTML frame window"
Frames are evil and your restrict your intended audience. Furthermore the
idea of holding your overall theme within the framed page is impossible.
"that is presenting a word document through a standard plugin for the
user."
How might you force a user to add a Word plug-in to their browser?
Your limiting your audience/market even more.
" Question:Does anyone know if there is a way of forcing HREF links in
IE5.5+ into MS-Word .doc's to view the Word document in Print Layout View
mode/format by default, perhaps by adjusting the MIME properties or by using
a parameter in the HREF?... or maybe being able to run a javascript control
from the viewer window to tell Word to switch into that mode once it's
presented the file?"
Requiring implemtation of Java (in addition to your two previous
audience/market restriction choices) and you reduce your audience/market
even more.
Why not add ActiveX or Flash ;-) [tongue-in-cheek] and reduce your
audience/market even more?
IMO, it's in your best interest to either learn to create your pages
properly (non-Word and validated) or employ another for the task.
Perhaps one of MVP's will come along and provide an answer with ASP and VBA
which will offer you a solution?
Again, I wouldn't hold your breath!
Bob Buckland ?:-\) - 07 Mar 2005 16:02 GMT
Hi Alan,
To add a bit to the reply from Lost-in-Space,
the Word model is to allow the 'reader' rather than
the author to have the final say on how things are
presented to them on screen.
To 'switch' someone in Word to a specific view would
generally require a macro. To store a macro from a
Word generated web page you'd need to use the
File=>Save as Web Page, which stores a binary 'attachment'
package that allows Word users to pull a Word web document
back to its full Word content.
To run the macro would require the user of Word to have
their security setting set to a point that would allow
that to run, not a typical setting and Word would pull
up the document from say clicking on a Hyperlink, assuming
that the user has Word rather than Wordpad or one of the
Word viewers, neither of which can run Word macros.
If the presentation 'look' is the most important aspect
of the document you may want to consider either a graphic
or a PDF version of the document.
=========
Background: I have an HTML frame window that is presenting a word
document through a standard plugin for the user.
Question:Does anyone know if there is a way of forcing HREF links in
IE5.5+ into MS-Word .doc's to view the Word document in Print Layout
View mode/format by default, perhaps by adjusting the MIME properties
or by using a parameter in the HREF?... or maybe being able to run a
javascript control from the viewer window to tell Word to switch into
that mode once it's presented the file?
Any thoughts or tricks
Thanks
Alan >>

Signature
Let us know if this helped you,
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx