Package | Description |
---|---|
org.apache.poi.hssf.converter | |
org.apache.poi.hssf.usermodel |
The usermodel package maps HSSF low level structures to familiar workbook/sheet model
|
org.apache.poi.ss.usermodel | |
org.apache.poi.ss.util | |
org.apache.poi.xssf.streaming | |
org.apache.poi.xssf.usermodel | |
org.apache.poi.xssf.usermodel.helpers |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ExcelToFoConverter.isEmptyStyle(CellStyle cellStyle)
Returns false if cell style by itself (without text, i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
HSSFCellStyle
High level representation of the style of a cell in a sheet of a workbook.
|
Modifier and Type | Method and Description |
---|---|
void |
HSSFCellStyle.cloneStyleFrom(CellStyle source)
Clones all the style information from another
HSSFCellStyle, onto this one.
|
void |
HSSFCell.setCellStyle(CellStyle style)
Set the style for the cell.
|
void |
HSSFSheet.setDefaultColumnStyle(int column,
CellStyle style)
Sets the default column style for a given column.
|
void |
HSSFRow.setRowStyle(CellStyle style)
Applies a whole-row cell styling to the row.
|
Modifier and Type | Method and Description |
---|---|
CellStyle |
Workbook.createCellStyle()
Create a new Cell style and add it to the workbook's style table
|
CellStyle |
Cell.getCellStyle()
Return the cell's style.
|
CellStyle |
Workbook.getCellStyleAt(int idx)
Get the cell style object at the given index
|
CellStyle |
Sheet.getColumnStyle(int column)
Returns the CellStyle that applies to the given
(0 based) column, or null if no style has been
set for that column
|
CellStyle |
Row.getRowStyle()
Returns the whole-row cell styles.
|
Modifier and Type | Method and Description |
---|---|
void |
CellStyle.cloneStyleFrom(CellStyle source)
Clones all the style information from another
CellStyle, onto this one.
|
static ExcelNumberFormat |
ExcelNumberFormat.from(CellStyle style) |
void |
Cell.setCellStyle(CellStyle style)
Set the style for the cell.
|
void |
Sheet.setDefaultColumnStyle(int column,
CellStyle style)
Sets the default column style for a given column.
|
void |
Row.setRowStyle(CellStyle style)
Applies a whole-row cell styling to the row.
|
Modifier and Type | Method and Description |
---|---|
static void |
RangeCopier.cloneCellContent(Cell srcCell,
Cell destCell,
java.util.Map<java.lang.Integer,CellStyle> styleMap) |
Modifier and Type | Method and Description |
---|---|
static Cell |
CellUtil.createCell(Row row,
int column,
java.lang.String value,
CellStyle style)
Creates a cell, gives it a value, and applies a style if provided
|
Modifier and Type | Method and Description |
---|---|
CellStyle |
SXSSFWorkbook.createCellStyle()
Create a new Cell style and add it to the workbook's style table
|
CellStyle |
SXSSFCell.getCellStyle()
Return the cell's style.
|
CellStyle |
SXSSFWorkbook.getCellStyleAt(int idx)
Get the cell style object at the given index
|
CellStyle |
SXSSFSheet.getColumnStyle(int column)
Returns the CellStyle that applies to the given
(0 based) column, or null if no style has been
set for that column
|
CellStyle |
SXSSFRow.getRowStyle()
Returns the whole-row cell style.
|
Modifier and Type | Method and Description |
---|---|
void |
SXSSFCell.setCellStyle(CellStyle style)
Set the style for the cell.
|
void |
SXSSFSheet.setDefaultColumnStyle(int column,
CellStyle style)
Sets the default column style for a given column.
|
void |
SXSSFRow.setRowStyle(CellStyle style)
Applies a whole-row cell styling to the row.
|
Modifier and Type | Class and Description |
---|---|
class |
XSSFCellStyle
High level representation of the the possible formatting information for the contents of the cells on a sheet in a
SpreadsheetML document.
|
Modifier and Type | Method and Description |
---|---|
CellStyle |
XSSFSheet.getColumnStyle(int column)
Returns the CellStyle that applies to the given
(0 based) column, or null if no style has been
set for that column
|
Modifier and Type | Method and Description |
---|---|
void |
XSSFCellStyle.cloneStyleFrom(CellStyle source)
Clones all the style information from another
XSSFCellStyle, onto this one.
|
void |
XSSFCell.setCellStyle(CellStyle style)
Set the style for the cell.
|
void |
XSSFSheet.setDefaultColumnStyle(int column,
CellStyle style) |
void |
XSSFRow.setRowStyle(CellStyle style)
Applies a whole-row cell styling to the row.
|
Modifier and Type | Method and Description |
---|---|
void |
ColumnHelper.setColDefaultStyle(long index,
CellStyle style) |
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.