LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/sd/source/ui/view - drvwshrg.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 37 37 100.0 %
Date: 2013-07-09 Functions: 16 20 80.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : 
      21             : #include "DrawViewShell.hxx"
      22             : #include <sfx2/templdlg.hxx>
      23             : #include <sfx2/infobar.hxx>
      24             : 
      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>
      34             : 
      35             : #include <svx/svxids.hrc>
      36             : #include <svx/hyperdlg.hxx>
      37             : #include <avmedia/mediaplayer.hxx>
      38             : 
      39             : 
      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"
      52             : 
      53             : using namespace sd;
      54             : #define DrawViewShell
      55             : #include "sdslots.hxx"
      56             : #define GraphicViewShell
      57             : #include "sdgslots.hxx"
      58             : 
      59             : namespace sd {
      60             : 
      61             : /**
      62             :  * Declare SFX-Slotmap and Standardinterface
      63             :  */
      64             : 
      65             : 
      66       10178 : SFX_IMPL_INTERFACE(DrawViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL))
      67             : {
      68          11 :     SFX_POPUPMENU_REGISTRATION( SdResId(RID_DRAW_TEXTOBJ_INSIDE_POPUP) );
      69          11 :     SFX_CHILDWINDOW_CONTEXT_REGISTRATION( SID_NAVIGATOR );
      70          11 :     SFX_CHILDWINDOW_REGISTRATION( SfxTemplateDialogWrapper::GetChildWindowId() );
      71          11 :     SFX_CHILDWINDOW_REGISTRATION( SfxInfoBarContainerChild::GetChildWindowId() );
      72          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxFontWorkChildWindow::GetChildWindowId() );
      73          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxColorChildWindow::GetChildWindowId() );
      74          11 :     SFX_CHILDWINDOW_REGISTRATION( AnimationChildWindow::GetChildWindowId() );
      75          11 :     SFX_CHILDWINDOW_REGISTRATION( Svx3DChildWindow::GetChildWindowId() );
      76          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxBmpMaskChildWindow::GetChildWindowId() );
      77          11 :     SFX_CHILDWINDOW_REGISTRATION( GalleryChildWindow::GetChildWindowId() );
      78          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxIMapDlgChildWindow::GetChildWindowId() );
      79          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() );
      80          11 :     SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() );
      81          11 :     SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG );
      82          11 :     SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() );
      83          11 :     SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
      84          11 : }
      85             : 
      86             : 
      87        9265 : TYPEINIT1( DrawViewShell, ViewShell );
      88             : 
      89             : 
      90             : // SdGraphicViewShell
      91             : 
      92             : 
      93       34683 : SFX_IMPL_INTERFACE(GraphicViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL)) //SOH...
      94             : {
      95          11 :     SFX_POPUPMENU_REGISTRATION( SdResId(RID_DRAW_TEXTOBJ_INSIDE_POPUP) );
      96          11 :     SFX_CHILDWINDOW_CONTEXT_REGISTRATION( SID_NAVIGATOR );
      97          11 :     SFX_CHILDWINDOW_REGISTRATION( SfxTemplateDialogWrapper::GetChildWindowId() );
      98          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxFontWorkChildWindow::GetChildWindowId() );
      99          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxColorChildWindow::GetChildWindowId() );
     100          11 :     SFX_CHILDWINDOW_REGISTRATION( Svx3DChildWindow::GetChildWindowId() );
     101          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxBmpMaskChildWindow::GetChildWindowId() );
     102          11 :     SFX_CHILDWINDOW_REGISTRATION( GalleryChildWindow::GetChildWindowId() );
     103          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxIMapDlgChildWindow::GetChildWindowId() );
     104          11 :     SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() );
     105          11 :     SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() );
     106          11 :     SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG );
     107          11 :     SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() );
     108          11 :     SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
     109          11 : }
     110             : 
     111        5697 : TYPEINIT1( GraphicViewShell, DrawViewShell );
     112             : 
     113             : 
     114          33 : } // end of namespace sd
     115             : 
     116             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10