1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_sheet_DataPilotSource_idl__
21 #define __com_sun_star_sheet_DataPilotSource_idl__
23 #include
<com
/sun
/star
/sheet
/XDimensionsSupplier.idl
>
24 #include
<com
/sun
/star
/sheet
/XDataPilotResults.idl
>
25 #include
<com
/sun
/star
/util
/XRefreshable.idl
>
26 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
29 module com
{ module sun
{ module star
{ module sheet
{
32 /** represents a data pilot source.
34 <p>A component that implements this service can be used as data source
35 for a data pilot table in a spreadsheet document.</p>
37 service DataPilotSource
40 /** provides access to the collection of the dimensions of the data
43 interface com
::sun
::star
::sheet
::XDimensionsSupplier
;
46 /** gives access to the results of the data pilot table.
48 interface com
::sun
::star
::sheet
::XDataPilotResults
;
51 /** provides methods to refresh the data pilot table, that means to
52 read the data again from the data pilot source.
54 interface com
::sun
::star
::util
::XRefreshable
;
57 //!published service PropertySet
58 /** provides access to the properties.
60 interface com
::sun
::star
::beans
::XPropertySet
;
63 /** specifies if grand totals for the columns are inserted.
65 [property
] boolean ColumnGrand
;
68 /** specifies if grand totals for the rows are inserted.
70 [property
] boolean RowGrand
;
73 /** specifies the number of row fields.
77 [readonly, property
, optional] long RowFieldCount
;
80 /** specifies the number of column fields.
84 [readonly, property
, optional] long ColumnFieldCount
;
87 /** specifies the number of data fields.
91 [readonly, property
, optional] long DataFieldCount
;
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */