LCOV - code coverage report
Current view: top level - sc/source/ui/inc - consdlg.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 1 0.0 %
Date: 2014-11-03 Functions: 0 1 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_CONSDLG_HXX
      21             : #define INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
      22             : 
      23             : #include <vcl/fixed.hxx>
      24             : #include <vcl/lstbox.hxx>
      25             : #include <vcl/group.hxx>
      26             : #include <vcl/layout.hxx>
      27             : #include <vcl/morebtn.hxx>
      28             : #include "global.hxx"
      29             : #include "anyrefdg.hxx"
      30             : 
      31             : class ScViewData;
      32             : class ScDocument;
      33             : class ScRangeUtil;
      34             : class ScAreaData;
      35             : 
      36             : class ScConsolidateDlg : public ScAnyRefDlg
      37             : {
      38             : public:
      39             :                     ScConsolidateDlg( SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pParent,
      40             :                                       const SfxItemSet& rArgSet );
      41             :                     virtual ~ScConsolidateDlg();
      42             : 
      43             :     virtual void    SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE;
      44             : 
      45           0 :     virtual bool    IsRefInputMode() const SAL_OVERRIDE { return true; }
      46             :     virtual void    SetActive() SAL_OVERRIDE;
      47             : 
      48             :     virtual bool    Close() SAL_OVERRIDE;
      49             : 
      50             : protected:
      51             :     virtual void    Deactivate() SAL_OVERRIDE;
      52             : 
      53             : private:
      54             :     ListBox*         pLbFunc;
      55             :     ListBox*         pLbConsAreas;
      56             : 
      57             :     ListBox*         pLbDataArea;
      58             :     formula::RefEdit*        pEdDataArea;
      59             :     formula::RefButton*      pRbDataArea;
      60             : 
      61             :     ListBox*         pLbDestArea;
      62             :     formula::RefEdit*        pEdDestArea;
      63             :     formula::RefButton*      pRbDestArea;
      64             : 
      65             :     VclExpander*     pExpander;
      66             :     CheckBox*        pBtnByRow;
      67             :     CheckBox*        pBtnByCol;
      68             : 
      69             :     CheckBox*        pBtnRefs;
      70             : 
      71             :     OKButton*        pBtnOk;
      72             :     CancelButton*    pBtnCancel;
      73             :     PushButton*      pBtnAdd;
      74             :     PushButton*      pBtnRemove;
      75             : 
      76             :     OUString         aStrUndefined;
      77             : 
      78             :     ScConsolidateParam  theConsData;
      79             :     ScViewData&         rViewData;
      80             :     ScDocument*         pDoc;
      81             :     ScRangeUtil*        pRangeUtil;
      82             :     ScAreaData*         pAreaData;
      83             :     size_t              nAreaDataCount;
      84             :     sal_uInt16          nWhichCons;
      85             : 
      86             :     formula::RefEdit*   pRefInputEdit;
      87             :     bool                bDlgLostFocus;
      88             : 
      89             :     void Init               ();
      90             :     void FillAreaLists      ();
      91             :     bool VerifyEdit         ( formula::RefEdit* pEd );
      92             : 
      93             :     DECL_LINK( OkHdl,        void* );
      94             :     DECL_LINK( ClickHdl,     PushButton* );
      95             :     DECL_LINK( GetFocusHdl, Control* );
      96             :     DECL_LINK( ModifyHdl,    formula::RefEdit* );
      97             :     DECL_LINK( SelectHdl,    ListBox* );
      98             : 
      99             :     ScSubTotalFunc  LbPosToFunc( sal_uInt16 nPos );
     100             :     sal_uInt16          FuncToLbPos( ScSubTotalFunc eFunc );
     101             : };
     102             : 
     103             : #endif // INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
     104             : 
     105             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10