Update ooo320-m1
[ooovba.git] / chart2 / source / controller / dialogs / tp_SeriesToAxis.hxx
blobd6516a07dbcc876f5e94be01cb764b862f333191
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: tp_SeriesToAxis.hxx,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _CHART2_TP_SERIESTOAXIS_HXX
31 #define _CHART2_TP_SERIESTOAXIS_HXX
33 // header for SfxTabPage
34 #include <sfx2/tabdlg.hxx>
35 // header for FixedText
36 #include <vcl/fixed.hxx>
37 // header for CheckBox
38 #ifndef _SV_BUTTON_HXX
39 #include <vcl/button.hxx>
40 #endif
41 // header for MetricField
42 #include <vcl/field.hxx>
44 //.............................................................................
45 namespace chart
47 //.............................................................................
49 class SchOptionTabPage : public SfxTabPage
51 public:
52 SchOptionTabPage(Window* pParent, const SfxItemSet& rInAttrs);
53 virtual ~SchOptionTabPage();
55 static SfxTabPage* Create(Window* pParent, const SfxItemSet& rInAttrs);
56 virtual BOOL FillItemSet(SfxItemSet& rOutAttrs);
57 virtual void Reset(const SfxItemSet& rInAttrs);
59 void Init( bool bProvidesSecondaryYAxis, bool bProvidesOverlapAndGapWidth, bool bProvidesBarConnectors );
61 private: //methods
62 void AdaptControlPositionsAndVisibility();
64 private: //member
65 FixedLine aGrpAxis;
66 RadioButton aRbtAxis1;
67 RadioButton aRbtAxis2;
69 FixedLine aGrpBar;
70 FixedText aFTGap;
71 MetricField aMTGap;
72 FixedText aFTOverlap;
73 MetricField aMTOverlap;
74 CheckBox aCBConnect;
75 CheckBox aCBAxisSideBySide;
77 FixedLine m_aFL_PlotOptions;
78 FixedText m_aFT_MissingValues;
79 RadioButton m_aRB_DontPaint;
80 RadioButton m_aRB_AssumeZero;
81 RadioButton m_aRB_ContinueLine;
83 CheckBox m_aCBIncludeHiddenCells;
85 DECL_LINK(EnableHdl, RadioButton * );
87 sal_Int32 m_nAllSeriesAxisIndex;
89 bool m_bProvidesSecondaryYAxis;
90 bool m_bProvidesOverlapAndGapWidth;
91 bool m_bProvidesBarConnectors;
94 //.............................................................................
95 } //namespace chart
96 //.............................................................................
98 #endif