/*************************************************************************
 *
 *  $RCSfile: Spreadsheet.idl,v $
 *
 *  $Revision: 1.4 $
 *
 *  last change: $Author: mi $ $Date: 2002/10/03 13:08:01 $
 *
 *  The Contents of this file are made available subject to the terms of
 *  either of the following licenses
 *
 *         - GNU Lesser General Public License Version 2.1
 *         - Sun Industry Standards Source License Version 1.1
 *
 *  Sun Microsystems Inc., October, 2000
 *
 *  GNU Lesser General Public License Version 2.1
 *  =============================================
 *  Copyright 2000 by Sun Microsystems, Inc.
 *  901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation.
 *
 *  This library 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 for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *  MA  02111-1307  USA
 *
 *
 *  Sun Industry Standards Source License Version 1.1
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.1 (the "License"); You may not use this file
 *  except in compliance with the License. You may obtain a copy of the
 *  License at http://www.openoffice.org/license.html.
 *
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 *
 *  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 *
 *  Copyright: 2000 by Sun Microsystems, Inc.
 *
 *  All Rights Reserved.
 *
 *  Contributor(s): _______________________________________
 *
 *
 ************************************************************************/

#ifndef __com_sun_star_sheet_Spreadsheet_idl__
#define __com_sun_star_sheet_Spreadsheet_idl__

#ifndef __com_sun_star_sheet_SheetCellRange_idl__
#include <com/sun/star/sheet/SheetCellRange.idl>
#endif

#ifndef __com_sun_star_sheet_XSpreadsheet_idl__
#include <com/sun/star/sheet/XSpreadsheet.idl>
#endif

#ifndef __com_sun_star_container_XNamed_idl__
#include <com/sun/star/container/XNamed.idl>
#endif

#ifndef __com_sun_star_util_XProtectable_idl__
#include <com/sun/star/util/XProtectable.idl>
#endif

#ifndef __com_sun_star_sheet_XDataPilotTablesSupplier_idl__
#include <com/sun/star/sheet/XDataPilotTablesSupplier.idl>
#endif

#ifndef __com_sun_star_sheet_XScenariosSupplier_idl__
#include <com/sun/star/sheet/XScenariosSupplier.idl>
#endif

#ifndef __com_sun_star_sheet_XSheetAnnotationsSupplier_idl__
#include <com/sun/star/sheet/XSheetAnnotationsSupplier.idl>
#endif

#ifndef __com_sun_star_drawing_XDrawPageSupplier_idl__
#include <com/sun/star/drawing/XDrawPageSupplier.idl>
#endif

#ifndef __com_sun_star_table_XTableChartsSupplier_idl__
#include <com/sun/star/table/XTableChartsSupplier.idl>
#endif

#ifndef __com_sun_star_sheet_XCellRangeMovement_idl__
#include <com/sun/star/sheet/XCellRangeMovement.idl>
#endif

#ifndef __com_sun_star_sheet_XPrintAreas_idl__
#include <com/sun/star/sheet/XPrintAreas.idl>
#endif

#ifndef __com_sun_star_sheet_XSheetPageBreak_idl__
#include <com/sun/star/sheet/XSheetPageBreak.idl>
#endif

#ifndef __com_sun_star_sheet_XScenario_idl__
#include <com/sun/star/sheet/XScenario.idl>
#endif

#ifndef __com_sun_star_sheet_XSheetOutline_idl__
#include <com/sun/star/sheet/XSheetOutline.idl>
#endif

#ifndef __com_sun_star_sheet_XSheetAuditing_idl__
#include <com/sun/star/sheet/XSheetAuditing.idl>
#endif

#ifndef __com_sun_star_sheet_XSheetLinkable_idl__
#include <com/sun/star/sheet/XSheetLinkable.idl>
#endif

//=============================================================================

module com {  module sun {  module star {  module sheet {

//=============================================================================

/** represents a complete spreadsheet in a spreadsheet document.

	<p>This service extents the service SheetCellRange. A spreadsheet is
	nothing else than a cell range with extended functionality.</p>

	@see com::sun::star::sheet::SpreadsheetDocument
 */
service Spreadsheet
{
	//-------------------------------------------------------------------------

	/** provides functionality for cell range handling.
	 */
	service com::sun::star::sheet::SheetCellRange;

	//=========================================================================

	/** provides methods to create a cell cursor.
	 */
	interface com::sun::star::sheet::XSpreadsheet;

	//-------------------------------------------------------------------------

	/** provides accessing the spreadsheet name.
	 */
	interface com::sun::star::container::XNamed;

	//-------------------------------------------------------------------------

	/** provides methods to protect and unprotect the sheet contents.
	 */
	interface com::sun::star::util::XProtectable;

	//-------------------------------------------------------------------------

	/** provides access to the collection of DataPilot tables.
	 */
	interface com::sun::star::sheet::XDataPilotTablesSupplier;

	//-------------------------------------------------------------------------

	/** provides access to the collection of scenarios.
	 */
	interface com::sun::star::sheet::XScenariosSupplier;

	//-------------------------------------------------------------------------

	/** provides access to the collection of annotations.
	 */
	interface com::sun::star::sheet::XSheetAnnotationsSupplier;

	//-------------------------------------------------------------------------

	/** provides access to the draw page of this spreadsheet.
	 */
	interface com::sun::star::drawing::XDrawPageSupplier;

	//-------------------------------------------------------------------------

	/** provides access to the collection of chart objects.
	 */
	interface com::sun::star::table::XTableChartsSupplier;

	//-------------------------------------------------------------------------

	/** provides methods to move cell ranges inside the spreadsheet or to
		other spreadsheets in this document.
	 */
	interface com::sun::star::sheet::XCellRangeMovement;

	//-------------------------------------------------------------------------

	/** provides access to the print area settings of this sheet.
	 */
	interface com::sun::star::sheet::XPrintAreas;

	//-------------------------------------------------------------------------

	/** provides access to the page breaks of this sheet.
	 */
	interface com::sun::star::sheet::XSheetPageBreak;

	//-------------------------------------------------------------------------

	/** provides methods for a scenario sheet.
	 */
	interface com::sun::star::sheet::XScenario;

	//-------------------------------------------------------------------------

	/** provides access to row and column outline settings.
	 */
	interface com::sun::star::sheet::XSheetOutline;

	//-------------------------------------------------------------------------

	/** provides access to the auditing (detective) functionality.
	 */
	interface com::sun::star::sheet::XSheetAuditing;

	//-------------------------------------------------------------------------

	/** provides methods for a linked sheet.
	 */
	interface com::sun::star::sheet::XSheetLinkable;

	//=========================================================================

	/** specifies if the sheet is visible.
	 */
	[readonly, property] boolean IsVisible;

	//-------------------------------------------------------------------------

	/** specifies the page style of the sheet.
	 */
	[readonly, property] string PageStyle;

};

//=============================================================================

}; }; }; };

#endif

