b2aa4319f9
Flattens DocumentIteratorImpl, getting rid of the intermediary ViewIteratorImpl. Now the DocumentIteratorImpl, iterates in the following pattern: 1-) For all slides, visit the NormalView and the NotesView before advancing to next slide. 2-) Master Pages 3-) Handouts Now when a search result is found in the NotesView that is displayed on the NotesPane instead of the NotesView. Change-Id: I8133c6a74861e783ab1a23f51ac5faf362a0f512 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169659 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
506 lines
13 KiB
Text
506 lines
13 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/.
|
|
*/
|
|
|
|
interface NotesPanelView
|
|
{
|
|
SID_CUT // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_COPY // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PASTE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PASTE_UNFORMATTED // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_DELETE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
Asynchron ;
|
|
]
|
|
SID_DRAWINGMODE // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_ZOOM_NEXT // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_ZOOM_PREV // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_ZOOM_TOOLBOX // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetStatusBarState ;
|
|
]
|
|
SID_ATTR_ZOOM // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetStatusBarState ;
|
|
]
|
|
SID_ATTR_ZOOMSLIDER // status()
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetStatusBarState ;
|
|
]
|
|
SID_ZOOM_OUT // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_ZOOM_IN // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_SIZE_REAL // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_SIZE_VISAREA // ole : no, status : no
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_HYPERLINK_SETLINK // ole : no, status : no
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
]
|
|
SID_HYPERLINK_GETLINK // ole : no, status : no
|
|
[
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_READONLY_MODE // ole : no, status : no
|
|
[
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_CHARMAP // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_CHARMAP_CONTROL // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
FN_INSERT_SOFT_HYPHEN // status(final|play)
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
FN_INSERT_HARDHYPHEN // status()
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
FN_INSERT_HARD_SPACE // status(final|play)
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
FN_INSERT_NNBSP // status(final|play)
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_RLM
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_LRM
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_ZWSP
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_WJ
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
FN_SVX_SET_BULLET
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
]
|
|
FN_SVX_SET_NUMBER
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
]
|
|
SID_OUTLINE_BULLET // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_CHAR_DLG // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_CHAR_DLG_EFFECT // wj for sym2_1876
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_SELECTALL // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
SID_INSERTFILE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PRESENTATION // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PRESENTATION_CURRENT_SLIDE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_EDIT_OUTLINER // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuPermanent ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_RULER // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
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_THESAURUS // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_SET_DEFAULT // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PRESENTATIONOBJECT
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
// Templates
|
|
// no menu entry
|
|
SID_STYLE_FAMILY2 // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
SID_STYLE_FAMILY3 // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
// Templates
|
|
// no menu entry
|
|
SID_STYLE_FAMILY5 // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
// no menu entry
|
|
SID_STYLE_EDIT // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
// no menu entry
|
|
SID_STYLE_UPDATE_BY_EXAMPLE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
// no menu entry
|
|
SID_STYLE_WATERCAN // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
// no menu entry
|
|
SID_STYLE_NEW_BY_EXAMPLE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
// no menu entry
|
|
SID_STYLE_NEW // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
// no menu entry
|
|
SID_STYLE_DELETE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
SID_STYLE_HIDE
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
SID_STYLE_SHOW
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetAttrState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
SID_AUTOSPELL_CHECK // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PREVIEW_STATE // 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 : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_SUMMARY_PAGE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_DATE_FIX // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_DATE_VAR // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_TIME_FIX // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_TIME_VAR // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_PAGE_TITLE // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_PAGE // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_PAGES // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_FILE // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_INSERT_FLD_AUTHOR // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_MODIFY_FIELD // ole : no, status : play rec
|
|
[
|
|
ExecMethod = FuTemporaryModify ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
|
|
SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ?
|
|
[
|
|
ExecMethod = ExecCtrl ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_STYLE_FAMILY
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_TRANSLITERATE_SENTENCE_CASE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_TITLE_CASE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_TOGGLE_CASE // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_UPPER // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_LOWER // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_HALFWIDTH // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_FULLWIDTH // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_HIRAGANA // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
SID_TRANSLITERATE_KATAKANA // ole : no, status : ?
|
|
[
|
|
ExecMethod = FuSupport ;
|
|
StateMethod = GetCtrlState ;
|
|
]
|
|
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_SEARCH_OPTIONS // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
SID_SEARCH_ITEM // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_SPELL_DIALOG // ole : no, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
SID_PHOTOALBUM
|
|
[
|
|
ExecMethod = FuTemporary ;
|
|
StateMethod = GetMenuState ;
|
|
]
|
|
FID_SEARCH_NOW // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
GroupId = SfxGroupId::Document ;
|
|
]
|
|
}
|
|
|
|
shell NotesPanelViewShell
|
|
{
|
|
import NotesPanelView;
|
|
}
|