|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
represents a range of cells that can possibly be merged or unmerged. More...
import "XMergeableCellRange.idl";
Public Member Functions | |
| void | merge () raises ( ::com::sun::star::lang::NoSupportException ) |
| merges the area specified by this range. | |
| void | split ([in] long Columns, [in] long Rows) raises ( ::com::sun::star::lang::NoSupportException, ::com::sun::star::lang::IllegalArgumentException ) |
| splits the cells in this range. | |
| boolean | isMergeable () |
| 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. | |
represents a range of cells that can possibly be merged or unmerged.
| boolean isMergeable | ( | ) |
| void merge | ( | ) | ||||
| raises | ( | ::com::sun::star::lang::NoSupportException ) | ||||
merges the area specified by this range.
| com::sun::star::lang::NoSupportException | if a merge is not possible for this range. You can use isMergeable() to check if a merge is possible. |
| void split | ( | [in] long | Columns, | |||
| [in] long | Rows ) | |||||
| raises | ( | ::com::sun::star::lang::NoSupportException, | ||||
| ::com::sun::star::lang::IllegalArgumentException ) | ||||||
splits the cells in this range.
This will be done by inserting rows and columns if needed or unmerging cells that are already split.
| Columns | this is the number of columns that will be added to each cell. Zero means no new columns |
| Rows | this is the number of rows that will be added to each cell. Zero means no new rows |
| com::sun::star::lang::IllegalArgumentException | if at least one of the parameters is less than zero. |
| com::sun::star::lang::NoSupportException | if a split is not possible for this range. |