1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DataPilotTablePositionData.idl,v $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************/
32 #ifndef __com_sun_star_sheet_DataPilotTablePositionData_idl__
33 #define __com_sun_star_sheet_DataPilotTablePositionData_idl__
35 #include
<com
/sun
/star
/sheet
/DataPilotFieldFilter.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module sheet
{
41 //=============================================================================
43 /** This structure contains information on a cell within a DataPilot table.
45 <p>This structure contains information on a particular cell within a DataPilot
46 table, and is used to retrieve its metadata. The <member>PositionType</member>
47 member specifies in which sub-area of the table the cell is positioned, which
48 in turn determines the type of metadata contained in the <member>PositionData</member>
51 @see com::sun::star::sheet::DataPilotTablePositionType
52 @see com::sun::star::sheet::DataPiotTableResultData
53 @see com::sun::star::sheet::DataPiotTableHeaderData
57 struct DataPilotTablePositionData
59 //-------------------------------------------------------------------------
61 /** This parameter specifies which sub-area of a DataPilot table a given
62 cell is positioned. See <type>DataPilotTablePositionType</type>
63 for how to interpret the value of this parameter.
65 @see com::sun::star::sheet::DataPilotTablePositionType
69 //-------------------------------------------------------------------------
71 /** <p>This member contains a structure of different types depending on the
72 position type specified in <member>PositionType</member> member.</p>
74 <p>When the value of <member>PositionType</member> is
75 <const>DataPilotTablePositionType::RESULT</const>, <member>DataPilotTablePositionData::PositionData</member>
76 contains an instance of type <type>DataPilotTableResultData</type>,
77 whereas when the value of <member>DataPilotTablePositionData::PositionType</member>
78 is either <const>DataPilotTablePositionType::ROW_HEADER</const>
79 or <const>DataPilotTablePositionType::COLUMN_HEADER</const>, then the
80 <member>PositionData</member> member contains an instance of type <type>
81 DataPilotTableHeaderData</type>.</p>
83 @see com::sun::star::sheet::DataPiotTableResultData
84 @see com::sun::star::sheet::DataPiotTableHeaderData
89 //=============================================================================