LCOV - code coverage report
Current view: top level - sc/source/ui/inc - reffact.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 20 0.0 %
Date: 2012-08-25 Functions: 0 36 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 36 0.0 %

           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                 :            : #ifndef SC_REFFACT_HXX
      30                 :            : #define SC_REFFACT_HXX
      31                 :            : 
      32                 :            : #include <sfx2/childwin.hxx>
      33                 :            : 
      34                 :            : #include "dbfunc.hxx"
      35                 :            : 
      36                 :            : #define DECL_WRAPPER_WITHID(Class) \
      37                 :            :     class Class : public SfxChildWindow                                         \
      38                 :            :     {                                                                           \
      39                 :            :     public:                                                                     \
      40                 :            :         Class( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );           \
      41                 :            :         SFX_DECL_CHILDWINDOW_WITHID(Class);                                     \
      42                 :            :     };
      43                 :            : 
      44                 :            : //==================================================================
      45                 :            : 
      46         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScNameDlgWrapper)
      47         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScNameDefDlgWrapper)
      48         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScSolverDlgWrapper)
      49         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScOptSolverDlgWrapper)
      50         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScPivotLayoutWrapper)
      51         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScTabOpDlgWrapper)
      52         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScFilterDlgWrapper)
      53         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScSpecialFilterDlgWrapper)
      54         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScDbNameDlgWrapper)
      55         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScConsolidateDlgWrapper)
      56         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScPrintAreasDlgWrapper)
      57         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScColRowNameRangesDlgWrapper)
      58         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScFormulaDlgWrapper)
      59         [ #  # ]:          0 : DECL_WRAPPER_WITHID(ScHighlightChgDlgWrapper)
      60                 :            : 
      61         [ #  # ]:          0 : class ScAcceptChgDlgWrapper: public SfxChildWindow
      62                 :            : {
      63                 :            :     public:
      64                 :            :         ScAcceptChgDlgWrapper(  Window*,
      65                 :            :                                 sal_uInt16,
      66                 :            :                                 SfxBindings*,
      67                 :            :                                 SfxChildWinInfo* );
      68                 :            : 
      69                 :            :         SFX_DECL_CHILDWINDOW_WITHID(Class);
      70                 :            : 
      71                 :            :         virtual void ReInitDlg();
      72                 :            : };
      73                 :            : 
      74         [ #  # ]:          0 : class ScSimpleRefDlgWrapper: public SfxChildWindow
      75                 :            : {
      76                 :            :     public:
      77                 :            :         ScSimpleRefDlgWrapper(  Window*,
      78                 :            :                                 sal_uInt16,
      79                 :            :                                 SfxBindings*,
      80                 :            :                                 SfxChildWinInfo* );
      81                 :            : 
      82                 :            :         SFX_DECL_CHILDWINDOW_WITHID(Class);
      83                 :            : 
      84                 :            :         static void     SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet=sal_True);
      85                 :            :         virtual String  GetRefString();
      86                 :            :         virtual void    SetRefString(const String& rStr);
      87                 :            :         void            SetCloseHdl( const Link& rLink );
      88                 :            :         void            SetUnoLinks( const Link& rDone, const Link& rAbort,
      89                 :            :                                         const Link& rChange );
      90                 :            :         void            SetFlags( sal_Bool bCloseOnButtonUp, sal_Bool bSingleCell, sal_Bool bMultiSelection );
      91                 :            :         static void     SetAutoReOpen(sal_Bool bFlag);
      92                 :            : 
      93                 :            :         void            StartRefInput();
      94                 :            : };
      95                 :            : 
      96                 :            : class SC_DLLPUBLIC ScValidityRefChildWin : public SfxChildWindow
      97                 :            : {
      98                 :            :     bool    m_bVisibleLock:1;
      99                 :            :     bool    m_bFreeWindowLock:1;
     100                 :            :     Window * m_pSavedWndParent;
     101                 :            : public:
     102                 :            :     ScValidityRefChildWin( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
     103                 :            :     SFX_DECL_CHILDWINDOW_WITHID(ScValidityRefChildWin);
     104                 :            :     ~ScValidityRefChildWin();
     105                 :          0 :     bool    LockVisible( bool bLock ){ bool bVis = m_bVisibleLock; m_bVisibleLock = bLock; return bVis; }
     106                 :          0 :     bool    LockFreeWindow( bool bLock ){ bool bFreeWindow = m_bFreeWindowLock; m_bFreeWindowLock = bLock; return bFreeWindow; }
     107         [ #  # ]:          0 :     void                Hide(){ if( !m_bVisibleLock) SfxChildWindow::Hide(); }
     108         [ #  # ]:          0 :     void                Show( sal_uInt16 nFlags ){ if( !m_bVisibleLock ) SfxChildWindow::Show( nFlags ); }
     109                 :            : };
     110                 :            : 
     111                 :            : //==================================================================
     112                 :            : 
     113                 :            : 
     114                 :            : #endif // SC_REFFACT_HXX
     115                 :            : 
     116                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10