diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /sd/sdi/SlideSorterController.sdi | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sd/sdi/SlideSorterController.sdi')
-rw-r--r-- | sd/sdi/SlideSorterController.sdi | 341 |
1 files changed, 341 insertions, 0 deletions
diff --git a/sd/sdi/SlideSorterController.sdi b/sd/sdi/SlideSorterController.sdi new file mode 100644 index 000000000..22bc64214 --- /dev/null +++ b/sd/sdi/SlideSorterController.sdi @@ -0,0 +1,341 @@ +/* + * 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 . + */ + +enum FadeEffect +{ + FADE_EFFECT_NONE , + FADE_EFFECT_FADE_FROM_LEFT , + FADE_EFFECT_FADE_FROM_TOP , + FADE_EFFECT_FADE_FROM_RIGHT , + FADE_EFFECT_FADE_FROM_BOTTOM , + FADE_EFFECT_FADE_TO_CENTER , + FADE_EFFECT_FADE_FROM_CENTER , + FADE_EFFECT_MOVE_FROM_LEFT , + FADE_EFFECT_MOVE_FROM_TOP , + FADE_EFFECT_MOVE_FROM_RIGHT , + FADE_EFFECT_MOVE_FROM_BOTTOM , + FADE_EFFECT_ROLL_FROM_LEFT , + FADE_EFFECT_ROLL_FROM_TOP , + FADE_EFFECT_ROLL_FROM_RIGHT , + FADE_EFFECT_ROLL_FROM_BOTTOM , + FADE_EFFECT_VERTICAL_STRIPES , + FADE_EFFECT_HORIZONTAL_STRIPES , + FADE_EFFECT_OPEN_VERTICAL , + FADE_EFFECT_CLOSE_VERTICAL , + FADE_EFFECT_OPEN_HORIZONTAL , + FADE_EFFECT_CLOSE_HORIZONTAL , + FADE_EFFECT_CLEAR_AWAY , + FADE_EFFECT_OVERLAY +} + +enum FadeSpeed +{ + FADE_SPEED_SLOW , + FADE_SPEED_MEDIUM , + FADE_SPEED_FAST +} + +enum PresChange +{ + PresChange::Manual , + PresChange::Auto , + PresChange::SemiAuto +} ; + + // Items +item UINT32 DiaTimeItem ; +item PresChange DiaAutoItem ; +item FadeEffect DiaEffectItem ; +item FadeSpeed DiaSpeedItem ; + + +interface SlideSorterView +{ + SID_INSERTPAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_INSERT_MASTER_PAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_DUPLICATE_PAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_DELETE_PAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetClipboardState ; + ] + SID_DELETE_MASTER_PAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetClipboardState ; + ] + SID_RENAMEPAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_RENAME_MASTER_PAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_DELETE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_CUT // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetClipboardState ; + ] + SID_COPY // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetClipboardState ; + ] + SID_PASTE // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetClipboardState ; + ] + SID_PASTE_SPECIAL // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetClipboardState ; + ] + SID_REHEARSE_TIMINGS // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_PRESENTATION // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_PRESENTATION_CURRENT_SLIDE // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_HIDE_SLIDE // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_SHOW_SLIDE // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_OBJECT_SELECT // ole : no, status : ? + [ + ExecMethod = FuPermanent ; + StateMethod = GetMenuState ; + ] + SID_ZOOM_TOOLBOX // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_SIZE_VISAREA // ole : no, status : no + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_PAGES_PER_ROW // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetAttrState ; + ] + SID_SELECTALL // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_STATUS_PAGE // ole : no, status : ? + [ + ExecMethod = ExecStatusBar ; + StateMethod = GetStatusBarState ; + ] + SID_STATUS_LAYOUT // ole : no, status : ? + [ + ExecMethod = ExecStatusBar ; + StateMethod = GetStatusBarState ; + ] + SID_SCALE // ole : no, status : ? + [ + ExecMethod = ExecStatusBar ; + StateMethod = GetStatusBarState ; + ] + SID_RELOAD // ole : no, status : ? + [ + GroupId = SfxGroupId::Document ; + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + Asynchron , AutoUpdate , + MenuConfig , AccelConfig , ToolBoxConfig ; + ] + SID_SEARCH_DLG // ole : no, status : ? + [ + ExecMethod = ExecCtrl ; + StateMethod = GetMenuState ; + ] + SID_SLIDE_TRANSITIONS_PANEL // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_MASTER_SLIDES_PANEL // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_PRESENTATION_DLG + [ + ExecMethod = FuTemporary ; + ] + SID_REMOTE_DLG + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_CUSTOMSHOW_DLG + [ + ExecMethod = FuTemporary ; + ] + SID_EXPAND_PAGE // ole : no, status : play rec + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_SUMMARY_PAGE // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_OUTPUT_QUALITY_COLOR // ole : no, status : play rec + [ + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + ] + SID_OUTPUT_QUALITY_GRAYSCALE // ole : no, status : play rec + [ + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + ] + SID_OUTPUT_QUALITY_BLACKWHITE // ole : no, status : play rec + [ + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + ] + SID_OUTPUT_QUALITY_CONTRAST // ole : no, status : play rec + [ + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + ] + SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ? + [ + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + ] + SID_STYLE_FAMILY + [ + ExecMethod = FuSupport ; + StateMethod = GetMenuState ; + ] + SID_OPT_LOCALE_CHANGED // ole : no, status : ? + [ + ExecMethod = ExecCtrl ; + StateMethod = GetCtrlState ; + ] + + SID_GETUNDOSTRINGS // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetMenuState ; + ] + SID_UNDO // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetMenuState ; + ] + SID_GETREDOSTRINGS // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetMenuState ; + ] + SID_REDO // ole : no, status : ? + [ + ExecMethod = FuSupport ; + StateMethod = GetMenuState ; + ] + SID_MODIFYPAGE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_ASSIGN_LAYOUT + [ + ExecMethod = FuTemporary; + StateMethod = GetMenuState; + ] + SID_PHOTOALBUM + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] + SID_MOVE_PAGE_UP + [ + ExecMethod = ExecMovePageUp ; + StateMethod = GetStateMovePageUp ; + ] + SID_MOVE_PAGE_DOWN + [ + ExecMethod = ExecMovePageDown ; + StateMethod = GetStateMovePageDown ; + ] + SID_MOVE_PAGE_FIRST + [ + ExecMethod = ExecMovePageFirst ; + StateMethod = GetStateMovePageFirst ; + ] + SID_MOVE_PAGE_LAST + [ + ExecMethod = ExecMovePageLast ; + StateMethod = GetStateMovePageLast ; + ] +} + +shell SlideSorterController +{ + import SlideSorterView; +} + +shell SlideSorterViewShell +{ + import SlideSorterView; +} |