Home » JCraft » jxl » write » biff » [javadoc | source]
jxl.write.biff
class: MergedCells [javadoc | source]
java.lang.Object
   jxl.write.biff.MergedCells
Contains all the merged cells, and the necessary logic for checking for intersections and for handling very large amounts of merging
Constructor:
 public MergedCells(WritableSheet ws) 
    Constructor
Method from jxl.write.biff.MergedCells Summary:
add,   getMergedCells,   insertColumn,   insertRow,   removeColumn,   removeRow,   unmergeCells,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.write.biff.MergedCells Detail:
  void add(Range r) 
    Adds the range to the list of merged cells. Does no checking at this stage
 Range[] getMergedCells() 
    Gets the cells which have been merged on this sheet
  void insertColumn(int col) 
    Used to adjust the merged cells following a column insertion
  void insertRow(int row) 
    Used to adjust the merged cells following a row insertion
  void removeColumn(int col) 
    Used to adjust the merged cells following a column removal
  void removeRow(int row) 
    Used to adjust the merged cells following a row removal
  void unmergeCells(Range r) 
    Unmerges the specified cells. The Range passed in should be one that has been previously returned as a result of the getMergedCells method
  void write(File outputFile) throws IOException