LCOV - code coverage report
Current view: top level - libreoffice/chart2/source/controller/dialogs - tp_AxisPositions.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 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 _CHART2_TP_AXISPOSITIONS_HXX
      20             : #define _CHART2_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             : //.............................................................................
      31             : namespace chart
      32             : {
      33             : //.............................................................................
      34             : 
      35           0 : class AxisPositionsTabPage : public SfxTabPage
      36             : {
      37             : public:
      38             :     AxisPositionsTabPage( Window* pParent, const SfxItemSet& rInAttrs );
      39             : 
      40             :     static SfxTabPage* Create( Window* pParent, const SfxItemSet& rInAttrs );
      41             :     virtual sal_Bool FillItemSet( SfxItemSet& rOutAttrs );
      42             :     virtual void Reset( const SfxItemSet& rInAttrs );
      43             :     using TabPage::DeactivatePage;
      44             :     virtual int DeactivatePage( SfxItemSet* pItemSet = NULL );
      45             : 
      46             :     void SetNumFormatter( SvNumberFormatter* pFormatter );
      47             : 
      48             :     void SetCrossingAxisIsCategoryAxis( bool bCrossingAxisIsCategoryAxis );
      49             :     void SetCategories( const ::com::sun::star::uno::Sequence< rtl::OUString >& rCategories );
      50             : 
      51             :     void SupportAxisPositioning( bool bSupportAxisPositioning );
      52             : 
      53             : private: //methods:
      54             :     DECL_LINK( CrossesAtSelectHdl, void* );
      55             :     DECL_LINK( PlaceLabelsSelectHdl, void* );
      56             : 
      57             : private: //member:
      58             :     FixedLine           m_aFL_AxisLine;
      59             :     FixedText           m_aFT_CrossesAt;
      60             :     ListBox             m_aLB_CrossesAt;
      61             :     FormattedField      m_aED_CrossesAt;
      62             :     ComboBox            m_aED_CrossesAtCategory;
      63             :     CheckBox            m_aCB_AxisBetweenCategories;
      64             : 
      65             :     FixedLine       m_aFL_Labels;
      66             :     FixedText       m_aFT_PlaceLabels;
      67             :     ListBox         m_aLB_PlaceLabels;
      68             :     FixedText       m_aFT_LabelDistance;
      69             :     FormattedField  m_aED_LabelDistance;
      70             : 
      71             :     FixedLine   m_aFL_Ticks;
      72             : 
      73             :     FixedText   m_aFT_Major;
      74             :     CheckBox    m_aCB_TicksInner;
      75             :     CheckBox    m_aCB_TicksOuter;
      76             : 
      77             :     FixedText   m_aFT_Minor;
      78             :     CheckBox    m_aCB_MinorInner;
      79             :     CheckBox    m_aCB_MinorOuter;
      80             : 
      81             :     FixedLine   m_aFL_Vertical;
      82             :     FixedText   m_aFT_PlaceTicks;
      83             :     ListBox     m_aLB_PlaceTicks;
      84             : 
      85             :     FixedLine   m_aFL_Grids;
      86             :     CheckBox    m_aCB_MajorGrid;
      87             :     PushButton  m_aPB_MajorGrid;
      88             :     CheckBox    m_aCB_MinorGrid;
      89             :     PushButton  m_aPB_MinorGrid;
      90             : 
      91             :     SvNumberFormatter*  m_pNumFormatter;
      92             : 
      93             :     bool    m_bCrossingAxisIsCategoryAxis;
      94             :     ::com::sun::star::uno::Sequence< rtl::OUString > m_aCategories;
      95             : 
      96             :     bool    m_bSupportAxisPositioning;
      97             : };
      98             : 
      99             : //.............................................................................
     100             : } //namespace chart
     101             : //.............................................................................
     102             : 
     103             : #endif
     104             : 
     105             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10