update dev300-m58
[ooovba.git] / offapi / com / sun / star / chart / LineDiagram.idl
blob62dd0d4c1f737c907c80c13d8ac63e50d0d29a3a
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: LineDiagram.idl,v $
10 * $Revision: 1.15 $
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_LineDiagram_idl__
31 #define __com_sun_star_chart_LineDiagram_idl__
33 #ifndef __com_sun_star_chart_Diagram_idl__
34 #include <com/sun/star/chart/Diagram.idl>
35 #endif
37 #ifndef __com_sun_star_chart_ChartStatistics_idl__
38 #include <com/sun/star/chart/ChartStatistics.idl>
39 #endif
41 #ifndef __com_sun_star_chart_ChartAxisXSupplier_idl__
42 #include <com/sun/star/chart/ChartAxisXSupplier.idl>
43 #endif
45 #ifndef __com_sun_star_chart_ChartTwoAxisYSupplier_idl__
46 #include <com/sun/star/chart/ChartTwoAxisYSupplier.idl>
47 #endif
49 #ifndef __com_sun_star_chart_ChartAxisZSupplier_idl__
50 #include <com/sun/star/chart/ChartAxisZSupplier.idl>
51 #endif
53 #ifndef __com_sun_star_chart_Dim3DDiagram_idl__
54 #include <com/sun/star/chart/Dim3DDiagram.idl>
55 #endif
57 #ifndef __com_sun_star_chart_StackableDiagram_idl__
58 #include <com/sun/star/chart/StackableDiagram.idl>
59 #endif
61 #ifndef __com_sun_star_awt_Size_idl__
62 #include <com/sun/star/awt/Size.idl>
63 #endif
65 //=============================================================================
67 module com { module sun { module star { module chart {
69 //=============================================================================
71 /** specifies line, spline and symbol diagrams.
73 published service LineDiagram
75 service com::sun::star::chart::Diagram;
76 service com::sun::star::chart::ChartStatistics;
77 service com::sun::star::chart::ChartAxisXSupplier;
78 service com::sun::star::chart::ChartTwoAxisYSupplier;
79 service com::sun::star::chart::ChartAxisZSupplier;
80 service com::sun::star::chart::Dim3DDiagram;
81 service com::sun::star::chart::StackableDiagram;
83 //-------------------------------------------------------------------------
85 /** determines which type of symbols are displayed.
87 <p>In this interface, only the two values
88 <member>ChartSymbolType::NONE</member> and
89 <member>ChartSymbolType::AUTO</member> are supported. Later
90 versions may support the selection of the symbols shape.</p>
92 <p>If you set this property to
93 <member>ChartSymbolType::AUTO</member>, you can change the
94 symbol shape for objects supporting the service
95 <type>ChartDataPointProperties</type> or
96 <type>ChartDataRowProperties</type>.</p>
98 @see ChartDataPointProperties
99 @see ChartDataRowProperties
101 [property] long SymbolType;
103 //-------------------------------------------------------------------------
105 /** specifies the size of symbols in 1/100th of a millimeter.
107 [optional, property] com::sun::star::awt::Size SymbolSize;
109 //-------------------------------------------------------------------------
111 /** Set this property to any valid URL that points to a graphic
112 file. This graphic is then used as symbol for all series.
114 <p>When you query this value you get an internal URL of the
115 embedded graphic.</p>
117 @deprecated
118 @see ChartSymbolType
120 [optional, property] string SymbolBitmapURL;
122 //-------------------------------------------------------------------------
124 /** determines if the chart type has lines connecting the data
125 points or contains just symbols.
127 [property] boolean Lines;
129 //-------------------------------------------------------------------------
131 /** determines if the chart is a spline-chart type and specifies
132 the type of splines.
134 <p>You can set the following values:
135 <table border>
136 <tr><td>0</td><td>lines are used instead of splines</td></tr>
137 <tr><td>1</td><td>use cubic splines</td></tr>
138 <tr><td>2</td><td>use B-splines</td></tr>
139 </table>
140 </p>
142 [property] long SplineType;
144 //-------------------------------------------------------------------------
146 /** specifies the power of the polynomials used for spline
147 calculation
149 This property is only valid for B-splines
151 [optional, property] long SplineOrder;
153 //-------------------------------------------------------------------------
155 /** determines the number of sampling points of a spline
157 [optional, property] long SplineResolution;
160 //=============================================================================
162 }; }; }; };
164 #endif