1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TablePageStyle.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_sheet_TablePageStyle_idl__
32 #define __com_sun_star_sheet_TablePageStyle_idl__
34 #ifndef __com_sun_star_style_PageStyle_idl__
35 #include
<com
/sun
/star
/style
/PageStyle.idl
>
38 #ifndef __com_sun_star_sheet_XHeaderFooterContent_idl__
39 #include
<com
/sun
/star
/sheet
/XHeaderFooterContent.idl
>
42 //=============================================================================
44 module com
{ module sun
{ module star
{ module sheet
{
46 //=============================================================================
48 /** represents a page style for a spreadsheet.
50 <p>This service extends the service
51 <type scope="com::sun::star::style">PageStyle</type> with spreadsheet
52 specific properties.</p>
54 published service TablePageStyle
56 //-------------------------------------------------------------------------
58 /** contains all common page style properties.
60 service com
::sun
::star
::style
::PageStyle
;
62 //=========================================================================
64 /** determines whether the table is centered horizontally on the page.
66 [property
] boolean CenterHorizontally
;
68 //-------------------------------------------------------------------------
70 /** determines whether the table is centered vertically on the page.
72 [property
] boolean CenterVertically
;
74 //-------------------------------------------------------------------------
76 /** enables printing of cell annotations.
78 [property
] boolean PrintAnnotations
;
80 //-------------------------------------------------------------------------
82 /** enables printing of the cell grid.
84 [property
] boolean PrintGrid
;
86 //-------------------------------------------------------------------------
88 /** enables printing of column and row headers.
90 [property
] boolean PrintHeaders
;
92 //-------------------------------------------------------------------------
94 /** enables printing of charts.
96 [property
] boolean PrintCharts
;
98 //-------------------------------------------------------------------------
100 /** enables printing of embedded objects.
102 [property
] boolean PrintObjects
;
104 //-------------------------------------------------------------------------
106 /** enables printing of drawing objects.
108 [property
] boolean PrintDrawing
;
110 //-------------------------------------------------------------------------
112 /** enables printing of formulas instead of their results.
114 [property
] boolean PrintFormulas
;
116 //-------------------------------------------------------------------------
118 /** enables printing of zero-values.
120 [property
] boolean PrintZeroValues
;
122 //-------------------------------------------------------------------------
124 /** specifies the print order for the pages within each sheet.
126 <p>If <TRUE/>, the order for printing pages begins with
127 top-to-bottom, then continues with the next set of cell columns
128 to the right. If <FALSE/>, the order for printing pages begins
129 with left-to-right, then continues with the next set of cell
130 rows to the bottom.</p>
132 [property
] boolean PrintDownFirst
;
134 //-------------------------------------------------------------------------
136 /** contains the content of the header for left pages.
138 <p>After changing the header text contents, this property has to be
139 reinserted into the property set.</p>
141 @see com::sun::star::sheet::HeaderFooterContent
143 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent LeftPageHeaderContent
;
145 //-------------------------------------------------------------------------
147 /** contains the content of the footer for left pages.
149 <p>After changing the footer text contents, this property has to be
150 reinserted into the property set.</p>
152 @see com::sun::star::sheet::HeaderFooterContent
154 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent LeftPageFooterContent
;
156 //-------------------------------------------------------------------------
158 /** contains the content of the header for right pages.
160 <p>After changing the header text contents, this property has to be
161 reinserted into the property set.</p>
163 @see com::sun::star::sheet::HeaderFooterContent
165 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent RightPageHeaderContent
;
167 //-------------------------------------------------------------------------
169 /** contains the content of the footer for right pages.
171 <p>After changing the footer text contents, this property has to be
172 reinserted into the property set.</p>
174 @see com::sun::star::sheet::HeaderFooterContent
176 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent RightPageFooterContent
;
178 //-------------------------------------------------------------------------
180 /** contains the page number applied to the first page for this sheet.
182 <p>The value 0 indicates that the page numbers are continued from
183 the previous sheet.</p>
185 [property
] short FirstPageNumber
;
187 //-------------------------------------------------------------------------
189 /** contains the scaling factor (in percent) for printing the sheet.
191 [property
] short PageScale
;
193 //-------------------------------------------------------------------------
195 /** contains the number of pages the sheet will printed.
197 [property
] short ScaleToPages
;
199 //-------------------------------------------------------------------------
201 /** contains the number of horizontal pages the sheet will printed on.
206 [property
, optional] short ScaleToPagesX
;
208 //-------------------------------------------------------------------------
210 /** contains the number of vertical pages the sheet will printed on.
215 [property
, optional] short ScaleToPagesY
;
219 //=============================================================================