/** * 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; }
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; }