LCOV - code coverage report
Current view: top level - chart2/source/controller/dialogs - tp_AxisPositions.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 1 0.0 %
Date: 2014-04-11 Functions: 0 2 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             : #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_AXISPOSITIONS_HXX
      20             : #define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_AXISPOSITIONS_HXX
      21             : 
      22             : // header for SfxTabPage
      23             : #include <sfx2/tabdlg.hxx>
      24             : #include <svtools/fmtfield.hxx>
      25             : #include <vcl/fixed.hxx>
      26             : #include <vcl/button.hxx>
      27             : #include <vcl/field.hxx>
      28             : #include <vcl/lstbox.hxx>
      29             : 
      30             : namespace chart
      31             : {
      32             : 
      33           0 : class AxisPositionsTabPage : public SfxTabPage
      34             : {
      35             : public:
      36             :     AxisPositionsTabPage( Window* pParent, const SfxItemSet& rInAttrs );
      37             : 
      38             :     static SfxTabPage* Create( Window* pParent, const SfxItemSet& rInAttrs );
      39             :     virtual bool FillItemSet( SfxItemSet& rOutAttrs ) SAL_OVERRIDE;
      40             :     virtual void Reset( const SfxItemSet& rInAttrs ) SAL_OVERRIDE;
      41             :     using TabPage::DeactivatePage;
      42             :     virtual int DeactivatePage( SfxItemSet* pItemSet = NULL ) SAL_OVERRIDE;
      43             : 
      44             :     void SetNumFormatter( SvNumberFormatter* pFormatter );
      45             : 
      46             :     void SetCrossingAxisIsCategoryAxis( bool bCrossingAxisIsCategoryAxis );
      47             :     void SetCategories( const ::com::sun::star::uno::Sequence< OUString >& rCategories );
      48             : 
      49             :     void SupportAxisPositioning( bool bSupportAxisPositioning );
      50             : 
      51             : private: //methods:
      52             :     DECL_LINK( CrossesAtSelectHdl, void* );
      53             :     DECL_LINK( PlaceLabelsSelectHdl, void* );
      54             : 
      55             : private: //member:
      56             :     VclFrame*       m_pFL_AxisLine;
      57             :     ListBox*        m_pLB_CrossesAt;
      58             :     FormattedField* m_pED_CrossesAt;
      59             :     ComboBox*       m_pED_CrossesAtCategory;
      60             :     CheckBox*       m_pCB_AxisBetweenCategories;
      61             : 
      62             :     VclFrame*       m_pFL_Labels;
      63             :     ListBox*        m_pLB_PlaceLabels;
      64             :     FormattedField* m_pED_LabelDistance;
      65             : 
      66             :     CheckBox*       m_pCB_TicksInner;
      67             :     CheckBox*       m_pCB_TicksOuter;
      68             : 
      69             :     CheckBox*       m_pCB_MinorInner;
      70             :     CheckBox*       m_pCB_MinorOuter;
      71             : 
      72             :     VclBox*         m_pBxPlaceTicks;
      73             :     ListBox*        m_pLB_PlaceTicks;
      74             : 
      75             : //     Not implemented
      76             : //     CheckBox*       m_pCB_MajorGrid;
      77             : //     PushButton*     m_pPB_MajorGrid;
      78             : //     CheckBox*       m_pCB_MinorGrid;
      79             : //     PushButton*     m_pPB_MinorGrid;
      80             : 
      81             :     SvNumberFormatter*  m_pNumFormatter;
      82             : 
      83             :     bool    m_bCrossingAxisIsCategoryAxis;
      84             :     ::com::sun::star::uno::Sequence< OUString > m_aCategories;
      85             : 
      86             :     bool    m_bSupportAxisPositioning;
      87             : };
      88             : 
      89             : } //namespace chart
      90             : 
      91             : #endif
      92             : 
      93             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10