1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#ifndef __com_sun_star_sheet_TablePageStyle_idl__ 29#define __com_sun_star_sheet_TablePageStyle_idl__ 30 31#ifndef __com_sun_star_style_PageStyle_idl__ 32#include <com/sun/star/style/PageStyle.idl> 33#endif 34 35#ifndef __com_sun_star_sheet_XHeaderFooterContent_idl__ 36#include <com/sun/star/sheet/XHeaderFooterContent.idl> 37#endif 38 39//============================================================================= 40 41 module com { module sun { module star { module sheet { 42 43//============================================================================= 44 45/** represents a page style for a spreadsheet. 46 47 <p>This service extends the service 48 <type scope="com::sun::star::style">PageStyle</type> with spreadsheet 49 specific properties.</p> 50 */ 51published service TablePageStyle 52{ 53 //------------------------------------------------------------------------- 54 55 /** contains all common page style properties. 56 */ 57 service com::sun::star::style::PageStyle; 58 59 //========================================================================= 60 61 /** determines whether the table is centered horizontally on the page. 62 */ 63 [property] boolean CenterHorizontally; 64 65 //------------------------------------------------------------------------- 66 67 /** determines whether the table is centered vertically on the page. 68 */ 69 [property] boolean CenterVertically; 70 71 //------------------------------------------------------------------------- 72 73 /** enables printing of cell annotations. 74 */ 75 [property] boolean PrintAnnotations; 76 77 //------------------------------------------------------------------------- 78 79 /** enables printing of the cell grid. 80 */ 81 [property] boolean PrintGrid; 82 83 //------------------------------------------------------------------------- 84 85 /** enables printing of column and row headers. 86 */ 87 [property] boolean PrintHeaders; 88 89 //------------------------------------------------------------------------- 90 91 /** enables printing of charts. 92 */ 93 [property] boolean PrintCharts; 94 95 //------------------------------------------------------------------------- 96 97 /** enables printing of embedded objects. 98 */ 99 [property] boolean PrintObjects; 100 101 //------------------------------------------------------------------------- 102 103 /** enables printing of drawing objects. 104 */ 105 [property] boolean PrintDrawing; 106 107 //------------------------------------------------------------------------- 108 109 /** enables printing of formulas instead of their results. 110 */ 111 [property] boolean PrintFormulas; 112 113 //------------------------------------------------------------------------- 114 115 /** enables printing of zero-values. 116 */ 117 [property] boolean PrintZeroValues; 118 119 //------------------------------------------------------------------------- 120 121 /** specifies the print order for the pages within each sheet. 122 123 <p>If <TRUE/>, the order for printing pages begins with 124 top-to-bottom, then continues with the next set of cell columns 125 to the right. If <FALSE/>, the order for printing pages begins 126 with left-to-right, then continues with the next set of cell 127 rows to the bottom.</p> 128 */ 129 [property] boolean PrintDownFirst; 130 131 //------------------------------------------------------------------------- 132 133 /** contains the content of the header for left pages. 134 135 <p>After changing the header text contents, this property has to be 136 reinserted into the property set.</p> 137 138 @see com::sun::star::sheet::HeaderFooterContent 139 */ 140 [property] com::sun::star::sheet::XHeaderFooterContent LeftPageHeaderContent; 141 142 //------------------------------------------------------------------------- 143 144 /** contains the content of the footer for left pages. 145 146 <p>After changing the footer text contents, this property has to be 147 reinserted into the property set.</p> 148 149 @see com::sun::star::sheet::HeaderFooterContent 150 */ 151 [property] com::sun::star::sheet::XHeaderFooterContent LeftPageFooterContent; 152 153 //------------------------------------------------------------------------- 154 155 /** contains the content of the header for right pages. 156 157 <p>After changing the header text contents, this property has to be 158 reinserted into the property set.</p> 159 160 @see com::sun::star::sheet::HeaderFooterContent 161 */ 162 [property] com::sun::star::sheet::XHeaderFooterContent RightPageHeaderContent; 163 164 //------------------------------------------------------------------------- 165 166 /** contains the content of the footer for right pages. 167 168 <p>After changing the footer text contents, this property has to be 169 reinserted into the property set.</p> 170 171 @see com::sun::star::sheet::HeaderFooterContent 172 */ 173 [property] com::sun::star::sheet::XHeaderFooterContent RightPageFooterContent; 174 175 //------------------------------------------------------------------------- 176 177 /** contains the page number applied to the first page for this sheet. 178 179 <p>The value 0 indicates that the page numbers are continued from 180 the previous sheet.</p> 181 */ 182 [property] short FirstPageNumber; 183 184 //------------------------------------------------------------------------- 185 186 /** contains the scaling factor (in percent) for printing the sheet. 187 */ 188 [property] short PageScale; 189 190 //------------------------------------------------------------------------- 191 192 /** contains the number of pages the sheet will printed. 193 */ 194 [property] short ScaleToPages; 195 196 //------------------------------------------------------------------------- 197 198 /** contains the number of horizontal pages the sheet will printed on. 199 200 @since OOo 2.0 201 202 */ 203 [property, optional] short ScaleToPagesX; 204 205 //------------------------------------------------------------------------- 206 207 /** contains the number of vertical pages the sheet will printed on. 208 209 @since OOo 2.0 210 211 */ 212 [property, optional] short ScaleToPagesY; 213 214}; 215 216//============================================================================= 217 218}; }; }; }; 219 220#endif 221 222