LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides methods to access cell ranges in a collection via index and to add and remove cell ranges. More...
import"XSheetCellRangeContainer.idl";
Public Member Functions | |
void | addRangeAddress ([in] com::sun::star::table::CellRangeAddress aCellRangeAddress, [in] boolean bMergeRanges) |
adds the given range to the collection of cell ranges. More... | |
void | removeRangeAddress ([in] com::sun::star::table::CellRangeAddress aCellRangeAddress) raises ( com::sun::star::container::NoSuchElementException ) |
removes the given range from the collection of cell ranges. More... | |
void | addRangeAddresses ([in] sequence< com::sun::star::table::CellRangeAddress > aCellRangeAddresses, [in] boolean bMergeRanges) |
adds the given ranges to the collection of cell ranges. More... | |
void | removeRangeAddresses ([in] sequence< com::sun::star::table::CellRangeAddress > aCellRangeAddresses) raises ( com::sun::star::container::NoSuchElementException) |
removes the given ranges from the collection of cell ranges. More... | |
Public Member Functions inherited from XSheetCellRanges | |
com::sun::star::container::XEnumerationAccess | getCells () |
returns the collection of all used cells. More... | |
string | getRangeAddressesAsString () |
creates a string with addresses of all contained cell ranges. More... | |
sequence< com::sun::star::table::CellRangeAddress > | getRangeAddresses () |
creates a sequence with addresses of all contained cell ranges. More... | |
Public Member Functions inherited from XIndexAccess | |
long | getCount () |
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides methods to access cell ranges in a collection via index and to add and remove cell ranges.
void addRangeAddress | ( | [in] com::sun::star::table::CellRangeAddress | aCellRangeAddress, |
[in] boolean | bMergeRanges | ||
) |
adds the given range to the collection of cell ranges.
aCellRangeAddress | contains the address of the new range. |
bMergeRanges | defines how the range should be added. To merge the ranges takes more time, but the memory usage is lower. |
void addRangeAddresses | ( | [in] sequence< com::sun::star::table::CellRangeAddress > | aCellRangeAddresses, |
[in] boolean | bMergeRanges | ||
) |
adds the given ranges to the collection of cell ranges.
aCellRangeAddresses | contains a sequence of addresses of all new ranges. |
bMergeRanges | defines how the ranges should be added. To merge the ranges takes more time, but the memory usage is lower. |
void removeRangeAddress | ( | [in] com::sun::star::table::CellRangeAddress | aCellRangeAddress | ) | |
raises | ( | com::sun::star::container::NoSuchElementException | |||
) |
removes the given range from the collection of cell ranges.
aCellRangeAddress | contains the address of the range to be removed. |
The specified range must fit exactly to an element of the collection. The method does not try to shorten a range.
com::sun::star::container::NoSuchElementException | if the collection does not contain the specified range. |
void removeRangeAddresses | ( | [in] sequence< com::sun::star::table::CellRangeAddress > | aCellRangeAddresses | ) | |
raises | ( | com::sun::star::container::NoSuchElementException | |||
) |
removes the given ranges from the collection of cell ranges.
aCellRangeAddresses | contains a sequence of addresses of all ranges to be removed. |
All specified ranges must fit exactly to elements of the collection. The method does not try to shorten ranges.
com::sun::star::container::NoSuchElementException | if the collection does not contain any of the specified ranges. |