public class ExcelBuilderMultiSheet extends ExcelBuilder
ExcelBuilder
to write over several excel sheet once a cell column exceeds the maximum
number of column for excel.ExcelBuilder.Type
CRASH_ON_CELL_OVERFLOW, LAST_COLUMN, LAST_ROW, MAX_COLUMN, MAX_ROW
Constructor and Description |
---|
ExcelBuilderMultiSheet() |
ExcelBuilderMultiSheet(ExcelBuilder.Type type) |
ExcelBuilderMultiSheet(ExcelBuilder.Type type,
String firstSheet) |
Modifier and Type | Method and Description |
---|---|
int |
getVirtualCellColumn(int realColumn)
Return a column ID for the expected cell:
returns 255 for realColumn=255
returns 0 for realColumn=256
...
|
int |
getVirtualCellSheet(int realColumn)
Return a sheet ID for the expected cell:
sheet 0 for cells [0;255]
sheet 1 for cells [256;511]
...
|
boolean |
isMultiSheetColumns() |
void |
setMultiSheetColumns(boolean multiSheetMode)
If true, the builder is able to switch on next sheets to fill cells with column id > 255.
|
addComment, buildComment, getAllSheets, getBoldFont, getColor, getColor, getCurrentSheet, getCurrentSheetId, getHSSFWorkbook, getWorkbook, load, load, loadPicture, mergeRange, newCellStyle, newColoredCellStyle, newFont, newFont, newSheet, save, save, setCell, setCell, setColumnWidth, setColumnWidthAuto, setCurrentSheetId, setFreezePane, setFreezePane, setPicture, setRowHeight, setSplitPane
public ExcelBuilderMultiSheet()
public ExcelBuilderMultiSheet(ExcelBuilder.Type type, String firstSheet)
public ExcelBuilderMultiSheet(ExcelBuilder.Type type)
public boolean isMultiSheetColumns()
public void setMultiSheetColumns(boolean multiSheetMode)
public int getVirtualCellSheet(int realColumn)
public int getVirtualCellColumn(int realColumn)
Copyright © 2015 Nuxeo SA. All rights reserved.