public class ExcelCell extends Object
Constructor and Description |
---|
ExcelCell(org.apache.poi.ss.usermodel.Cell cell,
ExcelRow row) |
Modifier and Type | Method and Description |
---|---|
ExcelCell |
autoSizeColumn(int startCol,
int endCol) |
org.apache.poi.ss.usermodel.CellStyle |
cloneStyle() |
org.apache.poi.ss.usermodel.CellStyle |
cloneStyle(int styleHashcode) |
ExcelCell |
comment(String commentText) |
Optional<org.apache.poi.ss.usermodel.CellStyle> |
findStyle(int styleHashcode) |
ExcelCell |
formula(String formula) |
ExcelCell |
link(String url,
String label) |
ExcelCell |
newCell(boolean value) |
ExcelCell |
newCell(long value) |
ExcelCell |
newCell(Number value) |
ExcelCell |
newCell(String value) |
ExcelCell |
newCell(String url,
String label)
Add a hyperlink
|
ExcelCell |
newCell(Temporal value) |
ExcelCell |
newCellFormula(String formula) |
ExcelRow |
newRow() |
ExcelRow |
newRow(int rowIdx) |
ExcelSheet |
newSheet(String title) |
org.apache.poi.ss.usermodel.Cell |
poiCell() |
org.apache.poi.ss.usermodel.Row |
poiRow() |
org.apache.poi.ss.usermodel.Workbook |
poiWorkbook() |
ExcelRow |
row() |
int |
rowIndex() |
ExcelCell |
save(String fileName) |
ExcelCell |
setStyle(org.apache.poi.ss.usermodel.CellStyle style) |
ExcelRow |
skipCol() |
ExcelCell |
style(ExcelStyle style) |
ExcelCell |
value(boolean value) |
ExcelCell |
value(long value) |
ExcelCell |
value(Number value) |
ExcelCell |
value(String value) |
ExcelCell |
value(Temporal value) |
ExcelWorkbook |
workbook() |
public ExcelCell(org.apache.poi.ss.usermodel.Cell cell, ExcelRow row)
public ExcelRow row()
public int rowIndex()
public ExcelRow skipCol()
public ExcelCell newCell(String url, String label)
url
- URLlabel
- Label for the cellpublic ExcelCell newCell(boolean value)
public ExcelCell newCell(long value)
public ExcelRow newRow()
public ExcelSheet newSheet(String title)
public ExcelCell value(long value)
public ExcelCell value(boolean value)
public org.apache.poi.ss.usermodel.CellStyle cloneStyle()
public ExcelCell setStyle(org.apache.poi.ss.usermodel.CellStyle style)
public ExcelCell style(ExcelStyle style)
public Optional<org.apache.poi.ss.usermodel.CellStyle> findStyle(int styleHashcode)
public org.apache.poi.ss.usermodel.CellStyle cloneStyle(int styleHashcode)
public ExcelRow newRow(int rowIdx)
public ExcelWorkbook workbook()
public ExcelCell save(String fileName) throws IOException
IOException
public ExcelCell autoSizeColumn(int startCol, int endCol)
public org.apache.poi.ss.usermodel.Cell poiCell()
public org.apache.poi.ss.usermodel.Row poiRow()
public org.apache.poi.ss.usermodel.Workbook poiWorkbook()
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.