Kaydet (Commit) 0720069a authored tarafından Niklas Nebel's avatar Niklas Nebel

calc59: #i114256# Don't move DataPilot fields to orientations that the source doesn't support

üst b606a9b0
...@@ -156,6 +156,14 @@ published service DataPilotSourceDimension ...@@ -156,6 +156,14 @@ published service DataPilotSourceDimension
*/ */
[property] sequence< com::sun::star::sheet::TableFilterField > Filter; [property] sequence< com::sun::star::sheet::TableFilterField > Filter;
//-------------------------------------------------------------------------
/** contains flags that control the usage of the dimension.
@see com::sun::star::sheet::DimensionFlags
*/
[readonly, property, optional] long Flags;
}; };
//============================================================================= //=============================================================================
......
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef __com_sun_star_sheet_DimensionFlags_idl__
#define __com_sun_star_sheet_DimensionFlags_idl__
//=============================================================================
module com { module sun { module star { module sheet {
//=============================================================================
/** used to specify flags for a dimension in a data pilot source.
@see com::sun::star::sheet::DataPilotSourceDimension
*/
published constants DimensionFlags
{
//-------------------------------------------------------------------------
/** The dimension cannot be used in column orientation.
*/
const long NO_COLUMN_ORIENTATION = 1;
//-------------------------------------------------------------------------
/** The dimension cannot be used in row orientation.
*/
const long NO_ROW_ORIENTATION = 2;
//-------------------------------------------------------------------------
/** The dimension cannot be used in page orientation.
*/
const long NO_PAGE_ORIENTATION = 4;
//-------------------------------------------------------------------------
/** The dimension cannot be used in data orientation.
*/
const long NO_DATA_ORIENTATION = 8;
};
//=============================================================================
}; }; }; };
#endif
...@@ -122,6 +122,7 @@ IDLFILES=\ ...@@ -122,6 +122,7 @@ IDLFILES=\
DatabaseRange.idl\ DatabaseRange.idl\
DatabaseRanges.idl\ DatabaseRanges.idl\
DatabaseRangesEnumeration.idl\ DatabaseRangesEnumeration.idl\
DimensionFlags.idl\
DocumentSettings.idl\ DocumentSettings.idl\
ExternalDocLink.idl\ ExternalDocLink.idl\
ExternalDocLinks.idl\ ExternalDocLinks.idl\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment