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 /sfx2/sdi/frmslots.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 'sfx2/sdi/frmslots.sdi')
-rw-r--r-- | sfx2/sdi/frmslots.sdi | 318 |
1 files changed, 318 insertions, 0 deletions
diff --git a/sfx2/sdi/frmslots.sdi b/sfx2/sdi/frmslots.sdi new file mode 100644 index 000000000..1126a0f19 --- /dev/null +++ b/sfx2/sdi/frmslots.sdi @@ -0,0 +1,318 @@ +/* + * 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 Window +{ + SID_HYPERLINK_DIALOG + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_RUBY_DIALOG + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_NAVIGATOR // status(final|play) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_INFOBAR // status(final|play) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_SIDEBAR // status(final|play) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_SIDEBAR_DECK + [ + ExecMethod = ChildWindowExecute ; + ] + SID_BROWSER // ole(no) api() + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api() + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_SEARCH_DLG // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + SID_RECORDMACRO // ole(no) api(final/play/norec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + SID_STOP_RECORDING // ole(no) api(final/play/norec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + SID_STYLE_DESIGNER // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + ] + SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + // Pre-defined docking window slots (usable by internal docking windows) + SID_DOCKWIN_0 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_1 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_2 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_3 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_4 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_5 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_6 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_7 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_8 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + SID_DOCKWIN_9 + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] +/* Be careful! + You also have to make changes in: + - sfx2/sdi/sfx.sdi + - sfx2/source/dialog/dockwin.cxx + - sfx2/sdi/frmslots.sdi + - sfx2/inc/sfx2/sfxsids.hrc +*/ + // Window.GetFrameWindow( "Name" ) + SID_FILLFRAME + [ + ExecMethod = ExecView_Impl; + ] + + // Only for Designers: Slot must be present + SID_STYLE_NEW + [ + ] + + // Only for Designers: Slot must be present + SID_STYLE_DRAGHIERARCHIE + [ + ] + SID_CLEARHISTORY // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + SID_UNDO // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + SID_REDO // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + SID_REPEAT // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + SID_CURRENT_URL // ole(no) api(no) + [ + StateMethod = MiscState_Impl ; + ] + // Stringlist with the verbs ( SFX only ) + SID_OBJECT // ole(no) api(no) + [ + StateMethod = GetState_Impl ; + ExecMethod = ExecView_Impl ; + ] + SID_TERMINATE_INPLACEACTIVATION + [ + ExecMethod = ExecView_Impl ; + ] +} + +interface BrowseWindow : Window +{ + SID_ACTIVATE // ole(no) api(final/play/rec) + [ + // Implementations in Subclasses + ] + SID_NEWWINDOW // ole(no) api(play/rec) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + SID_EDITDOC // ole(?opt) api(play/rec) + [ + ExecMethod = ExecReload_Impl ; + StateMethod = StateReload_Impl ; + ] + SID_READONLYDOC // ole(?opt) api(play/rec) + [ + ExecMethod = ExecReload_Impl ; + StateMethod = StateReload_Impl ; + ] + SID_RELOAD // ole(?opt) api(play/rec) + [ + ExecMethod = ExecReload_Impl ; + StateMethod = StateReload_Impl ; + ] + SID_VIEWSHELL // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + SID_VIEWSHELL0 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + SID_VIEWSHELL1 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + SID_VIEWSHELL2 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + SID_VIEWSHELL3 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + SID_VIEWSHELL4 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] +} + +interface TopWindow : BrowseWindow +{ + SID_NEWDOCDIRECT // ole(no) api(no) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + SID_WIN_FULLSCREEN // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + SID_COMMAND_POPUP + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + SID_CLOSEWIN // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + SID_BROWSE_FORWARD // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + SID_BROWSE_BACKWARD // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + SID_CREATELINK // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + SID_FOCUSURLBOX // ole(no) api(final/play/rec) + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] +} + + + +shell SfxViewFrame +{ + import TopWindow; + + SID_ACTIVATE // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + SID_SHOWPOPUPS + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] +} |