示例#1
0
 /**
  * Sets the data necessary for writing out the sheet.  This method must
  *  be called immediately prior to writing
  *
  * @param rws the rows in the spreadsheet
  */
 public void setWriteData(RowRecord[] rws,
                          ArrayList rb,
                          ArrayList cb,
                          ArrayList hl,
                          MergedCells mc,
                          TreeSet <ColumnInfoRecord> cf,
                          int mrol,
                          int mcol)
 {
     rows                  = rws;
     rowBreaks             = rb;
     columnBreaks          = cb;
     hyperlinks            = hl;
     mergedCells           = mc;
     columnFormats         = cf;
     maxRowOutlineLevel    = mrol;
     maxColumnOutlineLevel = mcol;
 }
 public void setMergedCells(MergedCells mc)
 {
     mergedCells = mc;
 }
示例#3
0
 public void setMergedCells(MergedCells fmc, MergedCells tmc)
 {
     fromMergedCells = fmc;
     toMergedCells   = tmc;
 }
 /**
  * Sets the data necessary for writing out the sheet.  This method must
  *  be called immediately prior to writing
  *
  * @param rws the rows in the spreadsheet
  */
 public void setWriteData(RowRecord[] rws,
     ArrayList rb,
     ArrayList cb,
     ArrayList hl,
     MergedCells mc,
     TreeSet<ColumnInfoRecord> cf,
     int mrol,
     int mcol)
 {
     rows = rws;
     rowBreaks = rb;
     columnBreaks = cb;
     hyperlinks = hl;
     mergedCells = mc;
     columnFormats = cf;
     maxRowOutlineLevel = mrol;
     maxColumnOutlineLevel = mcol;
 }
示例#5
0
 public void setMergedCells(MergedCells mc)
 {
     mergedCells = mc;
 }