15b190011SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 35b190011SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 45b190011SAndrew Rist * or more contributor license agreements. See the NOTICE file 55b190011SAndrew Rist * distributed with this work for additional information 65b190011SAndrew Rist * regarding copyright ownership. The ASF licenses this file 75b190011SAndrew Rist * to you under the Apache License, Version 2.0 (the 85b190011SAndrew Rist * "License"); you may not use this file except in compliance 95b190011SAndrew Rist * with the License. You may obtain a copy of the License at 105b190011SAndrew Rist * 115b190011SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 125b190011SAndrew Rist * 135b190011SAndrew Rist * Unless required by applicable law or agreed to in writing, 145b190011SAndrew Rist * software distributed under the License is distributed on an 155b190011SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 165b190011SAndrew Rist * KIND, either express or implied. See the License for the 175b190011SAndrew Rist * specific language governing permissions and limitations 185b190011SAndrew Rist * under the License. 195b190011SAndrew Rist * 205b190011SAndrew Rist *************************************************************/ 215b190011SAndrew Rist 225b190011SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove 25cdf0e10cSrcweir #include "precompiled_sd.hxx" 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include "DrawViewShell.hxx" 28cdf0e10cSrcweir #include <sfx2/templdlg.hxx> 29cdf0e10cSrcweir 30cdf0e10cSrcweir #include <svx/fontwork.hxx> 31cdf0e10cSrcweir #include <svx/bmpmask.hxx> 32cdf0e10cSrcweir #include <svx/galbrws.hxx> 33cdf0e10cSrcweir #include <svx/imapdlg.hxx> 34cdf0e10cSrcweir #include <svx/colrctrl.hxx> 35cdf0e10cSrcweir #include <sfx2/objface.hxx> 36*7a32b0c8SAndre Fischer #include <sfx2/sidebar/SidebarChildWindow.hxx> 37cdf0e10cSrcweir #include <svx/f3dchild.hxx> 38cdf0e10cSrcweir #include <svx/tbxcustomshapes.hxx> 39cdf0e10cSrcweir 40cdf0e10cSrcweir #include <svx/svxids.hrc> 41cdf0e10cSrcweir #include <svx/hyprlink.hxx> 42cdf0e10cSrcweir #include <svx/hyperdlg.hxx> 43cdf0e10cSrcweir #include <avmedia/mediaplayer.hxx> 44cdf0e10cSrcweir 45cdf0e10cSrcweir 46cdf0e10cSrcweir #include "app.hrc" 47cdf0e10cSrcweir #include "strings.hrc" 48cdf0e10cSrcweir #include "res_bmp.hrc" 49cdf0e10cSrcweir #include "glob.hrc" 50cdf0e10cSrcweir #include "SpellDialogChildWindow.hxx" 51cdf0e10cSrcweir #include "sdresid.hxx" 52cdf0e10cSrcweir #include "DrawDocShell.hxx" 53cdf0e10cSrcweir #include "GraphicDocShell.hxx" 54cdf0e10cSrcweir #include "GraphicViewShell.hxx" 55cdf0e10cSrcweir #include "AnimationChildWindow.hxx" 56cdf0e10cSrcweir #include "NavigatorChildWindow.hxx" 57cdf0e10cSrcweir #include "LayerDialogChildWindow.hxx" 58cdf0e10cSrcweir 59cdf0e10cSrcweir using namespace sd; 60cdf0e10cSrcweir #define DrawViewShell 61cdf0e10cSrcweir #include "sdslots.hxx" 62cdf0e10cSrcweir #define GraphicViewShell 63cdf0e10cSrcweir #include "sdgslots.hxx" 64cdf0e10cSrcweir 65cdf0e10cSrcweir namespace sd { 66cdf0e10cSrcweir 67cdf0e10cSrcweir //AF:unused #define TABCONTROL_INITIAL_SIZE 500 68cdf0e10cSrcweir 69cdf0e10cSrcweir /************************************************************************* 70cdf0e10cSrcweir |* 71cdf0e10cSrcweir |* SFX-Slotmap und Standardinterface deklarieren 72cdf0e10cSrcweir |* 73cdf0e10cSrcweir \************************************************************************/ 74cdf0e10cSrcweir 75cdf0e10cSrcweir 76cdf0e10cSrcweir SFX_IMPL_INTERFACE(DrawViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL)) 77cdf0e10cSrcweir { 78cdf0e10cSrcweir SFX_POPUPMENU_REGISTRATION( SdResId(RID_DRAW_TEXTOBJ_INSIDE_POPUP) ); 79cdf0e10cSrcweir SFX_CHILDWINDOW_CONTEXT_REGISTRATION( SID_NAVIGATOR ); 80cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SfxTemplateDialogWrapper::GetChildWindowId() ); 81cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxFontWorkChildWindow::GetChildWindowId() ); 82cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxColorChildWindow::GetChildWindowId() ); 83cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( AnimationChildWindow::GetChildWindowId() ); 84cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( Svx3DChildWindow::GetChildWindowId() ); 85cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxBmpMaskChildWindow::GetChildWindowId() ); 86cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( GalleryChildWindow::GetChildWindowId() ); 87cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxIMapDlgChildWindow::GetChildWindowId() ); 88cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxHyperlinkDlgWrapper::GetChildWindowId() ); 89cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() ); 90cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() ); 91cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG ); 92cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() ); 93*7a32b0c8SAndre Fischer SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId()); 94cdf0e10cSrcweir } 95cdf0e10cSrcweir 96cdf0e10cSrcweir 97cdf0e10cSrcweir TYPEINIT1( DrawViewShell, ViewShell ); 98cdf0e10cSrcweir 99cdf0e10cSrcweir 100cdf0e10cSrcweir // SdGraphicViewShell 101cdf0e10cSrcweir 102cdf0e10cSrcweir 103cdf0e10cSrcweir SFX_IMPL_INTERFACE(GraphicViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL)) //SOH... 104cdf0e10cSrcweir { 105cdf0e10cSrcweir SFX_POPUPMENU_REGISTRATION( SdResId(RID_DRAW_TEXTOBJ_INSIDE_POPUP) ); 106cdf0e10cSrcweir SFX_CHILDWINDOW_CONTEXT_REGISTRATION( SID_NAVIGATOR ); 107cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SID_TASKPANE ); 108cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SfxTemplateDialogWrapper::GetChildWindowId() ); 109cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxFontWorkChildWindow::GetChildWindowId() ); 110cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxColorChildWindow::GetChildWindowId() ); 111cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( Svx3DChildWindow::GetChildWindowId() ); 112cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxBmpMaskChildWindow::GetChildWindowId() ); 113cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( GalleryChildWindow::GetChildWindowId() ); 114cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxIMapDlgChildWindow::GetChildWindowId() ); 115cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxHyperlinkDlgWrapper::GetChildWindowId() ); 116cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() ); 117cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() ); 118cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG ); 119cdf0e10cSrcweir SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() ); 120*7a32b0c8SAndre Fischer SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId()); 121cdf0e10cSrcweir } 122cdf0e10cSrcweir 123cdf0e10cSrcweir TYPEINIT1( GraphicViewShell, DrawViewShell ); 124cdf0e10cSrcweir 125cdf0e10cSrcweir 126cdf0e10cSrcweir } // end of namespace sd 127