fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / sd / source / ui / view / drvwshrg.cxx
blobc71959c2f3ff266488c92bc37acc2e4b95e0557d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #include "DrawViewShell.hxx"
22 #include <sfx2/templdlg.hxx>
23 #include <sfx2/infobar.hxx>
25 #include <svx/fontwork.hxx>
26 #include <svx/bmpmask.hxx>
27 #include <svx/galbrws.hxx>
28 #include <svx/imapdlg.hxx>
29 #include <svx/SvxColorChildWindow.hxx>
30 #include <sfx2/objface.hxx>
31 #include <sfx2/sidebar/SidebarChildWindow.hxx>
32 #include <svx/f3dchild.hxx>
33 #include <svx/tbxcustomshapes.hxx>
35 #include <svx/svxids.hrc>
36 #include <svx/hyperdlg.hxx>
37 #include <avmedia/mediaplayer.hxx>
40 #include "app.hrc"
41 #include "strings.hrc"
42 #include "res_bmp.hrc"
43 #include "glob.hrc"
44 #include "SpellDialogChildWindow.hxx"
45 #include "sdresid.hxx"
46 #include "DrawDocShell.hxx"
47 #include "GraphicDocShell.hxx"
48 #include "GraphicViewShell.hxx"
49 #include "AnimationChildWindow.hxx"
50 #include "NavigatorChildWindow.hxx"
51 #include "LayerDialogChildWindow.hxx"
53 using namespace sd;
54 #define DrawViewShell
55 #include "sdslots.hxx"
56 #define GraphicViewShell
57 #include "sdgslots.hxx"
59 namespace sd {
61 /**
62 * Declare SFX-Slotmap and Standardinterface
66 SFX_IMPL_INTERFACE(DrawViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL))
68 SFX_POPUPMENU_REGISTRATION( SdResId(RID_DRAW_TEXTOBJ_INSIDE_POPUP) );
69 SFX_CHILDWINDOW_CONTEXT_REGISTRATION( SID_NAVIGATOR );
70 SFX_CHILDWINDOW_REGISTRATION( SfxTemplateDialogWrapper::GetChildWindowId() );
71 SFX_CHILDWINDOW_REGISTRATION( SfxInfoBarContainerChild::GetChildWindowId() );
72 SFX_CHILDWINDOW_REGISTRATION( SvxFontWorkChildWindow::GetChildWindowId() );
73 SFX_CHILDWINDOW_REGISTRATION( SvxColorChildWindow::GetChildWindowId() );
74 SFX_CHILDWINDOW_REGISTRATION( AnimationChildWindow::GetChildWindowId() );
75 SFX_CHILDWINDOW_REGISTRATION( Svx3DChildWindow::GetChildWindowId() );
76 SFX_CHILDWINDOW_REGISTRATION( SvxBmpMaskChildWindow::GetChildWindowId() );
77 SFX_CHILDWINDOW_REGISTRATION( GalleryChildWindow::GetChildWindowId() );
78 SFX_CHILDWINDOW_REGISTRATION( SvxIMapDlgChildWindow::GetChildWindowId() );
79 SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() );
80 SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() );
81 SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG );
82 SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() );
83 SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
87 TYPEINIT1( DrawViewShell, ViewShell );
90 // SdGraphicViewShell
93 SFX_IMPL_INTERFACE(GraphicViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL)) //SOH...
95 SFX_POPUPMENU_REGISTRATION( SdResId(RID_DRAW_TEXTOBJ_INSIDE_POPUP) );
96 SFX_CHILDWINDOW_CONTEXT_REGISTRATION( SID_NAVIGATOR );
97 SFX_CHILDWINDOW_REGISTRATION( SID_TASKPANE );
98 SFX_CHILDWINDOW_REGISTRATION( SfxTemplateDialogWrapper::GetChildWindowId() );
99 SFX_CHILDWINDOW_REGISTRATION( SvxFontWorkChildWindow::GetChildWindowId() );
100 SFX_CHILDWINDOW_REGISTRATION( SvxColorChildWindow::GetChildWindowId() );
101 SFX_CHILDWINDOW_REGISTRATION( Svx3DChildWindow::GetChildWindowId() );
102 SFX_CHILDWINDOW_REGISTRATION( SvxBmpMaskChildWindow::GetChildWindowId() );
103 SFX_CHILDWINDOW_REGISTRATION( GalleryChildWindow::GetChildWindowId() );
104 SFX_CHILDWINDOW_REGISTRATION( SvxIMapDlgChildWindow::GetChildWindowId() );
105 SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() );
106 SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() );
107 SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG );
108 SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() );
109 SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
112 TYPEINIT1( GraphicViewShell, DrawViewShell );
115 } // end of namespace sd
117 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */