| 程序包 | 说明 |
|---|---|
| org.ttzero.excel.entity | |
| org.ttzero.excel.entity.csv | |
| org.ttzero.excel.entity.e7 |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CollectionSheet<T>
FIXME unfinished
|
class |
CSVSheet |
class |
EmptySheet |
class |
ListMapSheet
ListMapSheet is a subclass of
ListSheet, the difference is
in the way the data is taken |
class |
ListSheet<T>
List is the most important data source, you can pass all
the data at a time, or customize the worksheet to extends
the
ListSheet, and then override the ListSheet.more()
method to achieve segmented loading of data. |
class |
ResultSetSheet
ResultSet is one of the worksheet data sources, It has a subclass
StatementSheet. |
class |
StatementSheet
Statement is one of the worksheet data sources, it's
extends from
ResultSetSheet, and will be obtained from
MetaData if no header information is given. |
| 限定符和类型 | 方法和说明 |
|---|---|
Sheet |
Sheet.addRel(Relationship rel)
Add relationship
|
Sheet |
Sheet.autoSize()
Setting auto resize cell's width
|
Sheet |
Sheet.cancelForceExport()
Cancel force export
|
Sheet |
Sheet.cancelOddStyle()
Cancel the odd row's fill style
|
Sheet |
Sheet.clone() |
Sheet |
Sheet.fixSize()
Setting fix column width
|
Sheet |
Sheet.fixSize(double width)
Setting fix column width
|
Sheet |
Sheet.forceExport()
Force export of attributes without
ExcelColumn annotations |
Sheet |
Workbook.getSheet(String sheetName)
Return a
Sheet with the specified name
Note: This method can only return the Sheet which name specified when created. |
Sheet |
Workbook.getSheetAt(int index)
Returns the Sheet of the specified index
|
Sheet[] |
Workbook.getSheets()
Returns all
Sheet in this workbook |
Sheet |
Sheet.hidden()
Setting the worksheet status
|
Sheet |
Sheet.ignoreHeader()
Settings nonHeader property
|
Sheet |
Sheet.putAllExtProp(Map<String,Object> m)
Copies all of the mappings from the specified map to extend properties
|
Sheet |
Sheet.putExtProp(String key,
Object value)
Append extend property
|
Sheet |
Sheet.putExtPropIfAbsent(String key,
Object value)
If the specified key is not already associated with a value (or is mapped
to
null) associates it with the given value and returns
null, else returns the current value. |
Sheet |
Sheet.setAutoOdd(int autoOdd)
Setting auto setting odd background flag
|
Sheet |
Sheet.setColumns(Column[] columns)
Setting the header rows's columns
|
Sheet |
Sheet.setHeadStyle(Font font,
Fill fill,
Border border)
Setting the header column styles
|
Sheet |
Sheet.setHeadStyle(Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the header column styles
|
Sheet |
Sheet.setHeadStyle(int style)
Setting the header cell styles
|
Sheet |
Sheet.setHeadStyle(NumFmt numFmt,
Font font,
Fill fill,
Border border,
int vertical,
int horizontal)
Setting the header column styles
|
Sheet |
Sheet.setHeadStyleIndex(int styleIndex)
Setting the header cell styles
|
Sheet |
Sheet.setName(String name)
Setting the worksheet name
|
Sheet |
Sheet.setOddFill(Fill fill)
Setting the odd row's fill style
|
Sheet |
ResultSetSheet.setStyleProcessor(StyleProcessor<ResultSet> styleProcessor)
Setting a row style processor
|
Sheet |
ListSheet.setStyleProcessor(StyleProcessor<T> styleProcessor)
Setting a row style processor
|
Sheet |
Sheet.setWaterMark(WaterMark waterMark)
Setting the
WaterMark |
Sheet |
Sheet.setWorkbook(Workbook workbook)
Setting the workbook
|
| 限定符和类型 | 方法和说明 |
|---|---|
Workbook |
Workbook.addSheet(Sheet sheet)
Add a
Sheet to the tail |
Workbook |
Workbook.insertSheet(int index,
Sheet sheet)
Insert a
Sheet at the specified index |
IWorksheetWriter |
IWorksheetWriter.setWorksheet(Sheet sheet)
Return a copy worksheet writer
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Sheet |
CSVWorksheetWriter.sheet |
| 限定符和类型 | 方法和说明 |
|---|---|
protected IWorksheetWriter |
CSVWorkbookWriter.getWorksheetWriter(Sheet sheet) |
IWorksheetWriter |
CSVWorksheetWriter.setWorksheet(Sheet sheet) |
| 构造器和说明 |
|---|
CSVWorksheetWriter(Sheet sheet) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Sheet |
XMLWorksheetWriter.sheet |
| 限定符和类型 | 方法和说明 |
|---|---|
protected IWorksheetWriter |
XMLWorkbookWriter.getWorksheetWriter(Sheet sheet) |
IWorksheetWriter |
XMLWorksheetWriter.setWorksheet(Sheet sheet)
Rest worksheet
|
| 构造器和说明 |
|---|
XMLWorksheetWriter(Sheet sheet) |
Copyright © 2022. All rights reserved.