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

(Global Index)

Syntax

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

Description

has functions for moving ranges of cells in a sheet.

Method Summary

insertCells inserts cells, moving other cells down or right.

removeRange deletes cells, moving other cells up or left.

moveRange moves a cell range to another position in the document.

copyRange copies a cell range to another position in the document.

Known Services Which Export this Interface

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

Method Details



insertCells

Syntax

void insertCells (
com::sun::star::table::CellRangeAddress aRange,
com::sun::star::sheet::CellInsertMode nMode );

Description

inserts cells, moving other cells down or right.

Non-empty cells cannot be moved off the sheet.


removeRange

Syntax

void removeRange (
com::sun::star::table::CellRangeAddress aRange,
com::sun::star::sheet::CellDeleteMode nMode );

Description

deletes cells, moving other cells up or left.


moveRange

Syntax

void moveRange (
com::sun::star::table::CellAddress aDestination,
com::sun::star::table::CellRangeAddress aSource );

Description

moves a cell range to another position in the document.


copyRange

Syntax

void copyRange (
com::sun::star::table::CellAddress aDestination,
com::sun::star::table::CellRangeAddress aSource );

Description

copies a cell range to another position in the document.

Top of Page