public class WorkBookHelper extends Object
Workbook
Constructor and Description |
---|
WorkBookHelper(org.apache.poi.ss.usermodel.Workbook wb) |
Modifier and Type | Method and Description |
---|---|
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
org.apache.poi.ss.usermodel.CellStyle cellStyle) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
Border border) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
Borders borders) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
org.apache.poi.ss.usermodel.CellStyle cellStyle) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
org.apache.poi.ss.usermodel.CellStyle cellStyle,
org.apache.poi.ss.usermodel.Font font,
Border border) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
org.apache.poi.ss.usermodel.CellStyle cellStyle,
org.apache.poi.ss.usermodel.Font font,
Borders borders) |
org.apache.poi.ss.usermodel.Cell |
addCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
org.apache.poi.ss.usermodel.Font font) |
org.apache.poi.ss.usermodel.Cell |
addHeaderCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value) |
org.apache.poi.ss.usermodel.Cell |
addHyperLinkCell(org.apache.poi.ss.usermodel.Row row,
int column,
String value,
String address) |
void |
applyBorders(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.util.CellRangeAddress cellRangeAddress,
Borders borders) |
void |
applyOuterBorders(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.util.CellRangeAddress cellRangeAddress,
Borders borders) |
void |
autoSizeAllColumns(org.apache.poi.ss.usermodel.Sheet sheet,
int columns) |
void |
autoSizeColumns(org.apache.poi.ss.usermodel.Sheet sheet,
int... columns) |
void |
borderColumns(org.apache.poi.ss.usermodel.Sheet sheet,
Border border,
int... columns) |
void |
borderColumns(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow,
Border border,
int... columns) |
void |
borderRow(org.apache.poi.ss.usermodel.Row row,
Border border,
int endColumnsIndex) |
void |
borderRow(org.apache.poi.ss.usermodel.Row row,
Border border,
int beginColumnIndex,
int endColumnsIndex) |
Borders.BorderBuilder |
borders() |
org.apache.poi.ss.usermodel.Sheet |
createSheet() |
FontBuilder |
font() |
byte[] |
getData() |
org.apache.poi.ss.usermodel.CellStyle |
getDefaultCellstyle() |
org.apache.poi.ss.usermodel.CellStyle |
getHeaderCellStyle() |
int |
getMaxRow(org.apache.poi.ss.usermodel.Sheet sheet) |
org.apache.poi.ss.usermodel.Row |
getRow(org.apache.poi.ss.usermodel.Sheet sheet,
int row) |
void |
setAutoFilter(org.apache.poi.ss.usermodel.Sheet sheet,
int startRow,
int columns) |
void |
setColumnAndRowSpan(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Cell cell,
int colSpan,
int rowSpan) |
void |
setColumnSpan(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Cell cell,
int span) |
void |
setDefaultCellstyle(org.apache.poi.ss.usermodel.CellStyle defaultCellstyle) |
void |
setHeaderCellstyle(org.apache.poi.ss.usermodel.CellStyle headerCellstyle) |
void |
setRowSpan(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Cell cell,
int span) |
public org.apache.poi.ss.usermodel.Sheet createSheet()
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, org.apache.poi.ss.usermodel.CellStyle cellStyle)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value, org.apache.poi.ss.usermodel.CellStyle cellStyle)
public org.apache.poi.ss.usermodel.Cell addHeaderCell(org.apache.poi.ss.usermodel.Row row, int column, String value)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value, org.apache.poi.ss.usermodel.Font font)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value, Border border)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value, Borders borders)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value, org.apache.poi.ss.usermodel.CellStyle cellStyle, org.apache.poi.ss.usermodel.Font font, Border border)
public org.apache.poi.ss.usermodel.Cell addCell(org.apache.poi.ss.usermodel.Row row, int column, String value, org.apache.poi.ss.usermodel.CellStyle cellStyle, org.apache.poi.ss.usermodel.Font font, Borders borders)
public org.apache.poi.ss.usermodel.Cell addHyperLinkCell(org.apache.poi.ss.usermodel.Row row, int column, String value, String address)
public void borderColumns(org.apache.poi.ss.usermodel.Sheet sheet, Border border, int... columns)
public void borderColumns(org.apache.poi.ss.usermodel.Sheet sheet, int startRow, Border border, int... columns)
public void borderRow(org.apache.poi.ss.usermodel.Row row, Border border, int endColumnsIndex)
public void borderRow(org.apache.poi.ss.usermodel.Row row, Border border, int beginColumnIndex, int endColumnsIndex)
public org.apache.poi.ss.usermodel.Row getRow(org.apache.poi.ss.usermodel.Sheet sheet, int row)
public byte[] getData() throws IOException
IOException
public void setColumnSpan(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.Cell cell, int span)
public void setAutoFilter(org.apache.poi.ss.usermodel.Sheet sheet, int startRow, int columns)
public void setRowSpan(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.Cell cell, int span)
public void setColumnAndRowSpan(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.Cell cell, int colSpan, int rowSpan)
public void autoSizeAllColumns(org.apache.poi.ss.usermodel.Sheet sheet, int columns)
public void autoSizeColumns(org.apache.poi.ss.usermodel.Sheet sheet, int... columns)
public int getMaxRow(org.apache.poi.ss.usermodel.Sheet sheet)
public FontBuilder font()
public Borders.BorderBuilder borders()
public void applyBorders(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.util.CellRangeAddress cellRangeAddress, Borders borders)
public void applyOuterBorders(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.util.CellRangeAddress cellRangeAddress, Borders borders)
public org.apache.poi.ss.usermodel.CellStyle getDefaultCellstyle()
public void setDefaultCellstyle(org.apache.poi.ss.usermodel.CellStyle defaultCellstyle)
public org.apache.poi.ss.usermodel.CellStyle getHeaderCellStyle()
public void setHeaderCellstyle(org.apache.poi.ss.usermodel.CellStyle headerCellstyle)
Copyright © 2011–2020 aiticon GmbH. All rights reserved.