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_DataPilotTablePositionData_idl__
29 #define __com_sun_star_sheet_DataPilotTablePositionData_idl__
31 #include
<com
/sun
/star
/sheet
/DataPilotFieldFilter.idl
>
33 //=============================================================================
35 module com
{ module sun
{ module star
{ module sheet
{
37 //=============================================================================
39 /** This structure contains information on a cell within a DataPilot table.
41 <p>This structure contains information on a particular cell within a DataPilot
42 table, and is used to retrieve its metadata. The <member>PositionType</member>
43 member specifies in which sub-area of the table the cell is positioned, which
44 in turn determines the type of metadata contained in the <member>PositionData</member>
47 @see com::sun::star::sheet::DataPilotTablePositionType
48 @see com::sun::star::sheet::DataPiotTableResultData
49 @see com::sun::star::sheet::DataPiotTableHeaderData
53 struct DataPilotTablePositionData
55 //-------------------------------------------------------------------------
57 /** This parameter specifies which sub-area of a DataPilot table a given
58 cell is positioned. See <type>DataPilotTablePositionType</type>
59 for how to interpret the value of this parameter.
61 @see com::sun::star::sheet::DataPilotTablePositionType
65 //-------------------------------------------------------------------------
67 /** <p>This member contains a structure of different types depending on the
68 position type specified in <member>PositionType</member> member.</p>
70 <p>When the value of <member>PositionType</member> is
71 <const>DataPilotTablePositionType::RESULT</const>, <member>DataPilotTablePositionData::PositionData</member>
72 contains an instance of type <type>DataPilotTableResultData</type>,
73 whereas when the value of <member>DataPilotTablePositionData::PositionType</member>
74 is either <const>DataPilotTablePositionType::ROW_HEADER</const>
75 or <const>DataPilotTablePositionType::COLUMN_HEADER</const>, then the
76 <member>PositionData</member> member contains an instance of type <type>
77 DataPilotTableHeaderData</type>.</p>
79 @see com::sun::star::sheet::DataPiotTableResultData
80 @see com::sun::star::sheet::DataPiotTableHeaderData
85 //=============================================================================