LCOV - code coverage report
Current view: top level - sc/source/ui/view - tabvwsh.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 36 36 100.0 %
Date: 2012-08-25 Functions: 10 12 83.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 14 22 63.6 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #include "scitems.hxx"
      30                 :            : #include <svx/galbrws.hxx>
      31                 :            : #include <svx/imapdlg.hxx>
      32                 :            : #include <svl/srchitem.hxx>
      33                 :            : #include <sfx2/templdlg.hxx>
      34                 :            : #include <sfx2/objface.hxx>
      35                 :            : #include <sfx2/viewfrm.hxx>
      36                 :            : #include <sfx2/bindings.hxx>
      37                 :            : #include <sfx2/app.hxx>
      38                 :            : 
      39                 :            : #include "tabvwsh.hxx"
      40                 :            : #include "docsh.hxx"
      41                 :            : #include "reffact.hxx"
      42                 :            : #include "scresid.hxx"
      43                 :            : #include "dwfunctr.hxx"
      44                 :            : #include "sc.hrc"       // -> SID_TOOL_xxx
      45                 :            : #include "drawattr.hxx" // -> SvxDrawToolItem
      46                 :            : #include "spelldialog.hxx"
      47                 :            : 
      48                 :            : 
      49                 :            : #define ScTabViewShell
      50                 :            : #include "scslots.hxx"
      51                 :            : 
      52 [ +  + ][ +  + ]:      69581 : TYPEINIT2(ScTabViewShell,SfxViewShell,SfxListener);
                 [ -  + ]
      53                 :            : 
      54 [ +  + ][ +  - ]:      34283 : SFX_IMPL_INTERFACE(ScTabViewShell,SfxViewShell,ScResId(SCSTR_TABVIEWSHELL))
         [ +  - ][ +  - ]
      55                 :            : {
      56         [ +  - ]:         51 :     SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_TOOLS  | SFX_VISIBILITY_STANDARD |
      57                 :            :                                 SFX_VISIBILITY_FULLSCREEN | SFX_VISIBILITY_SERVER,
      58         [ +  - ]:         51 :                                 ScResId(RID_OBJECTBAR_TOOLS) );
      59                 :            : 
      60                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(FID_INPUTLINE_STATUS);
      61                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(SfxTemplateDialogWrapper::GetChildWindowId());
      62                 :         51 :     SFX_CHILDWINDOW_CONTEXT_REGISTRATION(SID_NAVIGATOR);
      63                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(SID_TASKPANE);
      64                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScNameDlgWrapper::GetChildWindowId());
      65                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScNameDefDlgWrapper::GetChildWindowId());
      66                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScSolverDlgWrapper::GetChildWindowId());
      67                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScOptSolverDlgWrapper::GetChildWindowId());
      68                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScPivotLayoutWrapper::GetChildWindowId());
      69                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScTabOpDlgWrapper::GetChildWindowId());
      70                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScFilterDlgWrapper::GetChildWindowId());
      71                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScSpecialFilterDlgWrapper::GetChildWindowId());
      72                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScDbNameDlgWrapper::GetChildWindowId());
      73                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScConsolidateDlgWrapper::GetChildWindowId());
      74                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScPrintAreasDlgWrapper::GetChildWindowId());
      75                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScColRowNameRangesDlgWrapper::GetChildWindowId());
      76                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScFormulaDlgWrapper::GetChildWindowId());
      77                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(SvxIMapDlgChildWindow::GetChildWindowId());
      78                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScFunctionChildWindow::GetChildWindowId());
      79                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScFormulaDlgWrapper::GetChildWindowId());
      80                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScAcceptChgDlgWrapper::GetChildWindowId());
      81                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScHighlightChgDlgWrapper::GetChildWindowId());
      82                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScSimpleRefDlgWrapper::GetChildWindowId());
      83                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(SID_SEARCH_DLG);
      84                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(SID_HYPERLINK_DIALOG);
      85                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(GalleryChildWindow::GetChildWindowId());
      86                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScSpellDialogChildWindow::GetChildWindowId());
      87                 :         51 :     SFX_CHILDWINDOW_REGISTRATION(ScValidityRefChildWin::GetChildWindowId());
      88                 :         51 : }
      89                 :            : 
      90 [ +  - ][ +  - ]:        280 : SFX_IMPL_NAMED_VIEWFACTORY( ScTabViewShell, "Default" )
      91                 :            : {
      92                 :         51 :     SFX_VIEW_REGISTRATION(ScDocShell);
      93                 :         51 : }
      94                 :            : 
      95                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10