diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-09-14 15:48:45 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-09-14 16:41:40 +0300 |
commit | f5129ca7610ec4ec20ed1c00e5c94bf51d5de2cc (patch) | |
tree | 1a1f1327f1ca245a195f246863e418e62ee8dacb /sd/sdi | |
parent | 03626d7940d5e2fc2abf65ef1b49a7a89623f08f (diff) |
fdo#55903 Immediate effect for zoom in button
That's what apparently people expect from this button
to do, similar to the nearby zoom out button. This is
also consistent with a similar button in math, and in
print preview (both are using the same icon and same
tooltip).
The zoom mode that was assigned to this button until now,
moved to a dedicated button (thus could be further improved
to host other functionality as well - see the next commit).
Change-Id: Ie640c72cf1aab1e3fc8a14211702a33a86bb3672
Diffstat (limited to 'sd/sdi')
-rw-r--r-- | sd/sdi/_drvwsh.sdi | 5 | ||||
-rw-r--r-- | sd/sdi/sdraw.sdi | 24 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index 999bb69b9b46..151900826d00 100644 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -624,6 +624,11 @@ interface DrawView ] SID_ZOOM_OUT // ole : no, status : play rec [ + ExecMethod = FuSupport ; + StateMethod = GetMenuState ; + ] + SID_ZOOM_MODE // ole : no, status : play rec + [ ExecMethod = FuTemporary ; StateMethod = GetMenuState ; ] diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi index 7b9f7eadee9d..a77402625816 100644 --- a/sd/sdi/sdraw.sdi +++ b/sd/sdi/sdraw.sdi @@ -6151,6 +6151,30 @@ SfxVoidItem ZoomPanning SID_ZOOM_PANNING GroupId = GID_VIEW; ] +SfxVoidItem ZoomMode SID_ZOOM_MODE +() +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + SfxVoidItem Mirror SID_OBJECT_MIRROR ( SfxBoolItem MirrorVert ID_VAL_MIRRORVERT ) [ |