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_VIEW3D_DIAGRAM_HXX
28 #define _CHART2_DLG_VIEW3D_DIAGRAM_HXX
30 #include <com/sun/star/drawing/ShadeMode.hpp>
31 #include <com/sun/star/frame/XModel.hpp>
33 // header for class TabDialog
34 #include <vcl/tabdlg.hxx>
35 // header for class TabControl
36 #include <vcl/tabctrl.hxx>
37 // header for class OKButton
38 #ifndef _SV_BUTTON_HXX
39 #include <vcl/button.hxx>
41 // header for class XColorTable
42 #include <svx/xtable.hxx>
44 #include "ControllerLockGuard.hxx"
46 //.............................................................................
49 //.............................................................................
50 class ThreeD_SceneGeometry_TabPage
;
51 class ThreeD_SceneAppearance_TabPage
;
52 class ThreeD_SceneIllumination_TabPage
;
54 class View3DDialog
: public TabDialog
57 View3DDialog( Window
* pWindow
,
58 const ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XModel
> & xChartModel
,
59 XColorTable
* pColorTable
=0 );
62 // from Dialog (base of TabDialog)
63 virtual short Execute();
66 TabControl m_aTabControl
;
68 CancelButton m_aBtnCancel
;
69 HelpButton m_aBtnHelp
;
71 ThreeD_SceneGeometry_TabPage
* m_pGeometry
;
72 ThreeD_SceneAppearance_TabPage
* m_pAppearance
;
73 ThreeD_SceneIllumination_TabPage
* m_pIllumination
;
75 ControllerLockHelper m_aControllerLocker
;
77 static USHORT m_nLastPageId
;
80 //.............................................................................
82 //.............................................................................