xref: /trunk/main/oovbaapi/ooo/vba/excel/XChart.idl (revision 6fbb7301)
1*6fbb7301SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*6fbb7301SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*6fbb7301SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*6fbb7301SAndrew Rist * distributed with this work for additional information
6*6fbb7301SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*6fbb7301SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*6fbb7301SAndrew Rist * "License"); you may not use this file except in compliance
9*6fbb7301SAndrew Rist * with the License.  You may obtain a copy of the License at
10*6fbb7301SAndrew Rist *
11*6fbb7301SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*6fbb7301SAndrew Rist *
13*6fbb7301SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*6fbb7301SAndrew Rist * software distributed under the License is distributed on an
15*6fbb7301SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*6fbb7301SAndrew Rist * KIND, either express or implied.  See the License for the
17*6fbb7301SAndrew Rist * specific language governing permissions and limitations
18*6fbb7301SAndrew Rist * under the License.
19*6fbb7301SAndrew Rist *
20*6fbb7301SAndrew Rist *************************************************************/
21*6fbb7301SAndrew Rist
22*6fbb7301SAndrew Rist
23cdf0e10cSrcweir#ifndef __ooo_vba_excel_XChart_idl__
24cdf0e10cSrcweir#define __ooo_vba_excel_XChart_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__
27cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef __ooo_vba_XHelperInterface_idl__
30cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweir#ifndef __com_sun_star_script_BasicErrorException_idl__
34cdf0e10cSrcweir#include <com/sun/star/script/BasicErrorException.idl>
35cdf0e10cSrcweir#endif
36cdf0e10cSrcweir//=============================================================================
37cdf0e10cSrcweir
38cdf0e10cSrcweirmodule ooo {  module vba {  module excel {
39cdf0e10cSrcweir
40cdf0e10cSrcweir//=============================================================================
41cdf0e10cSrcweirinterface XRange;
42cdf0e10cSrcweirinterface XChartTitle;
43cdf0e10cSrcweirinterface XChart
44cdf0e10cSrcweir{
45cdf0e10cSrcweir	interface ::ooo::vba::XHelperInterface;
46cdf0e10cSrcweir
47cdf0e10cSrcweir	[attribute, readonly] string Name;
48cdf0e10cSrcweir	any SeriesCollection( [in] any Item );
49cdf0e10cSrcweir	long getChartType() raises(com::sun::star::script::BasicErrorException);
50cdf0e10cSrcweir
51cdf0e10cSrcweir	void setChartType([in] long chartType) raises(com::sun::star::script::BasicErrorException);
52cdf0e10cSrcweir
53cdf0e10cSrcweir	void Activate() raises(com::sun::star::script::BasicErrorException);
54cdf0e10cSrcweir	void setSourceData([in] XRange Source, [in] any PlotBy) raises(com::sun::star::script::BasicErrorException);
55cdf0e10cSrcweir
56cdf0e10cSrcweir	long Location() raises (com::sun::star::script::BasicErrorException);
57cdf0e10cSrcweir	long getLocation() raises (com::sun::star::script::BasicErrorException);
58cdf0e10cSrcweir
59cdf0e10cSrcweir	void setLocation([in] long where, [in] any Name) raises (com::sun::star::script::BasicErrorException);
60cdf0e10cSrcweir
61cdf0e10cSrcweir	boolean getHasTitle() raises(com::sun::star::script::BasicErrorException);
62cdf0e10cSrcweir
63cdf0e10cSrcweir	void setHasTitle([in] boolean bTitle) raises(com::sun::star::script::BasicErrorException);
64cdf0e10cSrcweir
65cdf0e10cSrcweir	boolean getHasLegend() raises(com::sun::star::script::BasicErrorException);
66cdf0e10cSrcweir
67cdf0e10cSrcweir	void setHasLegend([in] boolean bLegend) raises(com::sun::star::script::BasicErrorException);
68cdf0e10cSrcweir	XChartTitle getChartTitle() raises (com::sun::star::script::BasicErrorException);
69cdf0e10cSrcweir	void setPlotBy([in] long xlRowCol) raises(com::sun::star::script::BasicErrorException);
70cdf0e10cSrcweir
71cdf0e10cSrcweir	long getPlotBy() raises(com::sun::star::script::BasicErrorException);
72cdf0e10cSrcweir
73cdf0e10cSrcweir	any Axes( [in] any Type, [in] any AxisGroup ) raises (com::sun::star::script::BasicErrorException);
74cdf0e10cSrcweir
75cdf0e10cSrcweir};
76cdf0e10cSrcweir
77cdf0e10cSrcweir//=============================================================================
78cdf0e10cSrcweir
79cdf0e10cSrcweir}; }; };
80cdf0e10cSrcweir
81cdf0e10cSrcweir#endif
82cdf0e10cSrcweir
83cdf0e10cSrcweir
84