diff options
author | Rodolfo Ribeiro Gomes <rodolforg@gmail.com> | 2013-05-28 11:22:05 -0300 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-30 15:44:47 +0000 |
commit | ffc2e5be1f712b09710e2096ad2f7eb81b80118d (patch) | |
tree | 7f4fa2234c3b41d49d12f1d1760b4e6d73e5c7ea /starmath/uiconfig | |
parent | 615b3c8425fa0c5e91f61c434cd03f94897b2cac (diff) |
Clean zoom redundances in Math and fix fdo#55929
Zoom can be handled by sfx2 in many ways:
- 50%, 75%, 100%, 150%, 200%
- Optimal view (fit in window)
- Entire page
- Page width
The math module was doing the first two by itself. Remove it.
Strange enough, state methods for zoom interface definitions on
sfx2's appslots.sdi were needed. I thought 'Container' property
in sfx.sdi should do the job. It seems to do nothing, though.
(The zoom should be disabled only if the object is an OLE/Container).
The Help-Ids from pop-up menu in Math/Formula were kept, because
they doesn't exist in sfx2.
Change-Id: Ie1ae413780551b34aa36b338f9a9df79a198319c
Reviewed-on: https://gerrit.libreoffice.org/4076
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'starmath/uiconfig')
-rw-r--r-- | starmath/uiconfig/smath/toolbar/toolbar.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/uiconfig/smath/toolbar/toolbar.xml b/starmath/uiconfig/smath/toolbar/toolbar.xml index 7ac3103fdda6..ae74d5e4812c 100644 --- a/starmath/uiconfig/smath/toolbar/toolbar.xml +++ b/starmath/uiconfig/smath/toolbar/toolbar.xml @@ -20,10 +20,10 @@ <toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar" xmlns:xlink="http://www.w3.org/1999/xlink" toolbar:id="toolbar"> <toolbar:toolbaritem xlink:href=".uno:ZoomIn" toolbar:text=""/> <toolbar:toolbaritem xlink:href=".uno:ZoomOut" toolbar:text=""/> - <toolbar:toolbaritem xlink:href=".uno:View100" toolbar:text=""/> - <toolbar:toolbaritem xlink:href=".uno:Adjust" toolbar:text=""/> + <toolbar:toolbaritem xlink:href=".uno:Zoom100Percent" toolbar:text=""/> + <toolbar:toolbaritem xlink:href=".uno:ZoomOptimal" toolbar:text=""/> <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:Draw" toolbar:text=""/> <toolbar:toolbaritem xlink:href=".uno:FormelCursor" toolbar:text=""/> <toolbar:toolbaritem xlink:href=".uno:SymbolCatalogue" toolbar:text=""/> -</toolbar:toolbar>
\ No newline at end of file +</toolbar:toolbar> |