Uses of Interface
org.apache.poi.ss.usermodel.CellStyle
Packages that use CellStyle
Package
Description
usermodel package maps HSSF low level strutures to familiar workbook/sheet model
-
Uses of CellStyle in org.apache.poi.hssf.converter
Methods in org.apache.poi.hssf.converter with parameters of type CellStyleModifier and TypeMethodDescriptionprotected boolean
ExcelToFoConverter.isEmptyStyle
(CellStyle cellStyle) Returns false if cell style by itself (without text, i.e. -
Uses of CellStyle in org.apache.poi.hssf.usermodel
Classes in org.apache.poi.hssf.usermodel that implement CellStyleModifier and TypeClassDescriptionfinal class
High level representation of the style of a cell in a sheet of a workbook.Methods in org.apache.poi.hssf.usermodel with parameters of type CellStyleModifier and TypeMethodDescriptionvoid
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. -
Uses of CellStyle in org.apache.poi.ss.usermodel
Methods in org.apache.poi.ss.usermodel that return CellStyleModifier and TypeMethodDescriptionWorkbook.createCellStyle()
Create a new Cell style and add it to the workbook's style tableCell.getCellStyle()
Return the cell's style.Workbook.getCellStyleAt
(int idx) Get the cell style object at the given indexSheet.getColumnStyle
(int column) Returns the CellStyle that applies to the given (0 based) column, or null if no style has been set for that columnRow.getRowStyle()
Returns the whole-row cell styles.Methods in org.apache.poi.ss.usermodel with parameters of type CellStyleModifier and TypeMethodDescriptionvoid
CellStyle.cloneStyleFrom
(CellStyle source) Clones all the style information from another CellStyle, onto this one.static ExcelNumberFormat
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.Method parameters in org.apache.poi.ss.usermodel with type arguments of type CellStyle -
Uses of CellStyle in org.apache.poi.ss.util
Methods in org.apache.poi.ss.util with parameters of type CellStyleModifier and TypeMethodDescriptionstatic Cell
CellUtil.createCell
(Row row, int column, String value, CellStyle style) Creates a cell, gives it a value, and applies a style if provided -
Uses of CellStyle in org.apache.poi.xssf.streaming
Methods in org.apache.poi.xssf.streaming that return CellStyleModifier and TypeMethodDescriptionSXSSFWorkbook.createCellStyle()
Create a new Cell style and add it to the workbook's style tableSXSSFCell.getCellStyle()
Return the cell's style.SXSSFWorkbook.getCellStyleAt
(int idx) Get the cell style object at the given indexSXSSFSheet.getColumnStyle
(int column) Returns the CellStyle that applies to the given (0 based) column, or null if no style has been set for that columnSXSSFRow.getRowStyle()
Returns the whole-row cell style.Methods in org.apache.poi.xssf.streaming with parameters of type CellStyleModifier and TypeMethodDescriptionvoid
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. -
Uses of CellStyle in org.apache.poi.xssf.usermodel
Classes in org.apache.poi.xssf.usermodel that implement CellStyleModifier and TypeClassDescriptionclass
High level representation of the the possible formatting information for the contents of the cells on a sheet in a SpreadsheetML document.Methods in org.apache.poi.xssf.usermodel that return CellStyleModifier and TypeMethodDescriptionXSSFSheet.getColumnStyle
(int column) Returns the CellStyle that applies to the given (0 based) column, or null if no style has been set for that columnMethods in org.apache.poi.xssf.usermodel with parameters of type CellStyleModifier and TypeMethodDescriptionvoid
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. -
Uses of CellStyle in org.apache.poi.xssf.usermodel.helpers
Methods in org.apache.poi.xssf.usermodel.helpers with parameters of type CellStyleModifier and TypeMethodDescriptionvoid
ColumnHelper.setColDefaultStyle
(long index, CellStyle style)