LCOV - code coverage report
Current view: top level - sd/source/ui/docshell - grdocsh.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 13 17 76.5 %
Date: 2014-11-03 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        7599 : TYPEINIT1(GraphicDocShell, DrawDocShell);
      45             : 
      46        7700 : SFX_IMPL_INTERFACE(GraphicDocShell, SfxObjectShell, SdResId(0))
      47             : 
      48          36 : void GraphicDocShell::InitInterface_Impl()
      49             : {
      50          36 :     GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
      51          36 : }
      52             : 
      53       59424 : SFX_IMPL_OBJECTFACTORY( GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), SFXOBJECTSHELL_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         170 : GraphicDocShell::GraphicDocShell(const sal_uInt64 nModelCreationFlags,
      64             :                                      bool bDataObject,
      65             :                                      DocumentType eDocType) :
      66         170 :     DrawDocShell(nModelCreationFlags, bDataObject, eDocType)
      67             : {
      68         170 :     SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
      69         170 : }
      70             : 
      71         340 : GraphicDocShell::~GraphicDocShell()
      72             : {
      73         340 : }
      74             : 
      75         114 : } // end of namespace sd
      76             : 
      77             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10