interface XSheetPageBreak in module com::sun::star::sheet::

(Global Index)

[ DEPRECATED ]

Syntax

interface XSheetPageBreak : com::sun::star::uno::XInterface ;

Description

provides access to page breaks in a sheet.

Method Summary

getColumnPageBreaks returns a sequence of descriptions of all horizontal page breaks on the sheet.

getRowPageBreaks returns a sequence of descriptions of all vertical page breaks on the sheet.

removeAllManualPageBreaks removes all manual page breaks on the sheet.

Known Services Which Export this Interface

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

Method Details



getColumnPageBreaks

Syntax

sequence< com::sun::star::sheet::TablePageBreakData > getColumnPageBreaks ();

Description

returns a sequence of descriptions of all horizontal page breaks on the sheet.

This includes manual and automatic page breaks. To add or remove manual breaks, use the TableColumn::IsStartOfNewPage property of the column.


getRowPageBreaks

Syntax

sequence< com::sun::star::sheet::TablePageBreakData > getRowPageBreaks ();

Description

returns a sequence of descriptions of all vertical page breaks on the sheet.

This includes manual and automatic page breaks.

To add or remove manual breaks, use the TableRow::IsStartOfNewPage property of the row.


removeAllManualPageBreaks

Syntax

void removeAllManualPageBreaks ();

Description

removes all manual page breaks on the sheet.

Top of Page