1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_sheet_TablePageStyle_idl__
21 #define __com_sun_star_sheet_TablePageStyle_idl__
23 #include
<com
/sun
/star
/style
/PageStyle.idl
>
24 #include
<com
/sun
/star
/sheet
/XHeaderFooterContent.idl
>
27 module com
{ module sun
{ module star
{ module sheet
{
30 /** represents a page style for a spreadsheet.
32 <p>This service extends the service
33 com::sun::star::style::PageStyle with spreadsheet
34 specific properties.</p>
36 published service TablePageStyle
39 /** contains all common page style properties.
41 service com
::sun
::star
::style
::PageStyle
;
44 /** determines whether the table is centered horizontally on the page.
46 [property
] boolean CenterHorizontally
;
49 /** determines whether the table is centered vertically on the page.
51 [property
] boolean CenterVertically
;
54 /** enables printing of cell annotations.
56 [property
] boolean PrintAnnotations
;
59 /** enables printing of the cell grid.
61 [property
] boolean PrintGrid
;
64 /** enables printing of column and row headers.
66 [property
] boolean PrintHeaders
;
69 /** enables printing of charts.
71 [property
] boolean PrintCharts
;
74 /** enables printing of embedded objects.
76 [property
] boolean PrintObjects
;
79 /** enables printing of drawing objects.
81 [property
] boolean PrintDrawing
;
84 /** enables printing of formulas instead of their results.
86 [property
] boolean PrintFormulas
;
89 /** enables printing of zero-values.
91 [property
] boolean PrintZeroValues
;
94 /** specifies the print order for the pages within each sheet.
96 <p>If `TRUE`, the order for printing pages begins with
97 top-to-bottom, then continues with the next set of cell columns
98 to the right. If `FALSE`, the order for printing pages begins
99 with left-to-right, then continues with the next set of cell
100 rows to the bottom.</p>
102 [property
] boolean PrintDownFirst
;
105 /** contains the content of the header for left pages.
107 <p>After changing the header text contents, this property has to be
108 reinserted into the property set.</p>
110 @see com::sun::star::sheet::HeaderFooterContent
112 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent LeftPageHeaderContent
;
115 /** contains the content of the footer for left pages.
117 <p>After changing the footer text contents, this property has to be
118 reinserted into the property set.</p>
120 @see com::sun::star::sheet::HeaderFooterContent
122 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent LeftPageFooterContent
;
125 /** contains the content of the header for right pages.
127 <p>After changing the header text contents, this property has to be
128 reinserted into the property set.</p>
130 @see com::sun::star::sheet::HeaderFooterContent
132 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent RightPageHeaderContent
;
135 /** contains the content of the footer for right pages.
137 <p>After changing the footer text contents, this property has to be
138 reinserted into the property set.</p>
140 @see com::sun::star::sheet::HeaderFooterContent
142 [property
] com
::sun
::star
::sheet
::XHeaderFooterContent RightPageFooterContent
;
145 /** contains the page number applied to the first page for this sheet.
147 <p>The value 0 indicates that the page numbers are continued from
148 the previous sheet.</p>
150 [property
] short FirstPageNumber
;
153 /** contains the scaling factor (in percent) for printing the sheet.
155 [property
] short PageScale
;
158 /** contains the number of pages the sheet will printed.
160 [property
] short ScaleToPages
;
163 /** contains the number of horizontal pages the sheet will printed on.
168 [property
, optional] short ScaleToPagesX
;
171 /** contains the number of vertical pages the sheet will printed on.
176 [property
, optional] short ScaleToPagesY
;
185 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */