Results 1 to 7 of 7
  1. #1
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Saving a Zoom Level (Word 2000/SR-1)

    Hi All:
    I've been experimenting to see if I could determine what causes zoom levels to change unexpectedly and have made some observations. I'm wondering if anyone would care to check some of this out, bcause there are times when it appears not to be correct.

    1. A document can be saved only if it was dirty.

    2. A document is dirty if some change is made to it after it's open (even if you add & then delete a character). Merely switching views does not make a document dirty; nor does making changes & then undoing them all. You can see that switching views does not activate the undo command (the button doesn't change color if a document that is just opened & the view changed).

    3. Word saves the type of view (normal, page layout, etc.) and last zoom level viewed with a document at the time it was last saved. Therefore, a document will always open in the last view & zoom level in which it was saved. Note that if you save a document, change the view & zoom level & close it, that will NOT save the last setting.

    4. Word saves only one zoom setting per document-the one when it was last saved. If you reopen the document & change the view, it will use whatever zoom setting was last used for that view in the last saved document that is open.

    5. If you save a document in normal view, then save another document in page layout view, the first document will open in normal view, but if you change it to page layout, it will use the zoom settings of the last document that was saved while in page layout view.

    6. When you close a Word session, a document reopens with the last view & zoom level saved, but when you change the view, it will use the last saved zoom level for normal.dot.

    Any takers?

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Saving a Zoom Level (Word 2000/SR-1)

    Hi Phil

    In condensed form:
    1. <LI>Zoom levels are document-specific (based on the viewing state when last saved).<LI>Where the view is not that used when the document was last saved, then the zoom level of the last saved document in that view is applied. (This determines the zoom level of new documents.)
    This broadly coincides with my experience. What exceptions did you have in mind?
    Gre

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Saving a Zoom Level (Word 2000/SR-1)

    Hi Unkamunka:

    Thanks for responding. We essentially said the same thing, but you put it a LOT simpler than I did. <img src=/S/bravo.gif border=0 alt=bravo width=16 height=30> Here's an exception that I found. I have a document (let's call it doc1.doc) which I have saved while in print layout (page width = 90%) at some point in the past. I go ahead and save it in normal view (page width = 119%). I then create another document (call it doc2.doc) & save it in print layout view at 150%. If I switch doc1.doc to print layout, it still shows 90%, not 150%.

    If I close Word, making sure that I save doc2.doc in print layout view at 150% zoom level, I then reopen doc2.doc & then doc1.doc. When I switch doc1.doc to print layout, it now opens at 150%. I then change it to page width (in print layout). I can now switch back & forth between normal & layout at page width zoom level. This is true, even if I make a change to doc2.doc & save it while in print layout.

    This doesn't seem to follow the rules that were set out before, as doc1.doc is not being saved in print layout view. Yet when I reopen doc1.doc, it will open at page width in layout view. Hope this is making sense, as I've been sitting in front of the computer too long. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Saving a Zoom Level (Word 2000/SR-1)

    Hi unkamunka:

    I'll try to digest what you've said tomorrow. However, with respect to Para 1, that's not what happened. I once saved doc1.doc in print layout at 90%. I later saved it in normal view at 119%. Then I saved doc2.doc in layout view at 150%, so doc2.doc is the last document saved in layout view. However, if I change the view of doc1.doc from normal to layout, it's zoom level is 90%.

    Sorry I didn't make that clear. (This is somewhat academic, of course, sort of que sera sera, but I find it puzzling.)

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Saving a Zoom Level (Word 2000/SR-1)

    Phil

    Forgive my replying in to you by your paragraph numbers, but otherwise we'll drive ourselves (and, most probably, other Loungers) totally crosseyed.

    Para 1. This is still following "Where the view is not that used when the document was last saved..." rule. Doc1.doc was last saved in 90% print layout. Until it is re-saved, every time it goes into print layout view it will enter at 90%.

    Paras 2 & 3. This applies the "...then the zoom level of the last saved document in that view is applied" rule. Doc1.doc was last saved in normal view and - since the last saved document in print layout view was set at 150%, Normal.dot applies 150%.

    An even more condensed rule would be:

    <UL><LI>Normal.dot applies the zoom level used by the last saved altered document in each view. <LI>Documents reopen in the zoomed view in which they were last altered and saved. <LI>The reopening of a document makes it the last saved altered document for that view. <LI>A document retains its last saved altered view setting. Edited additon[/list]Thanks for the generous praise.
    Gre

  6. #6
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Saving a Zoom Level (Word 2000/SR-1)

    Phil

    I'll have to re-test tomorrow, but I'm pretty sure that the way you put it in the first sentence of your second post is what happened on the machine on which I tested (9.0.3821 SR1) - not how your put it on your third (most recent) post.
    Gre

  7. #7
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,921
    Thanks
    6
    Thanked 9 Times in 7 Posts

    Re: Saving a Zoom Level (Word 2000/SR-1)

    Hi Phil,

    Someone once asked me about how zoom %s worked in terms of what was saved, etc. Glad to see you're up to the challenge of solving this mystery (in addition to how a document can have more words than it does - if you look at the word count in a table cell).

    I saw the exchange between you and unkamunka. I don't have anything to add directly from my limited experimentation.

    However, I would have thought there's some object property for both the template and the document that would help determine at what zoom % to open a document (with an attached template) or a template. I checked the object browser in VBA and there are classes of objects called "zoom" and "zooms" that are members of the Word library. The former even has a provocative member called "percentage". But I wouldn't know how to use them.

    A few thoughts on furthering your investigations:
    - open a template say Normal and see what the zoom is.
    - open a document based on the above template and see the zoom; close the doc
    - open the above template again, change the zoom, dirty the template, save it.
    - open the above doc from 2nd step; see the zoom - any change?
    - attach a diff template to the doc (having made sure that template's last zoom was diff than the doc and its normally-attached template) - any change?

    Certainly be interested in knowing the final outcome of your investigations. I'll even drink to a conclusive elaboration of the issue - in 2002.

    Oops - spoke too soon about not knowing how to use zoom and zooms. Just checked my copy of Steve Roman's "Learning Word Programming". Chap 11 has a discussion of both objects
    1. Zoom property of the View object: returns zoom object of the magn status for the view type associated with the view; you can access this in code or in the Immediate Window
    ActiveWindow.ActivePane.View.Zoom.Percentage

    2. Zooms collection allows setting w/o consideration of the current view in a particular pane. This is a static collection. It has a single zoom object for each view type for the pane. You can access this info by
    ActiveWindow.ActivePane.Zooms(wd...)
    where ... is the rest of a word-constant associated with the view type (there's an Enum WdViewType but, per Roman, you can't cycle thru the collection with a For Each loop). So
    wdNormalView=1
    etc.
    If you Type the above up to the (, you'll see the list of constants displayed by VBA. Also, after the ), you can type a . and see yet more properties of the zooms object. Percentage is apparently the default.

    Don't know if above helps but it can't hurt <img src=/S/grin.gif border=0 alt=grin width=15 height=15>. Don't know if this helps determine the rules but it might make experimenting easier.

    Fred

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •