LCOV - code coverage report
Current view: top level - sc/source/ui/inc - reffact.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 22 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 40 0.0 %
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             : #ifndef INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX
      21             : #define INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX
      22             : 
      23             : #include <sfx2/childwin.hxx>
      24             : #include "ChildWindowWrapper.hxx"
      25             : 
      26             : #include "dbfunc.hxx"
      27             : 
      28             : #include "sc.hrc"
      29             : 
      30             : #define DECL_WRAPPER_WITHID(Class) \
      31             :     class Class : public SfxChildWindow                                         \
      32             :     {                                                                           \
      33             :     public:                                                                     \
      34             :         Class( vcl::Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );           \
      35             :         SFX_DECL_CHILDWINDOW_WITHID(Class);                                     \
      36             :     };
      37             : 
      38           0 : DECL_WRAPPER_WITHID(ScNameDlgWrapper)
      39           0 : DECL_WRAPPER_WITHID(ScNameDefDlgWrapper)
      40           0 : DECL_WRAPPER_WITHID(ScSolverDlgWrapper)
      41           0 : DECL_WRAPPER_WITHID(ScOptSolverDlgWrapper)
      42           0 : DECL_WRAPPER_WITHID(ScXMLSourceDlgWrapper)
      43           0 : DECL_WRAPPER_WITHID(ScPivotLayoutWrapper)
      44           0 : DECL_WRAPPER_WITHID(ScTabOpDlgWrapper)
      45           0 : DECL_WRAPPER_WITHID(ScFilterDlgWrapper)
      46           0 : DECL_WRAPPER_WITHID(ScSpecialFilterDlgWrapper)
      47           0 : DECL_WRAPPER_WITHID(ScDbNameDlgWrapper)
      48           0 : DECL_WRAPPER_WITHID(ScConsolidateDlgWrapper)
      49           0 : DECL_WRAPPER_WITHID(ScPrintAreasDlgWrapper)
      50           0 : DECL_WRAPPER_WITHID(ScColRowNameRangesDlgWrapper)
      51           0 : DECL_WRAPPER_WITHID(ScFormulaDlgWrapper)
      52           0 : DECL_WRAPPER_WITHID(ScHighlightChgDlgWrapper)
      53           0 : DECL_WRAPPER_WITHID(ScCondFormatDlgWrapper)
      54             : 
      55             : class ScDescriptiveStatisticsDialogWrapper :
      56             :     public ChildWindowWrapper<SID_DESCRIPTIVE_STATISTICS_DIALOG>
      57             : {
      58             : private:
      59             :     ScDescriptiveStatisticsDialogWrapper() SAL_DELETED_FUNCTION;
      60             : };
      61             : 
      62             : class ScSamplingDialogWrapper :
      63             :     public ChildWindowWrapper<SID_SAMPLING_DIALOG>
      64             : {
      65             : private:
      66             :     ScSamplingDialogWrapper() SAL_DELETED_FUNCTION;
      67             : };
      68             : 
      69             : class ScRandomNumberGeneratorDialogWrapper :
      70             :     public ChildWindowWrapper<SID_RANDOM_NUMBER_GENERATOR_DIALOG>
      71             : {
      72             : private:
      73             :     ScRandomNumberGeneratorDialogWrapper() SAL_DELETED_FUNCTION;
      74             : };
      75             : 
      76             : class ScAnalysisOfVarianceDialogWrapper :
      77             :     public ChildWindowWrapper<SID_ANALYSIS_OF_VARIANCE_DIALOG>
      78             : {
      79             : private:
      80             :     ScAnalysisOfVarianceDialogWrapper() SAL_DELETED_FUNCTION;
      81             : };
      82             : 
      83             : class ScCorrelationDialogWrapper :
      84             :     public ChildWindowWrapper<SID_CORRELATION_DIALOG>
      85             : {
      86             : private:
      87             :     ScCorrelationDialogWrapper() SAL_DELETED_FUNCTION;
      88             : };
      89             : 
      90             : class ScCovarianceDialogWrapper :
      91             :     public ChildWindowWrapper<SID_COVARIANCE_DIALOG>
      92             : {
      93             : private:
      94             :     ScCovarianceDialogWrapper() SAL_DELETED_FUNCTION;
      95             : };
      96             : 
      97             : class ScExponentialSmoothingDialogWrapper :
      98             :     public ChildWindowWrapper<SID_EXPONENTIAL_SMOOTHING_DIALOG>
      99             : {
     100             : private:
     101             :     ScExponentialSmoothingDialogWrapper() SAL_DELETED_FUNCTION;
     102             : };
     103             : 
     104             : class ScMovingAverageDialogWrapper :
     105             :     public ChildWindowWrapper<SID_MOVING_AVERAGE_DIALOG>
     106             : {
     107             : private:
     108             :     ScMovingAverageDialogWrapper() SAL_DELETED_FUNCTION;
     109             : };
     110             : 
     111             : class ScTTestDialogWrapper :
     112             :     public ChildWindowWrapper<SID_TTEST_DIALOG>
     113             : {
     114             : private:
     115             :     ScTTestDialogWrapper() SAL_DELETED_FUNCTION;
     116             : };
     117             : 
     118             : class ScFTestDialogWrapper :
     119             :     public ChildWindowWrapper<SID_FTEST_DIALOG>
     120             : {
     121             : private:
     122             :     ScFTestDialogWrapper() SAL_DELETED_FUNCTION;
     123             : };
     124             : 
     125             : class ScZTestDialogWrapper :
     126             :     public ChildWindowWrapper<SID_ZTEST_DIALOG>
     127             : {
     128             : private:
     129             :     ScZTestDialogWrapper() SAL_DELETED_FUNCTION;
     130             : };
     131             : 
     132             : class ScChiSquareTestDialogWrapper :
     133             :     public ChildWindowWrapper<SID_CHI_SQUARE_TEST_DIALOG>
     134             : {
     135             : private:
     136             :     ScChiSquareTestDialogWrapper() SAL_DELETED_FUNCTION;
     137             : };
     138             : 
     139           0 : class ScAcceptChgDlgWrapper: public SfxChildWindow
     140             : {
     141             :     public:
     142             :         ScAcceptChgDlgWrapper(  vcl::Window*,
     143             :                                 sal_uInt16,
     144             :                                 SfxBindings*,
     145             :                                 SfxChildWinInfo* );
     146             : 
     147             :         SFX_DECL_CHILDWINDOW_WITHID(Class);
     148             : 
     149             :         void ReInitDlg();
     150             : };
     151             : 
     152           0 : class ScSimpleRefDlgWrapper: public SfxChildWindow
     153             : {
     154             :     public:
     155             :         ScSimpleRefDlgWrapper(  vcl::Window*,
     156             :                                 sal_uInt16,
     157             :                                 SfxBindings*,
     158             :                                 SfxChildWinInfo* );
     159             : 
     160             :         SFX_DECL_CHILDWINDOW_WITHID(Class);
     161             : 
     162             :         static void     SetDefaultPosSize(Point aPos, Size aSize, bool bSet = true);
     163             :         void            SetRefString(const OUString& rStr);
     164             :         void            SetCloseHdl( const Link<>& rLink );
     165             :         void            SetUnoLinks( const Link<>& rDone, const Link<>& rAbort,
     166             :                                         const Link<>& rChange );
     167             :         void            SetFlags( bool bCloseOnButtonUp, bool bSingleCell, bool bMultiSelection );
     168             :         static void     SetAutoReOpen(bool bFlag);
     169             : 
     170             :         void            StartRefInput();
     171             : };
     172             : 
     173             : class SC_DLLPUBLIC ScValidityRefChildWin : public SfxChildWindow
     174             : {
     175             :     bool    m_bVisibleLock:1;
     176             :     bool    m_bFreeWindowLock:1;
     177             :     VclPtr<vcl::Window> m_pSavedWndParent;
     178             : public:
     179             :     ScValidityRefChildWin( vcl::Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
     180             :     SFX_DECL_CHILDWINDOW_WITHID(ScValidityRefChildWin);
     181             :     virtual ~ScValidityRefChildWin();
     182           0 :     bool    LockVisible( bool bLock ){ bool bVis = m_bVisibleLock; m_bVisibleLock = bLock; return bVis; }
     183           0 :     bool    LockFreeWindow( bool bLock ){ bool bFreeWindow = m_bFreeWindowLock; m_bFreeWindowLock = bLock; return bFreeWindow; }
     184           0 :     void                Hide() SAL_OVERRIDE { if( !m_bVisibleLock) SfxChildWindow::Hide(); }
     185           0 :     void                Show( ShowFlags nFlags ) SAL_OVERRIDE { if( !m_bVisibleLock ) SfxChildWindow::Show( nFlags ); }
     186             : };
     187             : 
     188             : #endif // INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX
     189             : 
     190             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11