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

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XPrintAreas
Description
represents a sheet which has print areas.
Developers Guide
Spreadsheets - Printing Spreadsheet Documents - Print Areas

Methods' Summary
getPrintAreas returns a sequence containing all print areas of the sheet.  
setPrintAreas sets the print areas of the sheet.  
getPrintTitleColumns returns, whether the title columns are repeated on all subsequent print pages to the right.  
setPrintTitleColumns specifies whether the title columns are repeated on all subsequent print pages to the right.  
getTitleColumns returns the range that is specified as title columns range.  
setTitleColumns specifies a range of columns as title columns range.  
getPrintTitleRows returns, whether the title rows are repeated on all subsequent print pages to the bottom.  
setPrintTitleRows specifies whether the title rows are repeated on all subsequent print pages to the bottom.  
getTitleRows returns the range that is specified as title rows range.  
setTitleRows specifies a range of rows as title rows range.  
Methods' Details
getPrintAreas
sequence< ::com::sun::star::table::CellRangeAddress >
getPrintAreas();

Description
returns a sequence containing all print areas of the sheet.
setPrintAreas
void
setPrintAreas( [in] sequence< ::com::sun::star::table::CellRangeAddress >  aPrintAreas );

Description
sets the print areas of the sheet.

If none of the sheets in a document have print areas, the whole sheets are printed. If any sheet contains print areas, other sheets without print areas are not printed.

Parameter aPrintAreas
a sequence containing all print areas for this sheet.
getPrintTitleColumns
boolean
getPrintTitleColumns();

Description
returns, whether the title columns are repeated on all subsequent print pages to the right.
setPrintTitleColumns
void
setPrintTitleColumns( [in] boolean  bPrintTitleColumns );

Description
specifies whether the title columns are repeated on all subsequent print pages to the right.
Parameter bPrintTitleColumns
if true, title columns are repeated on each page.
getTitleColumns
::com::sun::star::table::CellRangeAddress
getTitleColumns();

Description
returns the range that is specified as title columns range.

Title columns can be automatically repeated on all subsequent print pages to the right, using XPrintAreas::setPrintTitleColumns.

Returns
the range of columns that is specified as title columns range.
setTitleColumns
void
setTitleColumns( [in] ::com::sun::star::table::CellRangeAddress  aTitleColumns );

Description
specifies a range of columns as title columns range.

The rows of the passed range are ignored.

Title columns can be automatically repeated on all subsequent print pages to the right, using XPrintAreas::setPrintTitleColumns.

Parameter aTitleColumns
the title columns range.
getPrintTitleRows
boolean
getPrintTitleRows();

Description
returns, whether the title rows are repeated on all subsequent print pages to the bottom.
setPrintTitleRows
void
setPrintTitleRows( [in] boolean  bPrintTitleRows );

Description
specifies whether the title rows are repeated on all subsequent print pages to the bottom.
Parameter bPrintTitleRows
if true, title rows are repeated on each page.
getTitleRows
::com::sun::star::table::CellRangeAddress
getTitleRows();

Description
returns the range that is specified as title rows range.

Title rows can be automatically repeated on all subsequent print pages to the bootom, using XPrintAreas::setPrintTitleRows.

Returns
the range of rows that is specified as title rows range.
setTitleRows
void
setTitleRows( [in] ::com::sun::star::table::CellRangeAddress  aTitleRows );

Description
specifies a range of rows as title rows range.

The columns of the passed range are ignored.

Title rows can be automatically repeated on all subsequent print pages to the bottom, using XPrintAreas::setPrintTitleRows.

Parameter aTitleRows
the title rows range.
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.