Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: sheet ::
interface XSheetCellCursor
  Base Interfaces
      XSheetCellCursor
      ┗ XSheetCellRange
         ┗ ::com::sun::star::table::XCellRange
  XSheetCellRange | (referenced interface's summary:) provides access to the spreadsheet that contains a cell range.
Description provides advanced methods to control the position of a cursor in a spreadsheet. See also SheetCellCursor Developers Guide Spreadsheets - Cell Cursor

Methods' Summary
collapseToCurrentRegion | expands the cursor into the region containing the cells to which it currently points.
collapseToCurrentArray | collapses the cursor into the range of the array formula to which it is currently pointing.
collapseToMergedArea | expands the cursor to merged cell ranges.
expandToEntireColumns | expands the cursor to include the entire columns of the cells to which it is currently pointing.
expandToEntireRows | expands the cursor to include the entire rows of the cells to which it is currently pointing.
collapseToSize | changes the size of a cursor range.

Methods' Details
collapseToCurrentRegion
void
collapseToCurrentRegion();
Description expands the cursor into the region containing the cells to which it currently points. A region is a cell range bounded by empty cells.
collapseToCurrentArray
void
collapseToCurrentArray();
Description collapses the cursor into the range of the array formula to which it is currently pointing. To get the correct result, the top left cell of the original cursor must point to any cell containing an array formula. If not, the cursor is left unchanged.
collapseToMergedArea
void
collapseToMergedArea();
Description expands the cursor to merged cell ranges. Expands the current cursor range in a way so that all merged cell ranges intersecting the current range will fit completely. If the cursor does not point to any range with merged cells, it is left unchanged.
expandToEntireColumns
void
expandToEntireColumns();
Description expands the cursor to include the entire columns of the cells to which it is currently pointing.
expandToEntireRows
void
expandToEntireRows();
Description expands the cursor to include the entire rows of the cells to which it is currently pointing.
collapseToSize
void
collapseToSize( | [in] long | nColumns,
| [in] long | nRows );
Description changes the size of a cursor range. The top left cell of the cursor keeps unmodified. Parameter nColumns the number of columns of the new cursor range. Parameter nRows the number of rows of the new cursor range.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.