office-gobmx/sc/sdi/prevwsh.sdi
Jim Raykowski 95b27dd2e5 tdf#45705 rework zoom in and zoom out UI commands in Calc
Similar to commit 2cddaa6e19 done for
Writer view shell, this patch makes zoom in and zoom out commands
functional for Calc view shell in addition to the preview shell.

Change-Id: Ibf1fd92e79c82cdea91d0d01491ac25577df54fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104196
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2020-11-13 17:53:20 +01:00

144 lines
4.7 KiB
Text

/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
interface TablePrintPreview
{
SID_FORMATPAGE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_HFEDIT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_ATTR_ZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
FID_SCALE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_STATUS_DOCPOS [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PREVIEW_NEXT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PREVIEW_PREVIOUS [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PREVIEW_FIRST [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PREVIEW_LAST [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PREVIEW_MARGIN [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PREVIEW_SCALINGFACTOR [ ExecMethod = Execute; StateMethod = GetState; ]
SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; ]
SfxVoidItem GoUpBlock SID_CURSORPAGEUP
(
SfxInt16Item By SID_CURSORPAGEUP
)
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN
(
SfxInt16Item By SID_CURSORPAGEDOWN
)
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SID_CURSORHOME [ ExecMethod = Execute; StateMethod = GetState; ]
SID_CURSOREND [ ExecMethod = Execute; StateMethod = GetState; ]
SfxVoidItem GoDown SID_CURSORDOWN
(
SfxInt16Item By SID_CURSORDOWN
)
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SfxVoidItem GoUp SID_CURSORUP
(
SfxInt16Item By SID_CURSORUP
)
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SfxVoidItem GoLeft SID_CURSORLEFT
(
SfxInt16Item By SID_CURSORLEFT
)
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SfxVoidItem GoRight SID_CURSORRIGHT
(
SfxInt16Item By SID_CURSORRIGHT
)
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SID_PREV_TABLE
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SID_NEXT_TABLE
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SfxVoidItem GoToStart SID_CURSORTOPOFFILE ()
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE ()
[
ExecMethod = Execute ;
StateMethod = GetState ;
GroupId = SfxGroupId::Intern ;
]
SID_ZOOM_IN [ ExecMethod = Execute; StateMethod = GetState; ]
SID_ZOOM_OUT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_REPAINT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_UNDO [ ExecMethod = Execute; StateMethod = GetState; ]
SID_REDO [ ExecMethod = Execute; StateMethod = GetState; ]
SID_REPEAT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_PRINTPREVIEW [ ExecMethod = Execute; StateMethod = GetState; ] // ole() api()
SID_PREVIEW_CLOSE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_CANCEL [ ExecMethod = Execute; StateMethod = GetState; ]
SID_SAVEDOC [ StateMethod = GetState; ]
SID_SAVEASDOC [ StateMethod = GetState; ]
SID_MAIL_SENDDOC [ StateMethod = GetState; ]
SID_VIEW_DATA_SOURCE_BROWSER [ StateMethod = GetState; ]
SID_QUITAPP [ StateMethod = GetState; ]
}
shell ScPreviewShell
{
import TablePrintPreview;
}