public class Table extends Object
| Constructor and Description |
|---|
Table() |
Table(ExporterFormatter exporterFormatter) |
public Table()
public Table(ExporterFormatter exporterFormatter)
public void replaceLastCell(TableCell cell)
public TableCell getLastCell()
public String getLastCellContent()
public void replaceLastCellContent(String content)
public Integer getLastRowIndex()
public void add(TableCell cell)
public void add(Object content)
public void add(Object content, TableCellStyle tableCellStyle)
public void add(Object content, TableCellStyle tableCellStyle, int colspan)
public void addOnNewRow(TableCell cell)
public void addNewRow()
public void removeFirstRow()
public void removeInitialRows(int numberRows)
public org.apache.poi.ss.usermodel.Workbook toXSSFWorkBook()
public org.apache.poi.ss.usermodel.Workbook toHSSFWorkBook()
public org.apache.poi.ss.usermodel.Workbook toWorkBook(org.apache.poi.ss.usermodel.Workbook wb)
public void concatenateTableOnRight(Table table)
public void concatenateTableBelow(Table table)
public String getTitle()
public void setTitle(String title)
public int getNextColumnIndexOfLastRow()
public boolean isAutoSizeColumnSheet()
Este método identifica se ao escrever as colunas da planilha deve ser
utilizado o método autoSizeColumn do objeto
org.apache.poi.ss.usermodel.Sheet.
Se retornar false as colunas serão redimencionadas realizando um cálculo considerando o maior número de caracteres existente em uma coluna
true caso esteja configurado auto size. false caso contráriopublic void setAutoSizeColumnSheet(boolean autoSizeColumnSheet)
public ExporterFormatter getExporterFormatter()
public void setExporterFormatter(ExporterFormatter exporterFormatter)
public Table withNewRow()
public Table withCell(Object content, TableCellStyle tableCellStyle)
public Table withCell(Object content, TableCellStyle tableCellStyle, int colspan)
Copyright © 2016 TecSinapse. All rights reserved.