LCOV - code coverage report
Current view: top level - libreoffice/sd/source/ui/app - sddll2.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 88 88 100.0 %
Date: 2012-12-27 Functions: 3 3 100.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             : #include <editeng/editdata.hxx>
      21             : #include "eetext.hxx"
      22             : #include <svx/svxids.hrc>
      23             : #include <editeng/eeitem.hxx>
      24             : 
      25             : #include <editeng/flditem.hxx>
      26             : #include <svx/imapdlg.hxx>
      27             : #include <svx/bmpmask.hxx>
      28             : #include <svx/galbrws.hxx>
      29             : #include <svx/srchdlg.hxx>
      30             : #include <svx/fontwork.hxx>
      31             : #include <svx/colrctrl.hxx>
      32             : #include <svx/verttexttbxctrl.hxx>
      33             : #include <svx/hyperdlg.hxx>
      34             : #include <svx/fillctrl.hxx>
      35             : #include <svx/linectrl.hxx>
      36             : #include <svx/tbcontrl.hxx>
      37             : #include <svx/zoomctrl.hxx>
      38             : #include <svx/zoomsliderctrl.hxx>
      39             : #include <svx/pszctrl.hxx>
      40             : #include <svx/modctrl.hxx>
      41             : #include <svx/fntctl.hxx>
      42             : #include <svx/fntszctl.hxx>
      43             : #include <svx/f3dchild.hxx>
      44             : #include <svx/grafctrl.hxx>
      45             : #include <svx/tbxcustomshapes.hxx>
      46             : #include <svx/lboxctrl.hxx>
      47             : #include <svx/clipboardctl.hxx>
      48             : #include <svx/extrusioncolorcontrol.hxx>
      49             : #include <svx/fontworkgallery.hxx>
      50             : #include <svx/tbxcolor.hxx>
      51             : #include <avmedia/mediaplayer.hxx>
      52             : #include <avmedia/mediatoolbox.hxx>
      53             : 
      54             : #include <svx/layctrl.hxx>
      55             : #include <svx/subtoolboxcontrol.hxx>
      56             : 
      57             : #include "sddll.hxx"
      58             : #include "sdmod.hxx"
      59             : #define _SD_DIACTRL_CXX
      60             : #include "diactrl.hxx"
      61             : #include "gluectrl.hxx"
      62             : #include "tbx_ww.hxx"
      63             : #include "AnimationChildWindow.hxx"
      64             : #include "animobjs.hxx"
      65             : #include "NavigatorChildWindow.hxx"
      66             : #include "LayerDialogChildWindow.hxx"
      67             : #include "app.hrc"
      68             : #include "SpellDialogChildWindow.hxx"
      69             : #include "DrawViewShell.hxx"
      70             : #include "GraphicViewShell.hxx"
      71             : #include <svx/xmlsecctrl.hxx>
      72             : #include <svx/formatpaintbrushctrl.hxx>
      73             : #include "PaneChildWindows.hxx"
      74             : 
      75             : #include "tmplctrl.hxx"
      76             : 
      77             : /*************************************************************************
      78             : |*
      79             : |* Register all Controllers
      80             : |*
      81             : \************************************************************************/
      82             : 
      83             : 
      84           3 : void SdDLL::RegisterControllers()
      85             : {
      86           3 :     SfxModule* pMod = SD_MOD();
      87             : 
      88             :     // ToolBoxControls registrieren
      89           3 :     SdTbxControl::RegisterControl( SID_OBJECT_ALIGN, pMod );
      90           3 :     SdTbxControl::RegisterControl( SID_ZOOM_TOOLBOX, pMod );
      91           3 :     SdTbxControl::RegisterControl( SID_OBJECT_CHOOSE_MODE, pMod );
      92           3 :     SdTbxControl::RegisterControl( SID_POSITION, pMod );
      93           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_TEXT, pMod );
      94           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_RECTANGLES, pMod );
      95           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_ELLIPSES, pMod );
      96           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_LINES, pMod );
      97           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_ARROWS, pMod );
      98           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_3D_OBJECTS, pMod );
      99           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_CONNECTORS, pMod );
     100           3 :     SdTbxControl::RegisterControl( SID_DRAWTBX_INSERT, pMod );
     101             : 
     102           3 :     SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_BASIC, pMod );
     103           3 :     SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_SYMBOL, pMod );
     104           3 :     SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_ARROW, pMod );
     105           3 :     SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_FLOWCHART, pMod );
     106           3 :     SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_CALLOUT, pMod );
     107           3 :     SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_STAR, pMod );
     108             : 
     109           3 :     SdTbxCtlDiaPages::RegisterControl( SID_PAGES_PER_ROW, pMod );
     110           3 :     SdTbxCtlGlueEscDir::RegisterControl( SID_GLUE_ESCDIR, pMod );
     111             : 
     112           3 :     ::sd::AnimationChildWindow::RegisterChildWindow(0, pMod);
     113           3 :     ::sd::NavigatorChildWindow::RegisterChildWindowContext( (sal_uInt16) ::sd::DrawViewShell::GetInterfaceId(), pMod );
     114           3 :     ::sd::NavigatorChildWindow::RegisterChildWindowContext( (sal_uInt16) ::sd::GraphicViewShell::GetInterfaceId(), pMod );
     115           3 :     ::sd::LayerDialogChildWindow::RegisterChildWindow(0, pMod);
     116             : 
     117           3 :     Svx3DChildWindow::RegisterChildWindow(0, pMod);
     118           3 :     SvxFontWorkChildWindow::RegisterChildWindow(0, pMod);
     119           3 :     SvxColorChildWindow::RegisterChildWindow(0, pMod, SFX_CHILDWIN_TASK);
     120           3 :     SvxSearchDialogWrapper::RegisterChildWindow(0, pMod);
     121           3 :     SvxBmpMaskChildWindow::RegisterChildWindow(0, pMod);
     122           3 :     GalleryChildWindow::RegisterChildWindow(0, pMod);
     123           3 :     SvxIMapDlgChildWindow::RegisterChildWindow(0, pMod);
     124           3 :     SvxHlinkDlgWrapper::RegisterChildWindow(0, pMod);
     125           3 :     ::sd::SpellDialogChildWindow::RegisterChildWindow(0, pMod);
     126           3 :     ::avmedia::MediaPlayer::RegisterChildWindow(0, pMod);
     127           3 :     ::sd::LeftPaneImpressChildWindow::RegisterChildWindow(0, pMod);
     128           3 :     ::sd::LeftPaneDrawChildWindow::RegisterChildWindow(0, pMod);
     129           3 :     ::sd::ToolPanelChildWindow::RegisterChildWindow(0, pMod);
     130             : 
     131           3 :     SvxFillToolBoxControl::RegisterControl(0, pMod);
     132           3 :     SvxLineStyleToolBoxControl::RegisterControl(0, pMod);
     133           3 :     SvxLineWidthToolBoxControl::RegisterControl(0, pMod);
     134           3 :     SvxLineColorToolBoxControl::RegisterControl(0, pMod);
     135             : 
     136           3 :     SvxLineEndToolBoxControl::RegisterControl( SID_ATTR_LINEEND_STYLE, pMod );
     137             : 
     138           3 :     SvxStyleToolBoxControl::RegisterControl(0, pMod);
     139           3 :     SvxFontNameToolBoxControl::RegisterControl(0, pMod);
     140           3 :     SvxFontColorToolBoxControl::RegisterControl(0, pMod);
     141             : 
     142           3 :     SvxGrafFilterToolBoxControl::RegisterControl( SID_GRFFILTER, pMod );
     143           3 :     SvxGrafModeToolBoxControl::RegisterControl( SID_ATTR_GRAF_MODE, pMod );
     144           3 :     SvxGrafRedToolBoxControl::RegisterControl( SID_ATTR_GRAF_RED, pMod );
     145           3 :     SvxGrafGreenToolBoxControl::RegisterControl( SID_ATTR_GRAF_GREEN, pMod );
     146           3 :     SvxGrafBlueToolBoxControl::RegisterControl( SID_ATTR_GRAF_BLUE, pMod );
     147           3 :     SvxGrafLuminanceToolBoxControl::RegisterControl( SID_ATTR_GRAF_LUMINANCE, pMod );
     148           3 :     SvxGrafContrastToolBoxControl::RegisterControl( SID_ATTR_GRAF_CONTRAST, pMod );
     149           3 :     SvxGrafGammaToolBoxControl::RegisterControl( SID_ATTR_GRAF_GAMMA, pMod );
     150           3 :     SvxGrafTransparenceToolBoxControl::RegisterControl( SID_ATTR_GRAF_TRANSPARENCE, pMod );
     151           3 :     SvxVertTextTbxCtrl::RegisterControl(SID_TEXTDIRECTION_TOP_TO_BOTTOM, pMod);
     152           3 :     SvxVertTextTbxCtrl::RegisterControl(SID_TEXTDIRECTION_LEFT_TO_RIGHT, pMod);
     153           3 :     SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_CAPTION_VERTICAL, pMod);
     154           3 :     SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_FONTWORK_VERTICAL, pMod);
     155           3 :     SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_TEXT_VERTICAL, pMod);
     156           3 :     SvxVertTextTbxCtrl::RegisterControl(SID_TEXT_FITTOSIZE_VERTICAL, pMod);
     157           3 :     SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_LEFT_TO_RIGHT, pMod);
     158           3 :     SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_RIGHT_TO_LEFT, pMod);
     159             : 
     160             :     // StatusBarControls registrieren
     161           3 :     SvxZoomStatusBarControl::RegisterControl( SID_ATTR_ZOOM, pMod );
     162           3 :     SvxPosSizeStatusBarControl::RegisterControl( SID_ATTR_SIZE, pMod );
     163           3 :     SvxModifyControl::RegisterControl( SID_DOC_MODIFIED, pMod );
     164           3 :     SvxZoomSliderControl::RegisterControl( SID_ATTR_ZOOMSLIDER, pMod );
     165             : 
     166             :     // MenuControls fuer PopupMenu
     167           3 :     SvxFontMenuControl::RegisterControl( SID_ATTR_CHAR_FONT, pMod );
     168           3 :     SvxFontSizeMenuControl::RegisterControl( SID_ATTR_CHAR_FONTHEIGHT, pMod );
     169             : 
     170           3 :     SfxMenuControl::RegisterControl( SID_SET_SNAPITEM, pMod );
     171           3 :     SfxMenuControl::RegisterControl( SID_DELETE_SNAPITEM, pMod );
     172           3 :     SfxMenuControl::RegisterControl( SID_BEZIER_CLOSE, pMod );
     173             : 
     174             :     // #UndoRedo#
     175           3 :     SvxUndoRedoControl::RegisterControl( SID_UNDO , pMod );
     176           3 :     SvxUndoRedoControl::RegisterControl( SID_REDO , pMod );
     177             : 
     178           3 :     svx::FormatPaintBrushToolBoxControl::RegisterControl(SID_FORMATPAINTBRUSH, pMod );
     179             : 
     180           3 :     SvxClipBoardControl::RegisterControl( SID_PASTE, pMod );
     181             : 
     182           3 :     svx::ExtrusionColorControl::RegisterControl( SID_EXTRUSION_3D_COLOR, pMod );
     183           3 :     svx::FontWorkShapeTypeControl::RegisterControl( SID_FONTWORK_SHAPE_TYPE, pMod );
     184             : 
     185           3 :     ::avmedia::MediaToolBoxControl::RegisterControl( SID_AVMEDIA_TOOLBOX, pMod );
     186           3 :     XmlSecStatusBarControl::RegisterControl( SID_SIGNATURE, pMod );
     187           3 :     SdTemplateControl::RegisterControl( SID_STATUS_LAYOUT, pMod );
     188           3 :     SvxTableToolBoxControl::RegisterControl(SID_INSERT_TABLE, pMod );
     189           3 :     SvxFrameLineStyleToolBoxControl::RegisterControl(SID_FRAME_LINESTYLE, pMod );
     190           3 :     SvxFrameLineColorToolBoxControl::RegisterControl(SID_FRAME_LINECOLOR, pMod );
     191           3 :     SvxFrameToolBoxControl::RegisterControl(SID_ATTR_BORDER, pMod );
     192           3 :     SvxSubToolBoxControl::RegisterControl(SID_OPTIMIZE_TABLE, pMod);
     193          12 : }
     194             : 
     195             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10