LibreOffice: XUsedAreaCursor Interface Reference

LibreOffice LibreOffice 7.6 SDK API Reference

Loading...
Searching...
No Matches
Public Member Functions | List of all members
XUsedAreaCursor Interface Referencepublished

provides methods to find the used area of the entire sheet. More...

`import <XUsedAreaCursor.idl;`

Inheritance diagram for XUsedAreaCursor:

## Public Member Functions
void | gotoStartOfUsedArea ([in] boolean bExpand)
| points the cursor to the start of the used area.
void | gotoEndOfUsedArea ([in] boolean bExpand)
| points the cursor to the end of the used area.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

provides methods to find the used area of the entire sheet.

The used area is the smallest cell range that contains all cells of the spreadsheet with any contents (values, text, formulas) or visible formatting (borders and background color).

See also
  com::sun::star::sheet::SheetCellCursor

Developers Guide
  Spreadsheet Documents - Cell Cursor - Used Area

## Member Function Documentation

## ◆ gotoEndOfUsedArea()

void gotoEndOfUsedArea | ( | [in] boolean | bExpand | ) |

points the cursor to the end of the used area.

Parameters

  bExpand | `TRUE` = expands the current cursor range, `FALSE` = sets size of the cursor to a single cell.

## ◆ gotoStartOfUsedArea()

void gotoStartOfUsedArea | ( | [in] boolean | bExpand | ) |

points the cursor to the start of the used area.

Parameters

  bExpand | `TRUE` = expands the current cursor range, `FALSE` = sets size of the cursor to a single cell.

The documentation for this interface was generated from the following file:

- com/sun/star/sheet/XUsedAreaCursor.idl