update dev300-m58
[ooovba.git] / offapi / com / sun / star / chart / Dim3DDiagram.idl
blobac13c534408c6b21922feea1bbf095196707bf11
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: Dim3DDiagram.idl,v $
10 * $Revision: 1.11 $
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 __com_sun_star_chart_Dim3DDiagram_idl__
31 #define __com_sun_star_chart_Dim3DDiagram_idl__
33 #ifndef __com_sun_star_chart_X3DDisplay_idl__
34 #include <com/sun/star/chart/X3DDisplay.idl>
35 #endif
36 #ifndef __com_sun_star_chart_X3DDefaultSetter_idl__
37 #include <com/sun/star/chart/X3DDefaultSetter.idl>
38 #endif
41 //=============================================================================
43 module com { module sun { module star { module chart {
45 //=============================================================================
47 /** is a service for diagrams that support the capability to render
48 themselves as three-dimensional diagrams as well as
49 two-dimensional ones.
51 published service Dim3DDiagram
53 /** gives access to the properties of the wall and floor objects
54 of the three-dimensional cuboid that contains the actual
55 diagram.
57 interface com::sun::star::chart::X3DDisplay;
59 /** makes it easy to set suiteable defaults for illumination and rotation for 3D charts
61 [optional] interface ::com::sun::star::chart::X3DDefaultSetter;
63 //-------------------------------------------------------------------------
65 /** If set to <TRUE/>, the chart becomes a three-dimensional
66 chart. Otherwise it is two-dimensional.
68 [property] boolean Dim3D;
70 /** Perspective of 3D charts ( [0,100] ).
72 [optional, property] long Perspective;
74 /** Horizontal rotation of 3D charts in degrees ( ]-180,180] ).
76 [optional, property] long RotationHorizontal;
78 /** Vertical rotation of 3D charts in degrees ( ]-180,180] ).
80 [optional, property] long RotationVertical;
81 };
83 //=============================================================================
85 }; }; }; };
87 #endif