Package | Description |
---|---|
org.apache.poi.hssf.usermodel |
usermodel package maps HSSF low level strutures to familiar workbook/sheet model
|
org.apache.poi.ss.usermodel | |
org.apache.poi.ss.usermodel.contrib | |
org.apache.poi.xssf.usermodel | |
org.apache.poi.xssf.usermodel.helpers |
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.
|
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(short 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
|
Modifier and Type | Method and Description |
---|---|
void |
CellStyle.cloneStyleFrom(CellStyle source)
Clones all the style information from another
CellStyle, onto this one.
|
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.
|
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 | 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) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnHelper.setColDefaultStyle(long index,
CellStyle style) |
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.