1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_chart_LineDiagram_idl__
24#define __com_sun_star_chart_LineDiagram_idl__
25
26#ifndef __com_sun_star_chart_Diagram_idl__
27#include <com/sun/star/chart/Diagram.idl>
28#endif
29
30#ifndef __com_sun_star_chart_ChartStatistics_idl__
31#include <com/sun/star/chart/ChartStatistics.idl>
32#endif
33
34#ifndef __com_sun_star_chart_ChartAxisXSupplier_idl__
35#include <com/sun/star/chart/ChartAxisXSupplier.idl>
36#endif
37
38#ifndef __com_sun_star_chart_ChartTwoAxisYSupplier_idl__
39#include <com/sun/star/chart/ChartTwoAxisYSupplier.idl>
40#endif
41
42#ifndef __com_sun_star_chart_ChartAxisZSupplier_idl__
43#include <com/sun/star/chart/ChartAxisZSupplier.idl>
44#endif
45
46#ifndef __com_sun_star_chart_Dim3DDiagram_idl__
47#include <com/sun/star/chart/Dim3DDiagram.idl>
48#endif
49
50#ifndef __com_sun_star_chart_StackableDiagram_idl__
51#include <com/sun/star/chart/StackableDiagram.idl>
52#endif
53
54#ifndef __com_sun_star_awt_Size_idl__
55#include <com/sun/star/awt/Size.idl>
56#endif
57
58//=============================================================================
59
60 module com {  module sun {  module star {  module chart {
61
62//=============================================================================
63
64/** specifies line, spline and symbol diagrams.
65 */
66published service LineDiagram
67{
68	service com::sun::star::chart::Diagram;
69	service com::sun::star::chart::ChartStatistics;
70	service com::sun::star::chart::ChartAxisXSupplier;
71	service com::sun::star::chart::ChartTwoAxisYSupplier;
72	service com::sun::star::chart::ChartAxisZSupplier;
73	service com::sun::star::chart::Dim3DDiagram;
74	service com::sun::star::chart::StackableDiagram;
75
76	//-------------------------------------------------------------------------
77
78	/** determines which type of symbols are displayed.
79
80		<p>In this interface, only the two values
81		<member>ChartSymbolType::NONE</member> and
82		<member>ChartSymbolType::AUTO</member> are supported. Later
83		versions may support the selection of the symbols shape.</p>
84
85        <p>If you set this property to
86		<member>ChartSymbolType::AUTO</member>, you can change the
87		symbol shape for objects supporting the service
88		<type>ChartDataPointProperties</type> or
89		<type>ChartDataRowProperties</type>.</p>
90
91        @see ChartDataPointProperties
92        @see ChartDataRowProperties
93	 */
94	[property] long SymbolType;
95
96	//-------------------------------------------------------------------------
97
98	/** specifies the size of symbols in 1/100th of a millimeter.
99	 */
100	[optional, property] com::sun::star::awt::Size SymbolSize;
101
102	//-------------------------------------------------------------------------
103
104	/** Set this property to any valid URL that points to a graphic
105        file.  This graphic is then used as symbol for all series.
106
107        <p>When you query this value you get an internal URL of the
108        embedded graphic.</p>
109
110		@deprecated
111		@see ChartSymbolType
112	 */
113	[optional, property] string SymbolBitmapURL;
114
115	//-------------------------------------------------------------------------
116
117	/** determines if the chart type has lines connecting the data
118		points or contains just symbols.
119	 */
120	[property] boolean Lines;
121
122	//-------------------------------------------------------------------------
123
124	/** determines if the chart is a spline-chart type and specifies
125		the type of splines.
126
127        <p>You can set the following values:
128        <table border>
129        <tr><td>0</td><td>lines are used instead of splines</td></tr>
130        <tr><td>1</td><td>use cubic splines</td></tr>
131        <tr><td>2</td><td>use B-splines</td></tr>
132        </table>
133        </p>
134	 */
135	[property] long SplineType;
136
137	//-------------------------------------------------------------------------
138
139    /** specifies the power of the polynomials used for spline
140        calculation
141
142        This property is only valid for B-splines
143     */
144    [optional, property] long SplineOrder;
145
146	//-------------------------------------------------------------------------
147
148    /** determines the number of sampling points of a spline
149     */
150    [optional, property] long SplineResolution;
151};
152
153//=============================================================================
154
155}; }; }; };
156
157#endif
158