LCOV - code coverage report
Current view: top level - libreoffice/sc/source/ui/inc - consdlg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 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 SC_CONSDLG_HXX
      21             : #define SC_CONSDLG_HXX
      22             : 
      23             : #include <vcl/fixed.hxx>
      24             : #include <vcl/lstbox.hxx>
      25             : #include <vcl/group.hxx>
      26             : #include <vcl/morebtn.hxx>
      27             : #include "global.hxx"
      28             : #include "anyrefdg.hxx"
      29             : 
      30             : class ScViewData;
      31             : class ScDocument;
      32             : class ScRangeUtil;
      33             : class ScAreaData;
      34             : 
      35             : 
      36             : //============================================================================
      37             : 
      38             : class ScConsolidateDlg : public ScAnyRefDlg
      39             : {
      40             : public:
      41             :                     ScConsolidateDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
      42             :                                       const SfxItemSet& rArgSet );
      43             :                     ~ScConsolidateDlg();
      44             : 
      45             :     virtual void    SetReference( const ScRange& rRef, ScDocument* pDoc );
      46             : 
      47           0 :     virtual sal_Bool    IsRefInputMode() const { return sal_True; }
      48             :     virtual void    SetActive();
      49             : 
      50             :     virtual sal_Bool    Close();
      51             : 
      52             : protected:
      53             :     virtual void    Deactivate();
      54             : 
      55             : private:
      56             :     FixedText       aFtFunc;
      57             :     ListBox         aLbFunc;
      58             : 
      59             :     FixedText       aFtConsAreas;
      60             :     MultiListBox    aLbConsAreas;
      61             : 
      62             :     ListBox         aLbDataArea;
      63             :     FixedText       aFtDataArea;
      64             :     formula::RefEdit        aEdDataArea;
      65             :     formula::RefButton      aRbDataArea;
      66             : 
      67             :     ListBox         aLbDestArea;
      68             :     FixedText       aFtDestArea;
      69             :     formula::RefEdit        aEdDestArea;
      70             :     formula::RefButton      aRbDestArea;
      71             : 
      72             :     FixedLine       aFlConsBy;
      73             :     CheckBox        aBtnByRow;
      74             :     CheckBox        aBtnByCol;
      75             : 
      76             :     FixedLine       aFlSep;
      77             :     FixedLine       aFlOptions;
      78             :     CheckBox        aBtnRefs;
      79             : 
      80             :     OKButton        aBtnOk;
      81             :     CancelButton    aBtnCancel;
      82             :     HelpButton      aBtnHelp;
      83             :     PushButton      aBtnAdd;
      84             :     PushButton      aBtnRemove;
      85             :     MoreButton      aBtnMore;
      86             : 
      87             :     String          aStrUndefined;
      88             : 
      89             :     ScConsolidateParam  theConsData;
      90             :     ScViewData*         pViewData;
      91             :     ScDocument*         pDoc;
      92             :     ScRangeUtil*        pRangeUtil;
      93             :     ScAreaData*         pAreaData;
      94             :     size_t              nAreaDataCount;
      95             :     sal_uInt16              nWhichCons;
      96             : 
      97             :     formula::RefEdit*           pRefInputEdit;
      98             :     sal_Bool                bDlgLostFocus;
      99             : 
     100             : #ifdef _CONSDLG_CXX
     101             : private:
     102             :     void Init               ();
     103             :     void FillAreaLists      ();
     104             :     sal_Bool VerifyEdit         ( formula::RefEdit* pEd );
     105             : 
     106             :     DECL_LINK( OkHdl,        void* );
     107             :     DECL_LINK( ClickHdl,     PushButton* );
     108             :     DECL_LINK( GetFocusHdl, Control* );
     109             :     DECL_LINK( ModifyHdl,    formula::RefEdit* );
     110             :     DECL_LINK( SelectHdl,    ListBox* );
     111             : 
     112             :     ScSubTotalFunc  LbPosToFunc( sal_uInt16 nPos );
     113             :     sal_uInt16          FuncToLbPos( ScSubTotalFunc eFunc );
     114             : #endif // _CONSDLG_CXX
     115             : };
     116             : 
     117             : 
     118             : 
     119             : #endif // SC_CONSDLG_HXX
     120             : 
     121             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10