c41dfa1265
The menu is now: Slide Show Start from first Slide Start from current Slide ... instead of: Slide Show Slide Show Slide Show From This Slide ... I also changed the recently introduced function name/uno command for "Start from current Slide". This should make no trouble, since this function has not seen a release so far. Change-Id: I248c9d63ec28071b2887f89912aa90fa1e4afcb5 Reviewed-on: https://gerrit.libreoffice.org/3604 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
317 lines
7.7 KiB
Text
317 lines
7.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 .
|
|
*/
|
|
|
|
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_ATTR_ZOOMSLIDER // status()
|
|
[
|
|
ExecMethod = ExecStatusBar ;
|
|
StateMethod = GetStatusBarState ;
|
|
]
|
|
|
|
SID_RELOAD // ole : no, status : ?
|
|
[
|
|
GroupId = GID_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_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 ;
|
|
]
|
|
}
|
|
|
|
shell SlideSorterController
|
|
{
|
|
import SlideSorterView[Automation];
|
|
}
|
|
|
|
shell SlideSorterViewShell
|
|
{
|
|
import SlideSorterView[Automation];
|
|
}
|