1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_Spreadsheet_idl__ 29*cdf0e10cSrcweir#define __com_sun_star_sheet_Spreadsheet_idl__ 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SheetCellRange_idl__ 32*cdf0e10cSrcweir#include <com/sun/star/sheet/SheetCellRange.idl> 33*cdf0e10cSrcweir#endif 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSpreadsheet_idl__ 36*cdf0e10cSrcweir#include <com/sun/star/sheet/XSpreadsheet.idl> 37*cdf0e10cSrcweir#endif 38*cdf0e10cSrcweir 39*cdf0e10cSrcweir#ifndef __com_sun_star_container_XNamed_idl__ 40*cdf0e10cSrcweir#include <com/sun/star/container/XNamed.idl> 41*cdf0e10cSrcweir#endif 42*cdf0e10cSrcweir 43*cdf0e10cSrcweir#ifndef __com_sun_star_util_XProtectable_idl__ 44*cdf0e10cSrcweir#include <com/sun/star/util/XProtectable.idl> 45*cdf0e10cSrcweir#endif 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XDataPilotTablesSupplier_idl__ 48*cdf0e10cSrcweir#include <com/sun/star/sheet/XDataPilotTablesSupplier.idl> 49*cdf0e10cSrcweir#endif 50*cdf0e10cSrcweir 51*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XScenariosSupplier_idl__ 52*cdf0e10cSrcweir#include <com/sun/star/sheet/XScenariosSupplier.idl> 53*cdf0e10cSrcweir#endif 54*cdf0e10cSrcweir 55*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetAnnotationsSupplier_idl__ 56*cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetAnnotationsSupplier.idl> 57*cdf0e10cSrcweir#endif 58*cdf0e10cSrcweir 59*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_XDrawPageSupplier_idl__ 60*cdf0e10cSrcweir#include <com/sun/star/drawing/XDrawPageSupplier.idl> 61*cdf0e10cSrcweir#endif 62*cdf0e10cSrcweir 63*cdf0e10cSrcweir#ifndef __com_sun_star_table_XTableChartsSupplier_idl__ 64*cdf0e10cSrcweir#include <com/sun/star/table/XTableChartsSupplier.idl> 65*cdf0e10cSrcweir#endif 66*cdf0e10cSrcweir 67*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XCellRangeMovement_idl__ 68*cdf0e10cSrcweir#include <com/sun/star/sheet/XCellRangeMovement.idl> 69*cdf0e10cSrcweir#endif 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XPrintAreas_idl__ 72*cdf0e10cSrcweir#include <com/sun/star/sheet/XPrintAreas.idl> 73*cdf0e10cSrcweir#endif 74*cdf0e10cSrcweir 75*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetPageBreak_idl__ 76*cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetPageBreak.idl> 77*cdf0e10cSrcweir#endif 78*cdf0e10cSrcweir 79*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetOutline_idl__ 80*cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetOutline.idl> 81*cdf0e10cSrcweir#endif 82*cdf0e10cSrcweir 83*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetAuditing_idl__ 84*cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetAuditing.idl> 85*cdf0e10cSrcweir#endif 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetLinkable_idl__ 88*cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetLinkable.idl> 89*cdf0e10cSrcweir#endif 90*cdf0e10cSrcweir 91*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_Scenario_idl__ 92*cdf0e10cSrcweir#include <com/sun/star/sheet/Scenario.idl> 93*cdf0e10cSrcweir#endif 94*cdf0e10cSrcweir 95*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XExternalSheetName_idl__ 96*cdf0e10cSrcweir#include <com/sun/star/sheet/XExternalSheetName.idl> 97*cdf0e10cSrcweir#endif 98*cdf0e10cSrcweir 99*cdf0e10cSrcweir#include <com/sun/star/util/Color.idl> 100*cdf0e10cSrcweir 101*cdf0e10cSrcweir//============================================================================= 102*cdf0e10cSrcweir 103*cdf0e10cSrcweirmodule com { module sun { module star { module sheet { 104*cdf0e10cSrcweir 105*cdf0e10cSrcweir//============================================================================= 106*cdf0e10cSrcweir 107*cdf0e10cSrcweir/** represents a complete spreadsheet in a spreadsheet document. 108*cdf0e10cSrcweir 109*cdf0e10cSrcweir <p>This service extents the service SheetCellRange. A spreadsheet is 110*cdf0e10cSrcweir nothing else than a cell range with extended functionality.</p> 111*cdf0e10cSrcweir 112*cdf0e10cSrcweir @see com::sun::star::sheet::SpreadsheetDocument 113*cdf0e10cSrcweir */ 114*cdf0e10cSrcweirservice Spreadsheet 115*cdf0e10cSrcweir{ 116*cdf0e10cSrcweir //------------------------------------------------------------------------- 117*cdf0e10cSrcweir 118*cdf0e10cSrcweir /** provides functionality for cell range handling. 119*cdf0e10cSrcweir */ 120*cdf0e10cSrcweir service com::sun::star::sheet::SheetCellRange; 121*cdf0e10cSrcweir 122*cdf0e10cSrcweir //========================================================================= 123*cdf0e10cSrcweir 124*cdf0e10cSrcweir service com::sun::star::sheet::Scenario; 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir //========================================================================= 127*cdf0e10cSrcweir 128*cdf0e10cSrcweir /** provides methods to create a cell cursor. 129*cdf0e10cSrcweir */ 130*cdf0e10cSrcweir interface com::sun::star::sheet::XSpreadsheet; 131*cdf0e10cSrcweir 132*cdf0e10cSrcweir //------------------------------------------------------------------------- 133*cdf0e10cSrcweir 134*cdf0e10cSrcweir /** provides accessing the spreadsheet name. 135*cdf0e10cSrcweir */ 136*cdf0e10cSrcweir interface com::sun::star::container::XNamed; 137*cdf0e10cSrcweir 138*cdf0e10cSrcweir //------------------------------------------------------------------------- 139*cdf0e10cSrcweir 140*cdf0e10cSrcweir /** provides methods to protect and unprotect the sheet contents. 141*cdf0e10cSrcweir */ 142*cdf0e10cSrcweir interface com::sun::star::util::XProtectable; 143*cdf0e10cSrcweir 144*cdf0e10cSrcweir //------------------------------------------------------------------------- 145*cdf0e10cSrcweir 146*cdf0e10cSrcweir /** provides access to the collection of DataPilot tables. 147*cdf0e10cSrcweir */ 148*cdf0e10cSrcweir interface com::sun::star::sheet::XDataPilotTablesSupplier; 149*cdf0e10cSrcweir 150*cdf0e10cSrcweir //------------------------------------------------------------------------- 151*cdf0e10cSrcweir 152*cdf0e10cSrcweir /** provides access to the collection of scenarios. 153*cdf0e10cSrcweir */ 154*cdf0e10cSrcweir interface com::sun::star::sheet::XScenariosSupplier; 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir //------------------------------------------------------------------------- 157*cdf0e10cSrcweir 158*cdf0e10cSrcweir /** provides access to the collection of annotations. 159*cdf0e10cSrcweir */ 160*cdf0e10cSrcweir interface com::sun::star::sheet::XSheetAnnotationsSupplier; 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir //------------------------------------------------------------------------- 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir /** provides access to the draw page of this spreadsheet. 165*cdf0e10cSrcweir */ 166*cdf0e10cSrcweir interface com::sun::star::drawing::XDrawPageSupplier; 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir //------------------------------------------------------------------------- 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir /** provides access to the collection of chart objects. 171*cdf0e10cSrcweir */ 172*cdf0e10cSrcweir interface com::sun::star::table::XTableChartsSupplier; 173*cdf0e10cSrcweir 174*cdf0e10cSrcweir //------------------------------------------------------------------------- 175*cdf0e10cSrcweir 176*cdf0e10cSrcweir /** provides methods to move cell ranges inside the spreadsheet or to 177*cdf0e10cSrcweir other spreadsheets in this document. 178*cdf0e10cSrcweir */ 179*cdf0e10cSrcweir interface com::sun::star::sheet::XCellRangeMovement; 180*cdf0e10cSrcweir 181*cdf0e10cSrcweir //------------------------------------------------------------------------- 182*cdf0e10cSrcweir 183*cdf0e10cSrcweir /** provides access to the print area settings of this sheet. 184*cdf0e10cSrcweir */ 185*cdf0e10cSrcweir interface com::sun::star::sheet::XPrintAreas; 186*cdf0e10cSrcweir 187*cdf0e10cSrcweir //------------------------------------------------------------------------- 188*cdf0e10cSrcweir 189*cdf0e10cSrcweir /** provides access to the page breaks of this sheet. 190*cdf0e10cSrcweir */ 191*cdf0e10cSrcweir interface com::sun::star::sheet::XSheetPageBreak; 192*cdf0e10cSrcweir 193*cdf0e10cSrcweir //------------------------------------------------------------------------- 194*cdf0e10cSrcweir 195*cdf0e10cSrcweir /** provides access to row and column outline settings. 196*cdf0e10cSrcweir */ 197*cdf0e10cSrcweir interface com::sun::star::sheet::XSheetOutline; 198*cdf0e10cSrcweir 199*cdf0e10cSrcweir //------------------------------------------------------------------------- 200*cdf0e10cSrcweir 201*cdf0e10cSrcweir /** provides access to the auditing (detective) functionality. 202*cdf0e10cSrcweir */ 203*cdf0e10cSrcweir interface com::sun::star::sheet::XSheetAuditing; 204*cdf0e10cSrcweir 205*cdf0e10cSrcweir //------------------------------------------------------------------------- 206*cdf0e10cSrcweir 207*cdf0e10cSrcweir /** provides methods for a linked sheet. 208*cdf0e10cSrcweir */ 209*cdf0e10cSrcweir interface com::sun::star::sheet::XSheetLinkable; 210*cdf0e10cSrcweir 211*cdf0e10cSrcweir //------------------------------------------------------------------------- 212*cdf0e10cSrcweir 213*cdf0e10cSrcweir /** provides a method to set an external name at the sheet. 214*cdf0e10cSrcweir 215*cdf0e10cSrcweir @since OOo 3.0 216*cdf0e10cSrcweir */ 217*cdf0e10cSrcweir [optional] interface com::sun::star::sheet::XExternalSheetName; 218*cdf0e10cSrcweir 219*cdf0e10cSrcweir //========================================================================= 220*cdf0e10cSrcweir 221*cdf0e10cSrcweir /** specifies if the sheet is visible. 222*cdf0e10cSrcweir */ 223*cdf0e10cSrcweir [property] boolean IsVisible; 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir //------------------------------------------------------------------------- 226*cdf0e10cSrcweir 227*cdf0e10cSrcweir /** specifies the page style of the sheet. 228*cdf0e10cSrcweir */ 229*cdf0e10cSrcweir [property] string PageStyle; 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir //------------------------------------------------------------------------- 232*cdf0e10cSrcweir 233*cdf0e10cSrcweir /** specifies the direction of the columns in the spreadsheet. 234*cdf0e10cSrcweir 235*cdf0e10cSrcweir <p>Possible values are com::sun::star::text::WritingMode2::LR_TB to 236*cdf0e10cSrcweir order the columns from left to right, and 237*cdf0e10cSrcweir com::sun::star::text::WritingMode2::RL_TB to order the columns from 238*cdf0e10cSrcweir right to left.</p> 239*cdf0e10cSrcweir 240*cdf0e10cSrcweir @see com::sun::star::text::WritingMode2 241*cdf0e10cSrcweir */ 242*cdf0e10cSrcweir [optional, property] short TableLayout; 243*cdf0e10cSrcweir 244*cdf0e10cSrcweir //------------------------------------------------------------------------- 245*cdf0e10cSrcweir 246*cdf0e10cSrcweir /** specifies whether the sheet has an automatic print area. 247*cdf0e10cSrcweir 248*cdf0e10cSrcweir <p> The automatic print area is used to print a sheet without 249*cdf0e10cSrcweir explicit print areas, also if other sheets have print areas.</p> 250*cdf0e10cSrcweir 251*cdf0e10cSrcweir <p> If the property is true, and there are print areas on other sheets, 252*cdf0e10cSrcweir the used area of this sheet is also printed.</p> 253*cdf0e10cSrcweir 254*cdf0e10cSrcweir <p> If the property is false, and there are print areas on other sheets, 255*cdf0e10cSrcweir only these specified print areas are printed.</p> 256*cdf0e10cSrcweir 257*cdf0e10cSrcweir <p> If there are no print areas on the other sheets it does not matter 258*cdf0e10cSrcweir whether property is true or false.</p> 259*cdf0e10cSrcweir 260*cdf0e10cSrcweir <p> This property can only be true, if there are no print areas given 261*cdf0e10cSrcweir on this sheet. If the property is set to true the print areas of 262*cdf0e10cSrcweir this sheet will be removed.</p> 263*cdf0e10cSrcweir 264*cdf0e10cSrcweir @see XPrintAreas 265*cdf0e10cSrcweir 266*cdf0e10cSrcweir */ 267*cdf0e10cSrcweir [optional, property] boolean AutomaticPrintArea; 268*cdf0e10cSrcweir 269*cdf0e10cSrcweir /** specifies the color of the sheet tab, if any. 270*cdf0e10cSrcweir */ 271*cdf0e10cSrcweir [optional, property] com::sun::star::util::Color TabColor; 272*cdf0e10cSrcweir}; 273*cdf0e10cSrcweir 274*cdf0e10cSrcweir//============================================================================= 275*cdf0e10cSrcweir 276*cdf0e10cSrcweir}; }; }; }; 277*cdf0e10cSrcweir 278*cdf0e10cSrcweir#endif 279*cdf0e10cSrcweir 280