LCOV - code coverage report
Current view: top level - sc/source/ui/inc - tpview.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_TPVIEW_HXX
      21             : #define INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX
      22             : 
      23             : #include <sfx2/tabdlg.hxx>
      24             : #include <vcl/field.hxx>
      25             : #include <vcl/fixed.hxx>
      26             : #include <vcl/group.hxx>
      27             : #include <svtools/ctrlbox.hxx>
      28             : #include <svx/strarray.hxx>
      29             : 
      30             : class ScViewOptions;
      31             : 
      32             : class ScTpContentOptions : public SfxTabPage
      33             : {
      34             :     ListBox*         pGridLB;
      35             :     FixedText*       pColorFT;
      36             :     ColorListBox*    pColorLB;
      37             :     CheckBox*        pBreakCB;
      38             :     CheckBox*        pGuideLineCB;
      39             : 
      40             :     CheckBox*        pFormulaCB;
      41             :     CheckBox*        pNilCB;
      42             :     CheckBox*        pAnnotCB;
      43             :     CheckBox*        pValueCB;
      44             :     CheckBox*        pAnchorCB;
      45             :     CheckBox*        pClipMarkCB;
      46             :     CheckBox*        pRangeFindCB;
      47             : 
      48             :     ListBox*         pObjGrfLB;
      49             :     ListBox*         pDiagramLB;
      50             :     ListBox*         pDrawLB;
      51             : 
      52             :     CheckBox*        pSyncZoomCB;
      53             : 
      54             :     CheckBox*        pRowColHeaderCB;
      55             :     CheckBox*        pHScrollCB;
      56             :     CheckBox*        pVScrollCB;
      57             :     CheckBox*        pTblRegCB;
      58             :     CheckBox*        pOutlineCB;
      59             : 
      60             :     ScViewOptions*  pLocalOptions;
      61             : 
      62             :     void    InitGridOpt();
      63             :     DECL_LINK( GridHdl, ListBox* );
      64             :     DECL_LINK( SelLbObjHdl, ListBox* );
      65             :     DECL_LINK( CBHdl, CheckBox* );
      66             : 
      67             :             ScTpContentOptions( vcl::Window*         pParent,
      68             :                              const SfxItemSet&  rArgSet );
      69             :             virtual ~ScTpContentOptions();
      70             : 
      71             : public:
      72             :     static  SfxTabPage* Create          ( vcl::Window*               pParent,
      73             :                                           const SfxItemSet*     rCoreSet );
      74             :     virtual bool        FillItemSet     ( SfxItemSet* rCoreSet ) SAL_OVERRIDE;
      75             :     virtual void        Reset           ( const SfxItemSet* rCoreSet ) SAL_OVERRIDE;
      76             :     using SfxTabPage::ActivatePage;
      77             :     using SfxTabPage::DeactivatePage;
      78             :     virtual void        ActivatePage( const SfxItemSet& ) SAL_OVERRIDE;
      79             :     virtual int         DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE;
      80             : 
      81             : };
      82             : 
      83             : class ScDocument;
      84             : class ScTpLayoutOptions : public SfxTabPage
      85             : {
      86             :     ListBox*        m_pUnitLB;
      87             :     MetricField*    m_pTabMF;
      88             : 
      89             :     RadioButton*    m_pAlwaysRB;
      90             :     RadioButton*    m_pRequestRB;
      91             :     RadioButton*    m_pNeverRB;
      92             : 
      93             :     CheckBox*       m_pAlignCB;
      94             :     ListBox*        m_pAlignLB;
      95             :     CheckBox*       m_pEditModeCB;
      96             :     CheckBox*       m_pFormatCB;
      97             :     CheckBox*       m_pExpRefCB;
      98             :     CheckBox*       m_pSortRefUpdateCB;
      99             :     CheckBox*       m_pMarkHdrCB;
     100             :     CheckBox*       m_pTextFmtCB;
     101             :     CheckBox*       m_pReplWarnCB;
     102             :     CheckBox*       m_pLegacyCellSelectionCB;
     103             : 
     104             :     SvxStringArray  aUnitArr;
     105             : 
     106             :     DECL_LINK( CBHdl, CheckBox* );
     107             : 
     108             :     DECL_LINK(MetricHdl, void *);
     109             :     DECL_LINK( AlignHdl, CheckBox* );
     110             : 
     111             :     ScDocument *pDoc;
     112             : 
     113             :     DECL_LINK(  UpdateHdl, CheckBox* );
     114             : 
     115             :             ScTpLayoutOptions( vcl::Window*          pParent,
     116             :                              const SfxItemSet&  rArgSet );
     117             :             virtual ~ScTpLayoutOptions();
     118             : 
     119             : public:
     120             :     static  SfxTabPage* Create          ( vcl::Window*               pParent,
     121             :                                           const SfxItemSet*     rCoreSet );
     122             :     virtual bool        FillItemSet     ( SfxItemSet* rCoreSet ) SAL_OVERRIDE;
     123             :     virtual void        Reset           ( const SfxItemSet* rCoreSet ) SAL_OVERRIDE;
     124             :     using SfxTabPage::ActivatePage;
     125             :     using SfxTabPage::DeactivatePage;
     126             :     virtual void        ActivatePage( const SfxItemSet& ) SAL_OVERRIDE;
     127             :     virtual int         DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE;
     128             : 
     129           0 :     void                SetDocument(ScDocument* pPtr){pDoc = pPtr;}
     130             : 
     131             : };
     132             : 
     133             : #endif // INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX
     134             : 
     135             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10