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 _CHART2_DLG_INSERT_AXIS_GRID_HXX
20 : #define _CHART2_DLG_INSERT_AXIS_GRID_HXX
21 :
22 : // header for class ModalDialog
23 : #include <vcl/dialog.hxx>
24 : // header for class FixedLine
25 : #include <vcl/fixed.hxx>
26 : // header for class CheckBox
27 : #include <vcl/button.hxx>
28 : #include <com/sun/star/uno/Sequence.hxx>
29 :
30 : //.............................................................................
31 : namespace chart
32 : {
33 : //.............................................................................
34 :
35 0 : struct InsertAxisOrGridDialogData
36 : {
37 : ::com::sun::star::uno::Sequence< sal_Bool > aPossibilityList;
38 : ::com::sun::star::uno::Sequence< sal_Bool > aExistenceList;
39 :
40 : InsertAxisOrGridDialogData();
41 : };
42 :
43 : /*************************************************************************
44 : |*
45 : |* insert Axis dialog (also base for grid dialog)
46 : |*
47 : \************************************************************************/
48 : class SchAxisDlg : public ModalDialog
49 : {
50 : protected:
51 : FixedLine aFlPrimary;
52 : FixedLine aFlPrimaryGrid;
53 : CheckBox aCbPrimaryX;
54 : CheckBox aCbPrimaryY;
55 : CheckBox aCbPrimaryZ;
56 :
57 : FixedLine aFlSecondary;
58 : FixedLine aFlSecondaryGrid;
59 : CheckBox aCbSecondaryX;
60 : CheckBox aCbSecondaryY;
61 : CheckBox aCbSecondaryZ;
62 :
63 : OKButton aPbOK;
64 : CancelButton aPbCancel;
65 : HelpButton aPbHelp;
66 :
67 : public:
68 : SchAxisDlg( Window* pParent, const InsertAxisOrGridDialogData& rInput, sal_Bool bAxisDlg=true );
69 : virtual ~SchAxisDlg();
70 :
71 : void getResult( InsertAxisOrGridDialogData& rOutput );
72 : };
73 :
74 :
75 : /*************************************************************************
76 : |*
77 : |* Grid dialog
78 : |*
79 : \************************************************************************/
80 : class SchGridDlg : public SchAxisDlg
81 : {
82 : public:
83 : SchGridDlg( Window* pParent, const InsertAxisOrGridDialogData& rInput );
84 : virtual ~SchGridDlg();
85 : };
86 :
87 : //.............................................................................
88 : } //namespace chart
89 : //.............................................................................
90 :
91 : #endif
92 :
93 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|