1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef _CHART2_TP_AXISLABEL_HXX
29 #define _CHART2_TP_AXISLABEL_HXX
31 #include <sfx2/tabdlg.hxx>
32 #include <vcl/button.hxx>
33 #include <vcl/fixed.hxx>
34 #include <svx/dialcontrol.hxx>
35 #include <svx/wrapfield.hxx>
36 #include <svx/orienthelper.hxx>
37 #include "TextDirectionListBox.hxx"
39 //.............................................................................
42 //.............................................................................
44 //-----------------------------------------------------------------------------
48 class SchAxisLabelTabPage
: public SfxTabPage
51 CheckBox aCbShowDescription
;
54 RadioButton aRbSideBySide
;
55 RadioButton aRbUpDown
;
56 RadioButton aRbDownUp
;
59 FixedLine aFlSeparator
;
60 FixedLine aFlTextFlow
;
61 CheckBox aCbTextOverlap
;
62 CheckBox aCbTextBreak
;
65 svx::DialControl aCtrlDial
;
67 svx::WrapField aNfRotate
;
68 TriStateBox aCbStacked
;
69 svx::OrientationHelper aOrientHlp
;
71 FixedText m_aFtTextDirection
;
72 TextDirectionListBox m_aLbTextDirection
;
74 sal_Bool m_bShowStaggeringControls
;
76 sal_Int32 m_nInitialDegrees
;
77 bool m_bHasInitialDegrees
; /// false = DialControl in tristate
78 bool m_bInitialStacking
;
79 bool m_bHasInitialStacking
; /// false = checkbox in tristate
80 bool m_bComplexCategories
;
82 DECL_LINK ( ToggleShowLabel
, void* );
85 SchAxisLabelTabPage( Window
* pParent
, const SfxItemSet
& rInAttrs
);
86 virtual ~SchAxisLabelTabPage();
90 static SfxTabPage
* Create( Window
* pParent
, const SfxItemSet
& rInAttrs
);
91 virtual sal_Bool
FillItemSet( SfxItemSet
& rOutAttrs
);
92 virtual void Reset( const SfxItemSet
& rInAttrs
);
94 void ShowStaggeringControls( sal_Bool bShowStaggeringControls
);
95 void SetComplexCategories( bool bComplexCategories
);
97 //.............................................................................
99 //.............................................................................
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */