1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_sheet_DataPilotTableResultData_idl__
25#define __com_sun_star_sheet_DataPilotTableResultData_idl__
26
27#include <com/sun/star/sheet/DataPilotFieldFilter.idl>
28#include <com/sun/star/sheet/DataResult.idl>
29
30//=============================================================================
31
32module com {  module sun {  module star {  module sheet {
33
34//=============================================================================
35
36/** information about a cell positioned within the result area of a DataPilot table.
37
38    <p><type>DataPilotTableResultData</type> contains information about a
39    particular cell positioned within the result area of a DataPilot table.</p>
40
41    @see com::sun::star::sheet::DataPilotTablePositionData
42    @see com::sun::star::sheet::DataPilotTablePositionType
43    @see com::sun::star::sheet::DataPilotFieldFilter
44    @see com::sun::star::sheet::DataResult
45
46    @since OpenOffice 3.0
47 */
48struct DataPilotTableResultData
49{
50    //------------------------------------------------------------------------
51
52    /** This is a set of filter criteria that can be used to re-create those
53        data rows that contribute to the value shown in the cell.
54
55        @see com::sun::star::sheet::DataPilotFieldFilter
56     */
57    sequence< DataPilotFieldFilter >    FieldFilters;
58
59    //------------------------------------------------------------------------
60
61    /** This is a 0-based index that specifies which data field the data displayed
62        in the cell is for; the value of 0 means the cell is for the first data
63        field, 1 for the second, and so on.
64     */
65    long                                DataFieldIndex;
66
67    //------------------------------------------------------------------------
68
69    /** more information about the result contained in the
70        <type>DataResult</type> type.
71
72        @see com::sun::star::sheet::DataResult
73     */
74    DataResult                          Result;
75};
76
77//=============================================================================
78
79}; }; }; };
80
81#endif
82
83