LCOV - code coverage report
Current view: top level - sd/source/ui/docshell - grdocsh.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 13 17 76.5 %
Date: 2015-06-13 12:38:46 Functions: 13 19 68.4 %
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 <svx/svxids.hrc>
      21             : #include <sfx2/app.hxx>
      22             : #include <sfx2/request.hxx>
      23             : #include <svl/srchitem.hxx>
      24             : #include <tools/globname.hxx>
      25             : 
      26             : #include <comphelper/classids.hxx>
      27             : 
      28             : #include <sfx2/objface.hxx>
      29             : 
      30             : #include "app.hrc"
      31             : #include "strings.hrc"
      32             : #include "glob.hrc"
      33             : #include "GraphicDocShell.hxx"
      34             : #include "DrawDocShell.hxx"
      35             : #include "drawdoc.hxx"
      36             : #include "sdresid.hxx"
      37             : 
      38             : using namespace sd;
      39             : #define GraphicDocShell
      40             : #include "sdgslots.hxx"
      41             : 
      42             : namespace sd
      43             : {
      44        4201 : TYPEINIT1(GraphicDocShell, DrawDocShell);
      45             : 
      46        5509 : SFX_IMPL_SUPERCLASS_INTERFACE(GraphicDocShell, SfxObjectShell)
      47             : 
      48          21 : void GraphicDocShell::InitInterface_Impl()
      49             : {
      50          21 :     GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
      51          21 : }
      52             : 
      53       40873 : SFX_IMPL_OBJECTFACTORY( GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), SfxObjectShellFlags::STD_NORMAL, "sdraw" )
      54             : 
      55           0 : GraphicDocShell::GraphicDocShell(SfxObjectCreateMode eMode,
      56             :                                      bool bDataObject,
      57             :                                      DocumentType eDocType) :
      58           0 :     DrawDocShell(eMode, bDataObject, eDocType)
      59             : {
      60           0 :     SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
      61           0 : }
      62             : 
      63          92 : GraphicDocShell::GraphicDocShell(SfxModelFlags nModelCreationFlags,
      64             :                                      bool bDataObject,
      65             :                                      DocumentType eDocType) :
      66          92 :     DrawDocShell(nModelCreationFlags, bDataObject, eDocType)
      67             : {
      68          92 :     SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
      69          92 : }
      70             : 
      71         276 : GraphicDocShell::~GraphicDocShell()
      72             : {
      73         276 : }
      74             : 
      75          66 : } // end of namespace sd
      76             : 
      77             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11