1de7b3f82SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3de7b3f82SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4de7b3f82SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5de7b3f82SAndrew Rist  * distributed with this work for additional information
6de7b3f82SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7de7b3f82SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8de7b3f82SAndrew Rist  * "License"); you may not use this file except in compliance
9de7b3f82SAndrew Rist  * with the License.  You may obtain a copy of the License at
10de7b3f82SAndrew Rist  *
11de7b3f82SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12de7b3f82SAndrew Rist  *
13de7b3f82SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14de7b3f82SAndrew Rist  * software distributed under the License is distributed on an
15de7b3f82SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16de7b3f82SAndrew Rist  * KIND, either express or implied.  See the License for the
17de7b3f82SAndrew Rist  * specific language governing permissions and limitations
18de7b3f82SAndrew Rist  * under the License.
19de7b3f82SAndrew Rist  *
20de7b3f82SAndrew Rist  *************************************************************/
21de7b3f82SAndrew Rist 
22de7b3f82SAndrew Rist 
23cdf0e10cSrcweir #ifndef _CHART2_DLG_VIEW3D_DIAGRAM_HXX
24cdf0e10cSrcweir #define _CHART2_DLG_VIEW3D_DIAGRAM_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <com/sun/star/drawing/ShadeMode.hpp>
27cdf0e10cSrcweir #include <com/sun/star/frame/XModel.hpp>
28cdf0e10cSrcweir 
29cdf0e10cSrcweir // header for class TabDialog
30cdf0e10cSrcweir #include <vcl/tabdlg.hxx>
31cdf0e10cSrcweir // header for class TabControl
32cdf0e10cSrcweir #include <vcl/tabctrl.hxx>
33cdf0e10cSrcweir // header for class OKButton
34cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX
35cdf0e10cSrcweir #include <vcl/button.hxx>
36cdf0e10cSrcweir #endif
37*97e8a929SArmin Le Grand // header for class XColorList
38cdf0e10cSrcweir #include <svx/xtable.hxx>
39cdf0e10cSrcweir 
40cdf0e10cSrcweir #include "ControllerLockGuard.hxx"
41cdf0e10cSrcweir 
42cdf0e10cSrcweir //.............................................................................
43cdf0e10cSrcweir namespace chart
44cdf0e10cSrcweir {
45cdf0e10cSrcweir //.............................................................................
46cdf0e10cSrcweir class ThreeD_SceneGeometry_TabPage;
47cdf0e10cSrcweir class ThreeD_SceneAppearance_TabPage;
48cdf0e10cSrcweir class ThreeD_SceneIllumination_TabPage;
49cdf0e10cSrcweir 
50cdf0e10cSrcweir class View3DDialog : public TabDialog
51cdf0e10cSrcweir {
52cdf0e10cSrcweir public:
53cdf0e10cSrcweir     View3DDialog( Window* pWindow,
54cdf0e10cSrcweir                   const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xChartModel,
55*97e8a929SArmin Le Grand                   XColorList* pColorTable=0 );
56cdf0e10cSrcweir 	~View3DDialog();
57cdf0e10cSrcweir 
58cdf0e10cSrcweir     // from Dialog (base of TabDialog)
59cdf0e10cSrcweir     virtual short Execute();
60cdf0e10cSrcweir 
61cdf0e10cSrcweir private:
62cdf0e10cSrcweir     TabControl      m_aTabControl;
63cdf0e10cSrcweir     OKButton		m_aBtnOK;
64cdf0e10cSrcweir 	CancelButton	m_aBtnCancel;
65cdf0e10cSrcweir 	HelpButton		m_aBtnHelp;
66cdf0e10cSrcweir 
67cdf0e10cSrcweir     ThreeD_SceneGeometry_TabPage*       m_pGeometry;
68cdf0e10cSrcweir     ThreeD_SceneAppearance_TabPage*     m_pAppearance;
69cdf0e10cSrcweir     ThreeD_SceneIllumination_TabPage*   m_pIllumination;
70cdf0e10cSrcweir 
71cdf0e10cSrcweir     ControllerLockHelper                m_aControllerLocker;
72cdf0e10cSrcweir 
73cdf0e10cSrcweir     static sal_uInt16 m_nLastPageId;
74cdf0e10cSrcweir };
75cdf0e10cSrcweir 
76cdf0e10cSrcweir //.............................................................................
77cdf0e10cSrcweir } //namespace chart
78cdf0e10cSrcweir //.............................................................................
79cdf0e10cSrcweir 
80cdf0e10cSrcweir #endif
81