The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

service TablePageStyle
Description
represents a page style for a spreadsheet.

This service extends the service ::com::sun::star::style::PageStyle with spreadsheet specific properties.

Developers Guide
Spreadsheets - Overall Document Features - Styles - Page Styles

Included Services - Summary
::com::sun::star::style::PageStyle

contains all common page style properties.

Properties' Summary
boolean
CenterHorizontally
determines whether the table is centered horizontally on the page.  
boolean
CenterVertically
determines whether the table is centered vertically on the page.  
boolean
PrintAnnotations
enables printing of cell annotations.  
boolean
PrintGrid
enables printing of the cell grid.  
boolean
PrintHeaders
enables printing of column and row headers.  
boolean
PrintCharts
enables printing of charts.  
boolean
PrintObjects
enables printing of embedded objects.  
boolean
PrintDrawing
enables printing of drawing objects.  
boolean
PrintFormulas
enables printing of formulas instead of their results.  
boolean
PrintZeroValues
enables printing of zero-values.  
boolean
PrintDownFirst
specifies the print order for the pages within each sheet.  
XHeaderFooterContent
LeftPageHeaderContent
contains the content of the header for left pages.  
XHeaderFooterContent
LeftPageFooterContent
contains the content of the footer for left pages.  
XHeaderFooterContent
RightPageHeaderContent
contains the content of the header for right pages.  
XHeaderFooterContent
RightPageFooterContent
contains the content of the footer for right pages.  
short
FirstPageNumber
contains the page number applied to the first page for this sheet.  
short
PageScale
contains the scaling factor (in percent) for printing the sheet.  
short
ScaleToPages
contains the number of pages the sheet will printed.  
short
ScaleToPagesX
[ OPTIONAL ]
contains the number of horizontal pages the sheet will printed on.  
short
ScaleToPagesY
[ OPTIONAL ]
contains the number of vertical pages the sheet will printed on.  
Included Services - Details
::com::sun::star::style::PageStyle
Description
contains all common page style properties.
Properties' Details
CenterHorizontally
boolean CenterHorizontally;
Description
determines whether the table is centered horizontally on the page.
CenterVertically
boolean CenterVertically;
Description
determines whether the table is centered vertically on the page.
PrintAnnotations
boolean PrintAnnotations;
Description
enables printing of cell annotations.
PrintGrid
boolean PrintGrid;
Description
enables printing of the cell grid.
PrintHeaders
boolean PrintHeaders;
Description
enables printing of column and row headers.
PrintCharts
boolean PrintCharts;
Description
enables printing of charts.
PrintObjects
boolean PrintObjects;
Description
enables printing of embedded objects.
PrintDrawing
boolean PrintDrawing;
Description
enables printing of drawing objects.
PrintFormulas
boolean PrintFormulas;
Description
enables printing of formulas instead of their results.
PrintZeroValues
boolean PrintZeroValues;
Description
enables printing of zero-values.
PrintDownFirst
boolean PrintDownFirst;
Description
specifies the print order for the pages within each sheet.

If true, the order for printing pages begins with top-to-bottom, then continues with the next set of cell columns to the right. If false, the order for printing pages begins with left-to-right, then continues with the next set of cell rows to the bottom.

LeftPageHeaderContent
XHeaderFooterContent LeftPageHeaderContent;
Description
contains the content of the header for left pages.

After changing the header text contents, this property has to be reinserted into the property set.

See also
HeaderFooterContent
LeftPageFooterContent
XHeaderFooterContent LeftPageFooterContent;
Description
contains the content of the footer for left pages.

After changing the footer text contents, this property has to be reinserted into the property set.

See also
HeaderFooterContent
RightPageHeaderContent
XHeaderFooterContent RightPageHeaderContent;
Description
contains the content of the header for right pages.

After changing the header text contents, this property has to be reinserted into the property set.

See also
HeaderFooterContent
RightPageFooterContent
XHeaderFooterContent RightPageFooterContent;
Description
contains the content of the footer for right pages.

After changing the footer text contents, this property has to be reinserted into the property set.

See also
HeaderFooterContent
FirstPageNumber
short FirstPageNumber;
Description
contains the page number applied to the first page for this sheet.

The value 0 indicates that the page numbers are continued from the previous sheet.

PageScale
short PageScale;
Description
contains the scaling factor (in percent) for printing the sheet.
ScaleToPages
short ScaleToPages;
Description
contains the number of pages the sheet will printed.
ScaleToPagesX
short ScaleToPagesX;
Usage Restrictions
optional
Description
contains the number of horizontal pages the sheet will printed on.
Since
OOo 2.0
ScaleToPagesY
short ScaleToPagesY;
Usage Restrictions
optional
Description
contains the number of vertical pages the sheet will printed on.
Since
OOo 2.0

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.