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

Generated by: LCOV version 1.10