/************************************************************************* * * $RCSfile: SpreadsheetDocument.idl,v $ * * $Revision: 1.7 $ * * last change: $Author: obo $ $Date: 2004-06-03 22:49:39 $ * * 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_SpreadsheetDocument_idl__ #define __com_sun_star_sheet_SpreadsheetDocument_idl__ #ifndef __com_sun_star_document_OfficeDocument_idl__ #include #endif #ifndef __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__ #include #endif #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ #include #endif #ifndef __com_sun_star_frame_XModel_idl__ #include #endif #ifndef __com_sun_star_document_XActionLockable_idl__ #include #endif #ifndef __com_sun_star_document_XLinkTargetSupplier_idl__ #include #endif #ifndef __com_sun_star_util_XProtectable_idl__ #include #endif #ifndef __com_sun_star_sheet_XSpreadsheetDocument_idl__ #include #endif #ifndef __com_sun_star_sheet_XCalculatable_idl__ #include #endif #ifndef __com_sun_star_sheet_XDocumentAuditing_idl__ #include #endif #ifndef __com_sun_star_sheet_XConsolidatable_idl__ #include #endif #ifndef __com_sun_star_sheet_XGoalSeek_idl__ #include #endif #ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__ #include #endif #ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__ #include #endif #ifndef __com_sun_star_util_XNumberFormatsSupplier_idl__ #include #endif #ifndef __com_sun_star_sheet_XNamedRanges_idl__ #include #endif #ifndef __com_sun_star_sheet_XDatabaseRanges_idl__ #include #endif #ifndef __com_sun_star_sheet_XLabelRanges_idl__ #include #endif #ifndef __com_sun_star_container_XNameAccess_idl__ #include #endif #ifndef __com_sun_star_sheet_XAreaLinks_idl__ #include #endif //============================================================================= module com { module sun { module star { module sheet { //============================================================================= /** represents a model component which consists of some settings and one or more spreadsheets. */ published service SpreadsheetDocument { //------------------------------------------------------------------------- /** common service for all types of documents. */ service com::sun::star::document::OfficeDocument; //------------------------------------------------------------------------- /** contributes spreadsheet document specific properties. @deprecated */ [optional] service com::sun::star::sheet::SpreadsheetDocumentSettings; //========================================================================= /** provides methods to create instances of several spreadsheet services. */ interface com::sun::star::lang::XMultiServiceFactory; //------------------------------------------------------------------------- /** provides common methods for a document model.

This interface is derived from XComponent.

*/ interface com::sun::star::frame::XModel; //------------------------------------------------------------------------- /** provides methods to control the automatic update of cell contents. */ interface com::sun::star::document::XActionLockable; //------------------------------------------------------------------------- /** provides access to the collection of link targets available in the document. */ interface com::sun::star::document::XLinkTargetSupplier; //------------------------------------------------------------------------- /** provides methods to protect and unprotect the document. */ interface com::sun::star::util::XProtectable; //------------------------------------------------------------------------- /** provides access to the collection of spreadsheets. */ interface com::sun::star::sheet::XSpreadsheetDocument; //------------------------------------------------------------------------- /** controls the recalculation settings of the document. */ interface com::sun::star::sheet::XCalculatable; //------------------------------------------------------------------------- /** provides a method to refresh all auditing arrows. */ interface com::sun::star::sheet::XDocumentAuditing; //------------------------------------------------------------------------- /** provides methods to perform a data consolidation. */ interface com::sun::star::sheet::XConsolidatable; //------------------------------------------------------------------------- /** provides a method to perform a goal seek. */ interface com::sun::star::sheet::XGoalSeek; //------------------------------------------------------------------------- /** provides access to the collection of draw pages of this document. */ interface com::sun::star::drawing::XDrawPagesSupplier; //------------------------------------------------------------------------- /** provides access to the collection of style families.

A spreadsheet document contains 2 families of styles: "PageStyles" and "CellStyles".

*/ interface com::sun::star::style::XStyleFamiliesSupplier; //------------------------------------------------------------------------- /** provides access to the collection of number formats contained in the document. */ interface com::sun::star::util::XNumberFormatsSupplier; //========================================================================= /** contains the collection of named ranges in the document. */ [readonly, property] com::sun::star::sheet::XNamedRanges NamedRanges; //------------------------------------------------------------------------- /** contains the collection of database ranges in the document. */ [readonly, property] com::sun::star::sheet::XDatabaseRanges DatabaseRanges; //------------------------------------------------------------------------- /** contains the collection of column label ranges in the document. */ [readonly, property] com::sun::star::sheet::XLabelRanges ColumnLabelRanges; //------------------------------------------------------------------------- /** contains the collection of row label ranges in the document. */ [readonly, property] com::sun::star::sheet::XLabelRanges RowLabelRanges; //------------------------------------------------------------------------- /** contains the collection of sheet links in the document. */ [readonly, property] com::sun::star::container::XNameAccess SheetLinks; //------------------------------------------------------------------------- /** contains the collection of area links in the document. */ [readonly, property] com::sun::star::sheet::XAreaLinks AreaLinks; //------------------------------------------------------------------------- /** contains the collection of DDE links in the document. */ [readonly, property] com::sun::star::container::XNameAccess DDELinks; }; //============================================================================= }; }; }; }; #endif