A class used to create a sheet in an excel document
| Constructor and description |
|---|
Sheet
(org.apache.poi.xssf.usermodel.XSSFSheet sheet, CellStyleBuilder styleBuilder) |
| Type | Name and description |
|---|---|
void |
column(groovy.lang.Closure callable)Output data by column |
void |
columns(groovy.lang.Closure callable)Used to define headers for a sheet |
void |
columns(java.util.Map options, groovy.lang.Closure callable)Used to define headers for a sheet |
void |
defaultStyle(java.util.Map options)Sets the default styling for the sheet |
org.apache.poi.xssf.usermodel.XSSFRow |
row()Creates a row |
org.apache.poi.xssf.usermodel.XSSFRow |
row(java.lang.Object... cells)Creates a row |
org.apache.poi.xssf.usermodel.XSSFRow |
row(groovy.lang.Closure callable)Creates a row |
org.apache.poi.xssf.usermodel.XSSFRow |
row(java.util.Map options, groovy.lang.Closure callable)Creates a row |
void |
skipColumns(int num)Skips columns |
void |
skipRows(int num)Skips rows |
void |
skipTo(java.lang.Object id)Skip to a previously defined column created by column |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Output data by column
callable - To build column dataUsed to define headers for a sheet
callable - To build header dataUsed to define headers for a sheet
options - Default style options for the headercallable - To build header dataSets the default styling for the sheet
options - Style optionsCreates a row
Creates a row
cells - A list of data to output as cellsCreates a row
callable - To build row dataCreates a row
options - Default styling optionscallable - To build row dataSkips columns
num - The number of columns to skipSkips rows
num - The number of rows to skipSkip to a previously defined column created by column
id - The column identifier