1*d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*d1766043SAndrew Rist * distributed with this work for additional information 6*d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9*d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10*d1766043SAndrew Rist * 11*d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*d1766043SAndrew Rist * 13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*d1766043SAndrew Rist * software distributed under the License is distributed on an 15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17*d1766043SAndrew Rist * specific language governing permissions and limitations 18*d1766043SAndrew Rist * under the License. 19*d1766043SAndrew Rist * 20*d1766043SAndrew Rist *************************************************************/ 21*d1766043SAndrew Rist 22*d1766043SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SpreadsheetDocument_idl__ 25cdf0e10cSrcweir#define __com_sun_star_sheet_SpreadsheetDocument_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#ifndef __com_sun_star_document_OfficeDocument_idl__ 28cdf0e10cSrcweir#include <com/sun/star/document/OfficeDocument.idl> 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__ 32cdf0e10cSrcweir#include <com/sun/star/sheet/SpreadsheetDocumentSettings.idl> 33cdf0e10cSrcweir#endif 34cdf0e10cSrcweir 35cdf0e10cSrcweir 36cdf0e10cSrcweir#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ 37cdf0e10cSrcweir#include <com/sun/star/lang/XMultiServiceFactory.idl> 38cdf0e10cSrcweir#endif 39cdf0e10cSrcweir 40cdf0e10cSrcweir#ifndef __com_sun_star_frame_XModel_idl__ 41cdf0e10cSrcweir#include <com/sun/star/frame/XModel.idl> 42cdf0e10cSrcweir#endif 43cdf0e10cSrcweir 44cdf0e10cSrcweir#ifndef __com_sun_star_document_XActionLockable_idl__ 45cdf0e10cSrcweir#include <com/sun/star/document/XActionLockable.idl> 46cdf0e10cSrcweir#endif 47cdf0e10cSrcweir 48cdf0e10cSrcweir#ifndef __com_sun_star_document_XLinkTargetSupplier_idl__ 49cdf0e10cSrcweir#include <com/sun/star/document/XLinkTargetSupplier.idl> 50cdf0e10cSrcweir#endif 51cdf0e10cSrcweir 52cdf0e10cSrcweir#ifndef __com_sun_star_util_XProtectable_idl__ 53cdf0e10cSrcweir#include <com/sun/star/util/XProtectable.idl> 54cdf0e10cSrcweir#endif 55cdf0e10cSrcweir 56cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSpreadsheetDocument_idl__ 57cdf0e10cSrcweir#include <com/sun/star/sheet/XSpreadsheetDocument.idl> 58cdf0e10cSrcweir#endif 59cdf0e10cSrcweir 60cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XCalculatable_idl__ 61cdf0e10cSrcweir#include <com/sun/star/sheet/XCalculatable.idl> 62cdf0e10cSrcweir#endif 63cdf0e10cSrcweir 64cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XDocumentAuditing_idl__ 65cdf0e10cSrcweir#include <com/sun/star/sheet/XDocumentAuditing.idl> 66cdf0e10cSrcweir#endif 67cdf0e10cSrcweir 68cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XConsolidatable_idl__ 69cdf0e10cSrcweir#include <com/sun/star/sheet/XConsolidatable.idl> 70cdf0e10cSrcweir#endif 71cdf0e10cSrcweir 72cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XGoalSeek_idl__ 73cdf0e10cSrcweir#include <com/sun/star/sheet/XGoalSeek.idl> 74cdf0e10cSrcweir#endif 75cdf0e10cSrcweir 76cdf0e10cSrcweir#ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__ 77cdf0e10cSrcweir#include <com/sun/star/drawing/XDrawPagesSupplier.idl> 78cdf0e10cSrcweir#endif 79cdf0e10cSrcweir 80cdf0e10cSrcweir#ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__ 81cdf0e10cSrcweir#include <com/sun/star/style/XStyleFamiliesSupplier.idl> 82cdf0e10cSrcweir#endif 83cdf0e10cSrcweir 84cdf0e10cSrcweir#ifndef __com_sun_star_util_XNumberFormatsSupplier_idl__ 85cdf0e10cSrcweir#include <com/sun/star/util/XNumberFormatsSupplier.idl> 86cdf0e10cSrcweir#endif 87cdf0e10cSrcweir 88cdf0e10cSrcweir 89cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XNamedRanges_idl__ 90cdf0e10cSrcweir#include <com/sun/star/sheet/XNamedRanges.idl> 91cdf0e10cSrcweir#endif 92cdf0e10cSrcweir 93cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XDatabaseRanges_idl__ 94cdf0e10cSrcweir#include <com/sun/star/sheet/XDatabaseRanges.idl> 95cdf0e10cSrcweir#endif 96cdf0e10cSrcweir 97cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XLabelRanges_idl__ 98cdf0e10cSrcweir#include <com/sun/star/sheet/XLabelRanges.idl> 99cdf0e10cSrcweir#endif 100cdf0e10cSrcweir 101cdf0e10cSrcweir#ifndef __com_sun_star_container_XNameAccess_idl__ 102cdf0e10cSrcweir#include <com/sun/star/container/XNameAccess.idl> 103cdf0e10cSrcweir#endif 104cdf0e10cSrcweir 105cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XAreaLinks_idl__ 106cdf0e10cSrcweir#include <com/sun/star/sheet/XAreaLinks.idl> 107cdf0e10cSrcweir#endif 108cdf0e10cSrcweir 109cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XExternalDocLinks_idl__ 110cdf0e10cSrcweir#include <com/sun/star/sheet/XExternalDocLinks.idl> 111cdf0e10cSrcweir#endif 112cdf0e10cSrcweir 113cdf0e10cSrcweir//============================================================================= 114cdf0e10cSrcweir 115cdf0e10cSrcweirmodule com { module sun { module star { module sheet { 116cdf0e10cSrcweir 117cdf0e10cSrcweir//============================================================================= 118cdf0e10cSrcweir 119cdf0e10cSrcweir/** represents a model component which consists of some settings and 120cdf0e10cSrcweir one or more spreadsheets. 121cdf0e10cSrcweir */ 122cdf0e10cSrcweirpublished service SpreadsheetDocument 123cdf0e10cSrcweir{ 124cdf0e10cSrcweir //------------------------------------------------------------------------- 125cdf0e10cSrcweir 126cdf0e10cSrcweir /** common service for all types of documents. 127cdf0e10cSrcweir */ 128cdf0e10cSrcweir service com::sun::star::document::OfficeDocument; 129cdf0e10cSrcweir 130cdf0e10cSrcweir //------------------------------------------------------------------------- 131cdf0e10cSrcweir 132cdf0e10cSrcweir /** contributes spreadsheet document specific properties. 133cdf0e10cSrcweir 134cdf0e10cSrcweir @deprecated 135cdf0e10cSrcweir */ 136cdf0e10cSrcweir [optional] service com::sun::star::sheet::SpreadsheetDocumentSettings; 137cdf0e10cSrcweir 138cdf0e10cSrcweir //========================================================================= 139cdf0e10cSrcweir 140cdf0e10cSrcweir /** provides methods to create instances of several spreadsheet 141cdf0e10cSrcweir services. 142cdf0e10cSrcweir */ 143cdf0e10cSrcweir interface com::sun::star::lang::XMultiServiceFactory; 144cdf0e10cSrcweir 145cdf0e10cSrcweir //------------------------------------------------------------------------- 146cdf0e10cSrcweir 147cdf0e10cSrcweir /** provides common methods for a document model. 148cdf0e10cSrcweir 149cdf0e10cSrcweir <p>This interface is derived from 150cdf0e10cSrcweir <type scope="com::sun::star::lang">XComponent</type>.</p> 151cdf0e10cSrcweir */ 152cdf0e10cSrcweir interface com::sun::star::frame::XModel; 153cdf0e10cSrcweir 154cdf0e10cSrcweir //------------------------------------------------------------------------- 155cdf0e10cSrcweir 156cdf0e10cSrcweir /** provides methods to control the automatic update of cell contents. 157cdf0e10cSrcweir */ 158cdf0e10cSrcweir interface com::sun::star::document::XActionLockable; 159cdf0e10cSrcweir 160cdf0e10cSrcweir //------------------------------------------------------------------------- 161cdf0e10cSrcweir 162cdf0e10cSrcweir /** provides access to the collection of link targets available in 163cdf0e10cSrcweir the document. 164cdf0e10cSrcweir */ 165cdf0e10cSrcweir interface com::sun::star::document::XLinkTargetSupplier; 166cdf0e10cSrcweir 167cdf0e10cSrcweir //------------------------------------------------------------------------- 168cdf0e10cSrcweir 169cdf0e10cSrcweir /** provides methods to protect and unprotect the document. 170cdf0e10cSrcweir */ 171cdf0e10cSrcweir interface com::sun::star::util::XProtectable; 172cdf0e10cSrcweir 173cdf0e10cSrcweir //------------------------------------------------------------------------- 174cdf0e10cSrcweir 175cdf0e10cSrcweir /** provides access to the collection of spreadsheets. 176cdf0e10cSrcweir */ 177cdf0e10cSrcweir interface com::sun::star::sheet::XSpreadsheetDocument; 178cdf0e10cSrcweir 179cdf0e10cSrcweir //------------------------------------------------------------------------- 180cdf0e10cSrcweir 181cdf0e10cSrcweir /** controls the recalculation settings of the document. 182cdf0e10cSrcweir */ 183cdf0e10cSrcweir interface com::sun::star::sheet::XCalculatable; 184cdf0e10cSrcweir 185cdf0e10cSrcweir //------------------------------------------------------------------------- 186cdf0e10cSrcweir 187cdf0e10cSrcweir /** provides a method to refresh all auditing arrows. 188cdf0e10cSrcweir */ 189cdf0e10cSrcweir interface com::sun::star::sheet::XDocumentAuditing; 190cdf0e10cSrcweir 191cdf0e10cSrcweir //------------------------------------------------------------------------- 192cdf0e10cSrcweir 193cdf0e10cSrcweir /** provides methods to perform a data consolidation. 194cdf0e10cSrcweir */ 195cdf0e10cSrcweir interface com::sun::star::sheet::XConsolidatable; 196cdf0e10cSrcweir 197cdf0e10cSrcweir //------------------------------------------------------------------------- 198cdf0e10cSrcweir 199cdf0e10cSrcweir /** provides a method to perform a goal seek. 200cdf0e10cSrcweir */ 201cdf0e10cSrcweir interface com::sun::star::sheet::XGoalSeek; 202cdf0e10cSrcweir 203cdf0e10cSrcweir //------------------------------------------------------------------------- 204cdf0e10cSrcweir 205cdf0e10cSrcweir /** provides access to the collection of draw pages of this document. 206cdf0e10cSrcweir */ 207cdf0e10cSrcweir interface com::sun::star::drawing::XDrawPagesSupplier; 208cdf0e10cSrcweir 209cdf0e10cSrcweir //------------------------------------------------------------------------- 210cdf0e10cSrcweir 211cdf0e10cSrcweir /** provides access to the collection of style families. 212cdf0e10cSrcweir 213cdf0e10cSrcweir <p>A spreadsheet document contains 2 families of styles: 214cdf0e10cSrcweir "PageStyles" and "CellStyles".</p> 215cdf0e10cSrcweir */ 216cdf0e10cSrcweir interface com::sun::star::style::XStyleFamiliesSupplier; 217cdf0e10cSrcweir 218cdf0e10cSrcweir //------------------------------------------------------------------------- 219cdf0e10cSrcweir 220cdf0e10cSrcweir /** provides access to the collection of number formats contained in 221cdf0e10cSrcweir the document. 222cdf0e10cSrcweir */ 223cdf0e10cSrcweir interface com::sun::star::util::XNumberFormatsSupplier; 224cdf0e10cSrcweir 225cdf0e10cSrcweir //========================================================================= 226cdf0e10cSrcweir 227cdf0e10cSrcweir /** contains the collection of named ranges in the document. 228cdf0e10cSrcweir */ 229cdf0e10cSrcweir [readonly, property] com::sun::star::sheet::XNamedRanges NamedRanges; 230cdf0e10cSrcweir 231cdf0e10cSrcweir //------------------------------------------------------------------------- 232cdf0e10cSrcweir 233cdf0e10cSrcweir /** contains the collection of database ranges in the document. 234cdf0e10cSrcweir */ 235cdf0e10cSrcweir [readonly, property] com::sun::star::sheet::XDatabaseRanges DatabaseRanges; 236cdf0e10cSrcweir 237cdf0e10cSrcweir //------------------------------------------------------------------------- 238cdf0e10cSrcweir 239cdf0e10cSrcweir /** contains the collection of column label ranges in the document. 240cdf0e10cSrcweir */ 241cdf0e10cSrcweir [readonly, property] com::sun::star::sheet::XLabelRanges ColumnLabelRanges; 242cdf0e10cSrcweir 243cdf0e10cSrcweir //------------------------------------------------------------------------- 244cdf0e10cSrcweir 245cdf0e10cSrcweir /** contains the collection of row label ranges in the document. 246cdf0e10cSrcweir */ 247cdf0e10cSrcweir [readonly, property] com::sun::star::sheet::XLabelRanges RowLabelRanges; 248cdf0e10cSrcweir 249cdf0e10cSrcweir //------------------------------------------------------------------------- 250cdf0e10cSrcweir 251cdf0e10cSrcweir /** contains the collection of sheet links in the document. 252cdf0e10cSrcweir */ 253cdf0e10cSrcweir [readonly, property] com::sun::star::container::XNameAccess SheetLinks; 254cdf0e10cSrcweir 255cdf0e10cSrcweir //------------------------------------------------------------------------- 256cdf0e10cSrcweir 257cdf0e10cSrcweir /** contains the collection of area links in the document. 258cdf0e10cSrcweir */ 259cdf0e10cSrcweir [readonly, property] com::sun::star::sheet::XAreaLinks AreaLinks; 260cdf0e10cSrcweir 261cdf0e10cSrcweir //------------------------------------------------------------------------- 262cdf0e10cSrcweir 263cdf0e10cSrcweir /** contains the collection of DDE links in the document. 264cdf0e10cSrcweir */ 265cdf0e10cSrcweir [readonly, property] com::sun::star::container::XNameAccess DDELinks; 266cdf0e10cSrcweir 267cdf0e10cSrcweir //------------------------------------------------------------------------- 268cdf0e10cSrcweir 269cdf0e10cSrcweir#if 0 270cdf0e10cSrcweir /** contains the collection of external document links in the document. 271cdf0e10cSrcweir 272cdf0e10cSrcweir @since OOo 3.1 273cdf0e10cSrcweir */ 274cdf0e10cSrcweir [optional, readonly, property] com::sun::star::sheet::XExternalDocLinks ExternalDocLinks; 275cdf0e10cSrcweir#endif 276cdf0e10cSrcweir 277cdf0e10cSrcweir}; 278cdf0e10cSrcweir 279cdf0e10cSrcweir//============================================================================= 280cdf0e10cSrcweir 281cdf0e10cSrcweir}; }; }; }; 282cdf0e10cSrcweir 283cdf0e10cSrcweir#endif 284cdf0e10cSrcweir 285