Date: prev next · Thread: first prev next last
January 2015 Archives by date, by thread · List index


https://bugs.freedesktop.org/show_bug.cgi?id=88001

--- Comment #4 from V Stuart Foote <vstuart.foote@utsa.edu> ---
@Jay, *,

Looking at the source. The default setting is not for two-page, rather it is to
Automatic--such that at a given zoom level, when the frame size width can
accommodate two pages at that zoom, the page is repositioned for showing of
two.

The other setting is for a fixed single-page view.

UI is via the three ViewLayout buttons on the Status bar, and is recorded into
the LO registry in Writer Layout ViewLayout stanza for the Columns property.

<item oor:path="/org.openoffice.Office.Writer/Layout/ViewLayout"><prop
oor:name="Columns" oor:op="fuse"><value>1</value></prop></item>

Columns:

0 - automatic (statusbar two-page view button is set, and drawing layer will
shift when frame is large enough to hold two pages at current zoom level)
1 - single-page view button is set on status bar
2 - if BookMode property is set on status bar and is true in registry
3+ - none, but positions page view to upper left with minimum padding

The "Columms" value can also be set from the Tools -> Options -> Advanced:
Expert Config panel

All that said, it should be possible to add a check box to the Tools -> LO
Writer -> View to Always force Single-page view (set Columns to 1) and override
default of automatic.  Not sure we would want to hard code change from current
default to Automatic. Again, doing something with bug 75644 should help with
this as well.

-=code refs=-
The Statusbar control (single, auto, book) are here:
http://opengrok.libreoffice.org/xref/core/sw/source/uibase/utlui/viewlayoutctrl.cxx#42
The registry hint is here: 
http://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/Office/Writer.xcs#1582

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.