merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / chart2 / XDiagram.idl
blob3836489b7aed3ed2a199689370adeffe05fcfb36
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef com_sun_star_chart2_XDiagram_idl
28 #define com_sun_star_chart2_XDiagram_idl
30 #ifndef __com_sun_star_uno_XInterface_idl__
31 #include <com/sun/star/uno/XInterface.idl>
32 #endif
34 #include <com/sun/star/beans/XPropertySet.idl>
36 #include <com/sun/star/chart2/XLegend.idl>
37 #include <com/sun/star/chart2/XColorScheme.idl>
38 #include <com/sun/star/chart2/data/XLabeledDataSequence.idl>
40 module com
42 module sun
44 module star
46 module chart2
49 interface XDiagram : ::com::sun::star::uno::XInterface
51 /** gets the component that creates a new diagram or modifies
52 an existing diagram according to its rules.
54 // string getChartTypeTemplateServiceName();
56 /** returns the property set that determines the visual appearance
57 of the wall.
59 <p>The wall is the area behind the union of all
60 coordinate systems used in a diagram.</p>
62 com::sun::star::beans::XPropertySet getWall();
64 /** returns the property set that determines the visual appearance
65 of the floor if any.
67 <p>The floor is the bottom of a 3D diagram.
68 For a 2D diagram NULL is returned.</p>
70 com::sun::star::beans::XPropertySet getFloor();
72 /** returns the legend, which may represent data series and other
73 information about a diagram in a separate box.
75 XLegend getLegend();
77 /** sets a new legend.
79 void setLegend( [in] XLegend xLegend );
81 /** returns an <type>XColorScheme</type> that defines the default
82 colors for data series (or data points) in the diagram.
84 XColorScheme getDefaultColorScheme();
86 /** sets an <type>XColorScheme</type> that defines the default
87 colors for data series (or data points) in the diagram.
89 void setDefaultColorScheme( [in] XColorScheme xColorScheme );
92 } ; // chart2
93 } ; // com
94 } ; // sun
95 } ; // star
97 #endif