update dev300-m58
[ooovba.git] / chart2 / source / controller / inc / dlg_View3D.hxx
blobb3ee548abe4e08be67c13d2a577c23141c4e1261
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dlg_View3D.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _CHART2_DLG_VIEW3D_DIAGRAM_HXX
31 #define _CHART2_DLG_VIEW3D_DIAGRAM_HXX
33 #include <com/sun/star/drawing/ShadeMode.hpp>
34 #include <com/sun/star/frame/XModel.hpp>
36 // header for class TabDialog
37 #include <vcl/tabdlg.hxx>
38 // header for class TabControl
39 #include <vcl/tabctrl.hxx>
40 // header for class OKButton
41 #ifndef _SV_BUTTON_HXX
42 #include <vcl/button.hxx>
43 #endif
44 // header for class XColorTable
45 #include <svx/xtable.hxx>
47 #include "ControllerLockGuard.hxx"
49 //.............................................................................
50 namespace chart
52 //.............................................................................
53 class ThreeD_SceneGeometry_TabPage;
54 class ThreeD_SceneAppearance_TabPage;
55 class ThreeD_SceneIllumination_TabPage;
57 class View3DDialog : public TabDialog
59 public:
60 View3DDialog( Window* pWindow,
61 const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xChartModel,
62 XColorTable* pColorTable=0 );
63 ~View3DDialog();
65 // from Dialog (base of TabDialog)
66 virtual short Execute();
68 private:
69 TabControl m_aTabControl;
70 OKButton m_aBtnOK;
71 CancelButton m_aBtnCancel;
72 HelpButton m_aBtnHelp;
74 ThreeD_SceneGeometry_TabPage* m_pGeometry;
75 ThreeD_SceneAppearance_TabPage* m_pAppearance;
76 ThreeD_SceneIllumination_TabPage* m_pIllumination;
78 ControllerLockHelper m_aControllerLocker;
80 static USHORT m_nLastPageId;
83 //.............................................................................
84 } //namespace chart
85 //.............................................................................
87 #endif