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: Diagram.idl,v $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************/
31 #ifndef com_sun_star_chart_Diagram_idl
32 #define com_sun_star_chart_Diagram_idl
34 #ifndef com_sun_star_chart2_XDiagram_idl__
35 #include
<com
/sun
/star
/chart2
/XDiagram.idl
>
38 #include
<com
/sun
/star
/chart2
/XCoordinateSystemContainer.idl
>
39 #include
<com
/sun
/star
/chart2
/XTitled.idl
>
40 #include
<com
/sun
/star
/chart2
/RelativePosition.idl
>
41 #include
<com
/sun
/star
/layout
/RelativeSize.idl
>
42 #include
<com
/sun
/star
/chart
/X3DDefaultSetter.idl
>
59 interface ::com
::sun
::star
::chart2
::XDiagram
;
63 interface ::com
::sun
::star
::chart2
::XCoordinateSystemContainer
;
65 /** gives access to the sub title of a chart document
69 /** makes it easy to set suiteable defaults for illumination and rotation for 3D charts
71 [optional] interface ::com
::sun
::star
::chart
::X3DDefaultSetter
;
73 /** The position is as a relative position on the page.
75 <p>If a relative position is given the diagam is not automatically placed,
76 but instead is placed relative on the page.</p>
78 [property
, maybevoid
] ::com
::sun
::star
::chart2
::RelativePosition RelativePosition
;
80 /** The size of the diagram as relative size of the page size.
82 [property
] ::com
::sun
::star
::layout
::RelativeSize RelativeSize
;
84 /** Sort data points by x values for rendering
86 [optional, property
] boolean SortByXValues
;
88 /** Draw connection lines for stacked bar charts.
90 [optional, property
] boolean ConnectBars
;
92 /** If bars of a bar or column chart are attached to different
93 axis, this property determines how to display those. If
94 <TRUE/>, the bars are grouped together in one block for each
95 axis, thus they are painted one group over the other.
97 <p>If <FALSE/>, the bars are displayed side-by-side, as if
98 they were all attached to the same axis.</p>
100 <p>If all data series of a bar or column chart are attached to
101 only one axis, this property has no effect.</p>
103 [optional, property
] boolean GroupBarsPerAxis
;
105 /** Starting angle in degrees for pie charts and doughnut charts.
107 [optional, property
] long StartingAngle
;
109 [optional, property
] boolean RightAngledAxes
;
111 /** Perspective of 3D charts ( [0,100] ).
113 [optional, property
] long Perspective
;
115 /** Horizontal rotation of 3D charts in degrees ( ]-180,180] ).
117 [optional, property
] long RotationHorizontal
;
119 /** Vertical rotation of 3D charts in degrees ( ]-180,180] ).
121 [optional, property
] long RotationVertical
;
123 /** specifies how empty or invalid cells in the provided data should be handled when displayed
125 @see ::com::sun::star::chart::MissingValueTreatment
127 [optional, property
] long MissingValueTreatment
;