xref: /aoo4110/main/oovbaapi/ooo/vba/excel/XChart.idl (revision b1cdbd2c)
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 __ooo_vba_excel_XChart_idl__
24#define __ooo_vba_excel_XChart_idl__
25
26#ifndef __com_sun_star_uno_XInterface_idl__
27#include <com/sun/star/uno/XInterface.idl>
28#endif
29#ifndef __ooo_vba_XHelperInterface_idl__
30#include <ooo/vba/XHelperInterface.idl>
31#endif
32
33#ifndef __com_sun_star_script_BasicErrorException_idl__
34#include <com/sun/star/script/BasicErrorException.idl>
35#endif
36//=============================================================================
37
38module ooo {  module vba {  module excel {
39
40//=============================================================================
41interface XRange;
42interface XChartTitle;
43interface XChart
44{
45	interface ::ooo::vba::XHelperInterface;
46
47	[attribute, readonly] string Name;
48	any SeriesCollection( [in] any Item );
49	long getChartType() raises(com::sun::star::script::BasicErrorException);
50
51	void setChartType([in] long chartType) raises(com::sun::star::script::BasicErrorException);
52
53	void Activate() raises(com::sun::star::script::BasicErrorException);
54	void setSourceData([in] XRange Source, [in] any PlotBy) raises(com::sun::star::script::BasicErrorException);
55
56	long Location() raises (com::sun::star::script::BasicErrorException);
57	long getLocation() raises (com::sun::star::script::BasicErrorException);
58
59	void setLocation([in] long where, [in] any Name) raises (com::sun::star::script::BasicErrorException);
60
61	boolean getHasTitle() raises(com::sun::star::script::BasicErrorException);
62
63	void setHasTitle([in] boolean bTitle) raises(com::sun::star::script::BasicErrorException);
64
65	boolean getHasLegend() raises(com::sun::star::script::BasicErrorException);
66
67	void setHasLegend([in] boolean bLegend) raises(com::sun::star::script::BasicErrorException);
68	XChartTitle getChartTitle() raises (com::sun::star::script::BasicErrorException);
69	void setPlotBy([in] long xlRowCol) raises(com::sun::star::script::BasicErrorException);
70
71	long getPlotBy() raises(com::sun::star::script::BasicErrorException);
72
73	any Axes( [in] any Type, [in] any AxisGroup ) raises (com::sun::star::script::BasicErrorException);
74
75};
76
77//=============================================================================
78
79}; }; };
80
81#endif
82
83
84