merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / sheet / DataPilotSource.idl
blobd96bd6d1ba76dffafaf6cce7d19c27c34e29dd83
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 ************************************************************************/
28 #ifndef __com_sun_star_sheet_DataPilotSource_idl__
29 #define __com_sun_star_sheet_DataPilotSource_idl__
31 #ifndef __com_sun_star_sheet_XDimensionsSupplier_idl__
32 #include <com/sun/star/sheet/XDimensionsSupplier.idl>
33 #endif
35 #ifndef __com_sun_star_sheet_XDataPilotResults_idl__
36 #include <com/sun/star/sheet/XDataPilotResults.idl>
37 #endif
39 #ifndef __com_sun_star_util_XRefreshable_idl__
40 #include <com/sun/star/util/XRefreshable.idl>
41 #endif
43 #ifndef __com_sun_star_beans_XPropertySet_idl__
44 #include <com/sun/star/beans/XPropertySet.idl>
45 #endif
47 //=============================================================================
49 module com { module sun { module star { module sheet {
51 //=============================================================================
53 /** represents a data pilot source.
55 <p>A component that implements this service can be used as data source
56 for a data pilot table in a spreadsheet document.</p>
58 published service DataPilotSource
60 //-------------------------------------------------------------------------
62 /** provides access to the collection of the dimensions of the data
63 pilot source.
65 interface com::sun::star::sheet::XDimensionsSupplier;
67 //-------------------------------------------------------------------------
69 /** gives access to the results of the data pilot table.
71 interface com::sun::star::sheet::XDataPilotResults;
73 //-------------------------------------------------------------------------
75 /** provides methods to refresh the data pilot table, that means to
76 read the data again from the data pilot source.
78 interface com::sun::star::util::XRefreshable;
80 //-------------------------------------------------------------------------
82 //!published service PropertySet
83 /** provides access to the properties.
85 interface com::sun::star::beans::XPropertySet;
87 //=========================================================================
89 /** specifies if grand totals for the columns are inserted.
91 [property] boolean ColumnGrand;
93 //-------------------------------------------------------------------------
95 /** specifies if grand totals for the rows are inserted.
97 [property] boolean RowGrand;
99 //-------------------------------------------------------------------------
101 /** specifies the number of row fields.
103 @since OOo 3.0.0
105 [readonly, property, optional] long RowFieldCount;
107 //-------------------------------------------------------------------------
109 /** specifies the number of column fields.
111 @since OOo 3.0.0
113 [readonly, property, optional] long ColumnFieldCount;
115 //-------------------------------------------------------------------------
117 /** specifies the number of data fields.
119 @since OOo 3.0.0
121 [readonly, property, optional] long DataFieldCount;
124 //=============================================================================
126 }; }; }; };
128 #endif