diff options
Diffstat (limited to 'sc/sdi/prevwsh.sdi')
-rw-r--r-- | sc/sdi/prevwsh.sdi | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/sc/sdi/prevwsh.sdi b/sc/sdi/prevwsh.sdi new file mode 100644 index 000000000..58cba8eaf --- /dev/null +++ b/sc/sdi/prevwsh.sdi @@ -0,0 +1,144 @@ +/* + * 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; +} |