1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef com_sun_star_chart2_XDiagram_idl
29 #define com_sun_star_chart2_XDiagram_idl
31 #include
<com
/sun
/star
/uno
/XInterface.idl
>
32 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
33 #include
<com
/sun
/star
/beans
/PropertyValue.idl
>
34 #include
<com
/sun
/star
/chart2
/XLegend.idl
>
35 #include
<com
/sun
/star
/chart2
/XColorScheme.idl
>
36 #include
<com
/sun
/star
/chart2
/data
/XDataSource.idl
>
37 #include
<com
/sun
/star
/chart2
/data
/XLabeledDataSequence.idl
>
48 interface XDiagram
: ::com
::sun
::star
::uno
::XInterface
50 /** returns the property set that determines the visual appearance
53 <p>The wall is the area behind the union of all
54 coordinate systems used in a diagram.</p>
56 com
::sun
::star
::beans
::XPropertySet getWall
();
58 /** returns the property set that determines the visual appearance
61 <p>The floor is the bottom of a 3D diagram.
62 For a 2D diagram NULL is returned.</p>
64 com
::sun
::star
::beans
::XPropertySet getFloor
();
66 /** returns the legend, which may represent data series and other
67 information about a diagram in a separate box.
71 /** sets a new legend.
73 void setLegend
( [in] XLegend xLegend
);
75 /** returns an <type>XColorScheme</type> that defines the default
76 colors for data series (or data points) in the diagram.
78 XColorScheme getDefaultColorScheme
();
80 /** sets an <type>XColorScheme</type> that defines the default
81 colors for data series (or data points) in the diagram.
83 void setDefaultColorScheme
( [in] XColorScheme xColorScheme
);
85 /** sets new data to the diagram.
88 This data source will be interpreted in a chart-type
89 specific way and the <type>DataSeries</type> found in
90 <code>xDiagram</code> will be adapted to the new data.
91 Missing data series will be created and unused ones will
95 Arguments tells how to slice the given data.
97 <p>For standard parameters that may be used, see the
98 service <type>StandardDiagramCreationParameters</type>.
101 void setDiagramData
( [in] com
::sun
::star
::chart2
::data
::XDataSource xDataSource
,
102 [in] sequence
< com
::sun
::star
::beans
::PropertyValue
> aArguments
);
112 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */