[Libreoffice-ux-advise] [Bug 88001] Default document view

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 4 09:03:31 PST 2015


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

--- Comment #4 from V Stuart Foote <vstuart.foote at 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.


More information about the Libreoffice-ux-advise mailing list