1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: chtscene.hxx,v $
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 ************************************************************************/
34 #include <bf_svx/polysc3d.hxx>
35 #include <chtmodel.hxx>
38 /*************************************************************************
40 |* Basisklasse fuer 3D-Szenen
41 |* Die Ableitung von SchObjGroup erfolgt damit das Chart frei plaziert
42 |* werden kann. Die Komponenten von 2d-Charts sind auch SchObjGroups
44 \************************************************************************/
46 //DECLARE_LIST(DescrList, E3dLabelObj*)//STRIP008 //DECLARE_LIST(DescrList, E3dLabelObj*);
48 class ChartScene
: public E3dPolyScene
52 BOOL bAskForLogicRect
;
53 Rectangle
Get3DDescrRect(E3dLabelObj
*p3DObj
,B3dCamera
& rCamSet
);
58 ChartScene(ChartModel
* pModel
);
59 virtual ~ChartScene();
62 virtual Volume3D
FitInSnapRect();
64 BOOL
GetAskForLogicRect() {return bAskForLogicRect
;}
65 void SetAskForLogicRect(BOOL value
) {bAskForLogicRect
= value
;}
67 virtual void WriteData(SvStream
& rOut
) const;
69 void InsertAllTitleText (DescrList
&rList
,
73 // just call parent? overloading deprecated?
74 // The following three methods call their respective equivalents of
75 // E3dObject. This is necessary because they are overloaded in E3dScene
76 // with methods that do not what we want :-)
77 // virtual USHORT GetHdlCount (void) const
78 // { return E3dObject::GetHdlCount(); }
79 // virtual void AddToHdlList (SdrHdlList& rHdlList) const
80 // { E3dObject::AddToHdlList (rHdlList); }
81 // virtual FASTBOOL HasSpecialDrag (void) const
82 // { return E3dObject::HasSpecialDrag (); }
84 void ReduceDescrList(DescrList
& aList
);
88 } //namespace binfilter
89 #endif // _E3D_SCENE3D_HXX