merged tag ooo/OOO330_m14
[LibreOffice.git] / chart2 / source / controller / inc / dlg_InsertAxis_Grid.hxx
blob5ed06d365fa29eb4ee306335aaa3b273fea38b89
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef _CHART2_DLG_INSERT_AXIS_GRID_HXX
28 #define _CHART2_DLG_INSERT_AXIS_GRID_HXX
30 // header for class ModalDialog
31 #include <vcl/dialog.hxx>
32 // header for class FixedLine
33 #include <vcl/fixed.hxx>
34 // header for class CheckBox
35 #ifndef _SV_BUTTON_HXX
36 #include <vcl/button.hxx>
37 #endif
38 #include <com/sun/star/uno/Sequence.hxx>
40 //.............................................................................
41 namespace chart
43 //.............................................................................
45 struct InsertAxisOrGridDialogData
47 ::com::sun::star::uno::Sequence< sal_Bool > aPossibilityList;
48 ::com::sun::star::uno::Sequence< sal_Bool > aExistenceList;
50 InsertAxisOrGridDialogData();
53 /*************************************************************************
55 |* insert Axis dialog (also base for grid dialog)
57 \************************************************************************/
58 class SchAxisDlg : public ModalDialog
60 protected:
61 FixedLine aFlPrimary;
62 FixedLine aFlPrimaryGrid;
63 CheckBox aCbPrimaryX;
64 CheckBox aCbPrimaryY;
65 CheckBox aCbPrimaryZ;
67 FixedLine aFlSecondary;
68 FixedLine aFlSecondaryGrid;
69 CheckBox aCbSecondaryX;
70 CheckBox aCbSecondaryY;
71 CheckBox aCbSecondaryZ;
73 OKButton aPbOK;
74 CancelButton aPbCancel;
75 HelpButton aPbHelp;
77 public:
78 SchAxisDlg( Window* pParent, const InsertAxisOrGridDialogData& rInput, BOOL bAxisDlg=true );
79 virtual ~SchAxisDlg();
81 void getResult( InsertAxisOrGridDialogData& rOutput );
85 /*************************************************************************
87 |* Grid dialog
89 \************************************************************************/
90 class SchGridDlg : public SchAxisDlg
92 public:
93 SchGridDlg( Window* pParent, const InsertAxisOrGridDialogData& rInput );
94 virtual ~SchGridDlg();
97 //.............................................................................
98 } //namespace chart
99 //.............................................................................
101 #endif