https://bugs.freedesktop.org/show_bug.cgi?id=67870
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | --- Comment #22 from Justin L <[email protected]> --- Comment 14 is correct. It did NOT really work in earlier versions. What DOES happen is that your *user profile* remembers your last zoom type (comment 1). Steps to prove it did not work earlier 1.) In LO = 4.0.x, open the document and verify that it is in fit width mode. 2.) delete your profile. On linux, this is ~/.config/libreoffice/4/user 3.) Open the document again. It will open in 100% mode. Confirmed that this "bug" was introduced by "WW8 filter: import zoom factor" Change-Id: I557cf89642ff618aaddb2f036652d126b25555c9 The key here is Miklos' statement in comment 2 - there are various zoom modes, but ONLY the percent zoom factor setting can be saved in .doc files - not the zoom type. .ODT and .DOCX apparently have a variable to also save the zoom type. So the deficiency is in the Word .doc format itself. these two settings exist in .doc files (from sw/source/filter/ww8/ww8scan.hxx): sal_uInt16 wvkSaved : 3; //document view kind: 0 Normal view, 1 Outline view, 2 Page View sal_uInt16 wScaleSaved : 9; //< Specifies the zoom percentage that was in use when the document was saved. However, the bug author is also correct - previously when you opened up a .doc file that DID NOT specify a zoom factor, it would use your last user profile setting. Now it ALWAYS forces 100% zoom - even though that is not specified in the document. Ultimately, the problem is that wScaleSaved is INITIALIZED to 100 for all .docs, so even though NO SCALE FACTOR is specified in the .doc file, the initialization will force it to 100% based on the new "import zoom factor" code. This bug can be resolved by commenting out wScaleSaved=100 in ww8scan.cxx. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
