Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: sheet ::
interface XCellRangeMovement
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XCellRangeMovement
Description provides methods for moving ranges of cells in a sheet.

Methods' 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.

Methods' Details
insertCells
void insertCells( | [in] ::com::sun::star::table::CellRangeAddress [in] CellInsertMode | aRange, nMode );
Description inserts cells, moving other cells down or right. Non-empty cells cannot be moved off the sheet. Parameter aRange the cell range in which empty cells will be inserted. Parameter nMode describes how to move existing cells.
removeRange
void removeRange( | [in] ::com::sun::star::table::CellRangeAddress [in] CellDeleteMode | aRange, nMode );
Description deletes cells, moving other cells up or left. Parameter aRange the cell range to remove. Parameter nMode describes how to move following cells.
moveRange
void moveRange( | [in] ::com::sun::star::table::CellAddress [in] ::com::sun::star::table::CellRangeAddress | aDestination, aSource );
Description moves a cell range to another position in the document. After copying the contents of the cell range, all cells will be cleared. Parameter aDestination the address of the top left cell of the destination range. Parameter aSource the cell range which will be copied.
copyRange
void copyRange( | [in] ::com::sun::star::table::CellAddress [in] ::com::sun::star::table::CellRangeAddress | aDestination, aSource );
Description copies a cell range to another position in the document. The source cell range keeps unchanged. Parameter aDestination the address of the top left cell of the destination range. Parameter aSource the cell range which will be copied.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.