/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: RectangularDataSource.idl,v $ * $Revision: 1.3 $ * * 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 * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef com_sun_star_chart2_RectangularDataSource_idl #define com_sun_star_chart2_RectangularDataSource_idl #include #include #include module com { module sun { module star { module chart2 { /** describes a data source that bases on a two-dimensional range of data, like a cell range in a spreadsheet.

Components supporting this service have the duty to interpret the given range in an appropriate way to represent a DataSource.

*/ service RectangularDataSource { /** A RectangularDataSource is certainly also a DataSource. */ service DataSource; service ::com::sun::star::chart::ChartDataArray; /** contains a range string in the format specified by the Office XML format for tables, that refers to data in the table of a spreadsheet or a text document.

This range is used to determine the rectangular range chosen. The DataSequence::SourceRange properties of the DataSequences are ignored for this type of DataSource.

*/ [property] string SourceRange; /** determines if the data referred to in SourceRange is split up into DataSequences using rows (ChartDataRowSource::ROWS) or columns (ChartDataRowSource::COLUMNS). */ [property] ::com::sun::star::chart::ChartDataRowSource DataRowSource; }; } ; // chart2 } ; // com } ; // sun } ; // star #endif