LCOV - code coverage report
Current view: top level - sc/source/ui/drawfunc - drformsh.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 5 13 38.5 %
Date: 2012-08-25 Functions: 3 12 25.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 9 30 30.0 %

           Branch data     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/eeitem.hxx>
      21                 :            : #include <svx/fontwork.hxx>
      22                 :            : #include <svl/srchitem.hxx>
      23                 :            : #include <sfx2/app.hxx>
      24                 :            : #include <sfx2/objface.hxx>
      25                 :            : #include <sfx2/request.hxx>
      26                 :            : #include <svl/whiter.hxx>
      27                 :            : #include <vcl/msgbox.hxx>
      28                 :            : 
      29                 :            : #include "drformsh.hxx"
      30                 :            : #include "drwlayer.hxx"
      31                 :            : #include "sc.hrc"
      32                 :            : #include "viewdata.hxx"
      33                 :            : #include "document.hxx"
      34                 :            : #include "docpool.hxx"
      35                 :            : #include "drawview.hxx"
      36                 :            : #include "scresid.hxx"
      37                 :            : #include <svx/svdobj.hxx>
      38                 :            : 
      39                 :            : #define ScDrawFormShell
      40                 :            : #include "scslots.hxx"
      41                 :            : 
      42                 :            : 
      43 [ +  + ][ +  - ]:        204 : SFX_IMPL_INTERFACE(ScDrawFormShell, ScDrawShell, ScResId(SCSTR_DRAWFORMSHELL) )
         [ +  - ][ +  - ]
      44                 :            : {
      45         [ +  - ]:         51 :     SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_OBJECT|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_SERVER,
      46         [ +  - ]:         51 :                                 ScResId(RID_OBJECTBAR_FORMAT) );
      47 [ +  - ][ +  - ]:         51 :     SFX_POPUPMENU_REGISTRATION( ScResId(RID_POPUP_DRAWFORM) );
      48                 :         51 : }
      49                 :            : 
      50 [ #  # ][ #  # ]:          0 : TYPEINIT1( ScDrawFormShell, ScDrawShell );
      51                 :            : 
      52                 :          0 : ScDrawFormShell::ScDrawFormShell(ScViewData* pData) :
      53                 :          0 :     ScDrawShell(pData)
      54                 :            : {
      55         [ #  # ]:          0 :     SetHelpId(HID_SCSHELL_DRAWFORMSH);
      56 [ #  # ][ #  # ]:          0 :     SetName(rtl::OUString("DrawForm"));
                 [ #  # ]
      57                 :          0 : }
      58                 :            : 
      59                 :          0 : ScDrawFormShell::~ScDrawFormShell()
      60                 :            : {
      61         [ #  # ]:          0 : }
      62                 :            : 
      63                 :            : 
      64                 :            : 
      65                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10