1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _CHART2_DLG_CHARTTYPE_HXX
24 #define _CHART2_DLG_CHARTTYPE_HXX
25 
26 // header for class ModalDialog
27 #include <vcl/dialog.hxx>
28 // header for class FixedLine
29 #include <vcl/fixed.hxx>
30 // header for class OKButton
31 #ifndef _SV_BUTTON_HXX
32 #include <vcl/button.hxx>
33 #endif
34 #include <com/sun/star/frame/XModel.hpp>
35 #include <com/sun/star/uno/XComponentContext.hpp>
36 
37 //.............................................................................
38 namespace chart
39 {
40 //.............................................................................
41 
42 class ChartTypeTabPage;
43 class ChartTypeDialog : public ModalDialog
44 {
45 public:
46     ChartTypeDialog( Window* pWindow
47         , const ::com::sun::star::uno::Reference<
48         ::com::sun::star::frame::XModel >& xChartModel
49         , const ::com::sun::star::uno::Reference<
50         ::com::sun::star::uno::XComponentContext >& xContext );
51 	~ChartTypeDialog();
52 
53 private:
54     FixedLine           m_aFL;
55     OKButton		    m_aBtnOK;
56 	CancelButton	    m_aBtnCancel;
57 	HelpButton		    m_aBtnHelp;
58 
59     ChartTypeTabPage*   m_pChartTypeTabPage;
60 
61     ::com::sun::star::uno::Reference<
62                        ::com::sun::star::frame::XModel >            m_xChartModel;
63     ::com::sun::star::uno::Reference<
64                        ::com::sun::star::uno::XComponentContext>    m_xCC;
65 };
66 
67 //.............................................................................
68 } //namespace chart
69 //.............................................................................
70 
71 #endif
72 
73