LibreOffice Module sd (master) 1
drvwshrg.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#include <config_features.h>
21
22#include <DrawViewShell.hxx>
23#include <sfx2/infobar.hxx>
24
25#include <svx/fontwork.hxx>
26#include <svx/bmpmask.hxx>
27#include <svx/imapdlg.hxx>
29#include <sfx2/objface.hxx>
32#include <svx/f3dchild.hxx>
33
34#include <svx/svxids.hrc>
35#include <svx/hyperdlg.hxx>
37
38#include <app.hrc>
39
40#include <SpellDialogChildWindow.hxx>
41#include <GraphicViewShell.hxx>
43
44using namespace sd;
45#define ShellClass_DrawViewShell
46#include <sdslots.hxx>
47#define ShellClass_GraphicViewShell
48#include <sdgslots.hxx>
49
50namespace sd
51{
57
58void DrawViewShell::InitInterface_Impl()
59{
60 GetStaticInterface()->RegisterPopupMenu("drawtext");
61
62 GetStaticInterface()->RegisterChildWindow(SID_NAVIGATOR, true);
63
64 GetStaticInterface()->RegisterChildWindow(SfxInfoBarContainerChild::GetChildWindowId());
65 GetStaticInterface()->RegisterChildWindow(SvxFontWorkChildWindow::GetChildWindowId());
66 GetStaticInterface()->RegisterChildWindow(SvxColorChildWindow::GetChildWindowId());
67 GetStaticInterface()->RegisterChildWindow(AnimationChildWindow::GetChildWindowId());
68 GetStaticInterface()->RegisterChildWindow(Svx3DChildWindow::GetChildWindowId());
69 GetStaticInterface()->RegisterChildWindow(SvxBmpMaskChildWindow::GetChildWindowId());
70 GetStaticInterface()->RegisterChildWindow(SvxIMapDlgChildWindow::GetChildWindowId());
71 GetStaticInterface()->RegisterChildWindow(SvxHlinkDlgWrapper::GetChildWindowId());
72 GetStaticInterface()->RegisterChildWindow(::sd::SpellDialogChildWindow::GetChildWindowId());
73 GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
74#if HAVE_FEATURE_AVMEDIA
75 GetStaticInterface()->RegisterChildWindow(::avmedia::MediaPlayer::GetChildWindowId());
76#endif
77 GetStaticInterface()->RegisterChildWindow(
78 sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
79 GetStaticInterface()->RegisterChildWindow(DevelopmentToolChildWindow::GetChildWindowId());
80}
81
82// SdGraphicViewShell
84
85void GraphicViewShell::InitInterface_Impl()
86{
87 GetStaticInterface()->RegisterPopupMenu("drawtext");
88
89 GetStaticInterface()->RegisterChildWindow(SID_NAVIGATOR, true);
90
91 GetStaticInterface()->RegisterChildWindow(SfxInfoBarContainerChild::GetChildWindowId());
92 GetStaticInterface()->RegisterChildWindow(SvxFontWorkChildWindow::GetChildWindowId());
93 GetStaticInterface()->RegisterChildWindow(SvxColorChildWindow::GetChildWindowId());
94 GetStaticInterface()->RegisterChildWindow(Svx3DChildWindow::GetChildWindowId());
95 GetStaticInterface()->RegisterChildWindow(SvxBmpMaskChildWindow::GetChildWindowId());
96 GetStaticInterface()->RegisterChildWindow(SvxIMapDlgChildWindow::GetChildWindowId());
97 GetStaticInterface()->RegisterChildWindow(SvxHlinkDlgWrapper::GetChildWindowId());
98 GetStaticInterface()->RegisterChildWindow(::sd::SpellDialogChildWindow::GetChildWindowId());
99 GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
100#if HAVE_FEATURE_AVMEDIA
101 GetStaticInterface()->RegisterChildWindow(::avmedia::MediaPlayer::GetChildWindowId());
102#endif
103 GetStaticInterface()->RegisterChildWindow(
104 sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
105 GetStaticInterface()->RegisterChildWindow(DevelopmentToolChildWindow::GetChildWindowId());
106}
107
108} // end of namespace sd
109
110/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
View shell of the Draw application.
#define SFX_IMPL_INTERFACE(Class, SuperClass)