Difference between revisions of "Documentation/DevGuide/Spreadsheets/Merging Cell Ranges into a Single Cell"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Spreadsheet Documents) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|NextPage=Documentation/DevGuide/Spreadsheets/Column and Row Access | |NextPage=Documentation/DevGuide/Spreadsheets/Column and Row Access | ||
}} | }} | ||
− | {{DISPLAYTITLE:Merging Cell Ranges into a Single Cell}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Spreadsheets/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Merging Cell Ranges into a Single Cell}} | ||
<!--<idltopic>com.sun.star.util.XMergeable</idltopic>--> | <!--<idltopic>com.sun.star.util.XMergeable</idltopic>--> | ||
The cell range interface <idl>com.sun.star.util.XMergeable</idl> merges and undoes merged cell ranges. | The cell range interface <idl>com.sun.star.util.XMergeable</idl> merges and undoes merged cell ranges. | ||
Line 23: | Line 24: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Spreadsheet Documents]] |
Revision as of 10:23, 14 May 2009
The cell range interface com.sun.star.util.XMergeable merges and undoes merged cell ranges.
- The method
merge()
merges or undoes merged the whole cell range. - The method
getIsMerged()
determines if the cell range is completely merged.
// --- Merge cells. --- com.sun.star.util.XMergeable xMerge = (com.sun.star.util.XMergeable) UnoRuntime.queryInterface(com.sun.star.util.XMergeable.class, xCellRange); xMerge.merge(true);
Content on this page is licensed under the Public Documentation License (PDL). |