1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: tp_SeriesToAxis.hxx,v $
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>
41 // header for MetricField
42 #include <vcl/field.hxx>
44 //.............................................................................
47 //.............................................................................
49 class SchOptionTabPage
: public SfxTabPage
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
);
62 void AdaptControlPositionsAndVisibility();
66 RadioButton aRbtAxis1
;
67 RadioButton aRbtAxis2
;
73 MetricField aMTOverlap
;
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 //.............................................................................
96 //.............................................................................