Sheet.ColumnautoOdd, autoSize, cellValueAndStyle, columns, comments, copyCount, copySheet, extProp, extPropMark, forceExport, headerReady, headStyle, headStyleIndex, hidden, id, LOGGER, name, nonHeader, oddFill, relManager, rowBlock, rows, sheetWriter, shouldClose, waterMark, width, workbook| 构造器和说明 |
|---|
CollectionSheet()
Constructor worksheet
|
CollectionSheet(String name)
Constructor worksheet
|
CollectionSheet(String name,
Column... columns)
Constructor worksheet
|
CollectionSheet(String name,
WaterMark waterMark,
Column... columns)
Constructor worksheet
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
resetBlockData()
Each row-block is multiplexed and will be called to reset
the data when a row-block is completely written.
|
CollectionSheet<T> |
setData(Collection<T> data) |
addRel, afterSheetAccess, autoSize, buildHeadStyle, cancelForceExport, cancelOddStyle, checkColumnLimit, clone, close, createComments, defaultHeadStyle, defaultHeadStyleIndex, findRel, fixSize, fixSize, forceExport, getAndSortHeaderColumns, getAutoOdd, getAutoSize, getComments, getCopySheetName, getDefaultWidth, getExtPropAsMap, getExtPropValue, getFileName, getForceExport, getHeaderColumns, getHeadStyle, getHeadStyleIndex, getId, getName, getNonHeader, getOddFill, getRowBlockSize, getRowLimit, getSst, getWaterMark, getWorkbook, hasHeaderColumns, hidden, ignoreHeader, int2Col, isAutoSize, isHidden, markExtProp, nextBlock, nonOrIntDefault, paging, putAllExtProp, putExtProp, putExtPropIfAbsent, resetCommonProperties, search, setAutoOdd, setCellValueAndStyle, setColumns, setHeadStyle, setHeadStyle, setHeadStyle, setHeadStyle, setHeadStyleIndex, setId, setName, setOddFill, setSheetWriter, setWaterMark, setWorkbook, size, sortColumns, what, what, writeTopublic CollectionSheet()
public CollectionSheet(String name)
name - the worksheet namepublic CollectionSheet(String name, Column... columns)
name - the worksheet namecolumns - the Columnpublic CollectionSheet<T> setData(Collection<T> data)
protected void resetBlockData()
SheetSheet.getRowBlockSize() method to get
the row-block size, call the ICellValueAndStyle.reset(int, Cell, Object, org.ttzero.excel.entity.Column)
method to set value and styles.resetBlockData 在类中 SheetCopyright © 2022. All rights reserved.