(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: table ::

unpublished interface XMergeableCellRange
Usage Restrictions
not published
Description
represents a range of cells that can possibly be merged or unmerged.

Methods' Summary
merge merges the area specified by this range.  
split splits the cells in this range. This will be done by inserting rows and columns if needed or unmerging cells taht are already splitted.  
isMergeable  
Methods' Details
merge
void
merge()
raises( ::com::sun::star::lang::NoSupportException );

Description
merges the area specified by this range.
Throws
::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.
split
void
split( [in] long  Columns,
[in] long  Rows )
raises( ::com::sun::star::lang::NoSupportException,
::com::sun::star::lang::IllegalArgumentException );

Description
splits the cells in this range. This will be done by inserting rows and columns if needed or unmerging cells taht are already splitted.
Parameter Columns
this is the number of columns that will be added to each cell. Zero means no new columns
Parameter Rows
this is the number of rows that will be added to each cell. Zero means no new rows
Throws
::com::sun::star::lang::IllegalArgumentException if at least one of the parameters is less than zero.
Throws
::com::sun::star::lang::NoSupportException if a split is not possible for this range.
isMergeable
boolean
isMergeable();

Returns
true if all cells from this range can be merged to one or false otherwise.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.