Difference between revisions of "Documentation/DevGuide/Spreadsheets/Merging Cell Ranges into a Single Cell"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Spreadsheet Documents)
Line 22: Line 22:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Spreadsheet Documents]]
+
 
 +
[[Category:Documentation/Developers Guide/Spreadsheet Documents]]

Revision as of 09:50, 4 June 2008



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).
Personal tools