Package | Description |
---|---|
org.zkoss.poi.hssf.converter | |
org.zkoss.poi.hssf.model |
Provides low level API structures for reading, writing, modifying XLS files.
|
org.zkoss.poi.hssf.record |
Record package contains class representations for XLS binary strutures.
|
org.zkoss.poi.hssf.record.aggregates |
record aggregates are not real "records" but collections of records that act as a single record.
|
org.zkoss.poi.hssf.record.cf | |
org.zkoss.poi.hssf.usermodel |
usermodel package maps HSSF low level strutures to familiar workbook/sheet model
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:
Apache POI Project
|
org.zkoss.poi.hssf.util |
util package contains tools needed for writing HSSF files that are not necesarily "real"
HSSF concepts.
|
org.zkoss.poi.ss.usermodel | |
org.zkoss.poi.ss.usermodel.charts | |
org.zkoss.poi.ss.util | |
org.zkoss.poi.ss.util.cellwalk | |
org.zkoss.poi.xssf.streaming | |
org.zkoss.poi.xssf.usermodel | |
org.zkoss.poi.xssf.usermodel.helpers |
Modifier and Type | Method and Description |
---|---|
static CellRangeAddress[][] |
ExcelToHtmlUtils.buildMergedRangesMap(HSSFSheet sheet)
Creates a map (i.e. two-dimensional array) filled with ranges.
|
static CellRangeAddress |
AbstractExcelUtils.getMergedRange(CellRangeAddress[][] mergedRanges,
int rowNumber,
int columnNumber) |
Modifier and Type | Method and Description |
---|---|
static CellRangeAddress |
AbstractExcelUtils.getMergedRange(CellRangeAddress[][] mergedRanges,
int rowNumber,
int columnNumber) |
protected int |
ExcelToHtmlConverter.processRow(CellRangeAddress[][] mergedRanges,
HSSFRow row,
org.w3c.dom.Element tableRowElement) |
protected int |
ExcelToFoConverter.processRow(HSSFWorkbook workbook,
CellRangeAddress[][] mergedRanges,
HSSFRow row,
org.w3c.dom.Element tableRowElement) |
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
InternalSheet.getMergedRegionAt(int index) |
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
MergeCellsRecord.getAreaAt(int index) |
CellRangeAddress[] |
CFHeaderRecord.getCellRanges() |
CellRangeAddress[] |
FeatRecord.getCellRefs() |
CellRangeAddress |
CFHeaderRecord.getEnclosingCellRange() |
Modifier and Type | Method and Description |
---|---|
void |
CFHeaderRecord.setCellRanges(CellRangeAddress[] cellRanges)
Set cell ranges list to a single cell range and
modify the enclosing cell range accordingly.
|
void |
FeatRecord.setCellRefs(CellRangeAddress[] cellRefs) |
void |
CFHeaderRecord.setEnclosingCellRange(CellRangeAddress cr) |
Constructor and Description |
---|
CFHeaderRecord(CellRangeAddress[] regions,
int nRules) |
MergeCellsRecord(CellRangeAddress[] regions,
int startIndex,
int numberOfRegions) |
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
MergedCellsTable.get(int index) |
CellRangeAddress |
FormulaRecordAggregate.getArrayFormulaRange() |
CellRangeAddress |
FormulaRecordAggregate.removeArrayFormula(int rowIndex,
int columnIndex)
Removes an array formula
|
Modifier and Type | Method and Description |
---|---|
void |
FormulaRecordAggregate.setArrayFormula(CellRangeAddress r,
Ptg[] ptgs) |
Constructor and Description |
---|
CFRecordsAggregate(CellRangeAddress[] regions,
CFRuleRecord[] rules) |
Modifier and Type | Method and Description |
---|---|
static CellRangeAddress |
CellRangeUtil.createEnclosingCellRange(CellRangeAddress crA,
CellRangeAddress crB)
Create an enclosing CellRange for the two cell ranges.
|
static CellRangeAddress[] |
CellRangeUtil.mergeCellRanges(CellRangeAddress[] cellRanges)
Do all possible cell merges between cells of the list so that:
if a cell range is completely inside of another cell range, it gets removed from the list if two cells have a shared border, merge them into one bigger cell range |
Modifier and Type | Method and Description |
---|---|
static boolean |
CellRangeUtil.contains(CellRangeAddress crA,
CellRangeAddress crB)
Check if the specified range is located inside of this cell range.
|
static CellRangeAddress |
CellRangeUtil.createEnclosingCellRange(CellRangeAddress crA,
CellRangeAddress crB)
Create an enclosing CellRange for the two cell ranges.
|
static boolean |
CellRangeUtil.hasExactSharedBorder(CellRangeAddress crA,
CellRangeAddress crB)
Check if the specified cell range has a shared border with the current range.
|
static int |
CellRangeUtil.intersect(CellRangeAddress crA,
CellRangeAddress crB)
Intersect this range with the specified range.
|
static CellRangeAddress[] |
CellRangeUtil.mergeCellRanges(CellRangeAddress[] cellRanges)
Do all possible cell merges between cells of the list so that:
if a cell range is completely inside of another cell range, it gets removed from the list if two cells have a shared border, merge them into one bigger cell range |
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
HSSFCell.getArrayFormulaRange() |
CellRangeAddress[] |
HSSFConditionalFormatting.getFormattingRanges() |
CellRangeAddress |
HSSFSheet.getMergedRegion(int index) |
CellRangeAddress |
HSSFAutoFilter.getRangeAddress() |
CellRangeAddress |
HSSFSheet.getRepeatingColumns() |
CellRangeAddress |
HSSFSheet.getRepeatingRows() |
CellRangeAddress |
HSSFSheet.removeAutoFilter() |
Modifier and Type | Method and Description |
---|---|
int |
HSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule rule1) |
int |
HSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule[] cfRules) |
int |
HSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule rule1,
ConditionalFormattingRule rule2) |
int |
HSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
HSSFConditionalFormattingRule rule1) |
int |
HSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
HSSFConditionalFormattingRule[] cfRules)
Allows to add a new Conditional Formatting set to the sheet.
|
int |
HSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
HSSFConditionalFormattingRule rule1,
HSSFConditionalFormattingRule rule2) |
int |
HSSFSheet.addMergedRegion(CellRangeAddress region)
adds a merged region of cells (hence those cells form one)
|
CellRange<HSSFCell> |
HSSFSheet.setArrayFormula(java.lang.String formula,
CellRangeAddress range) |
HSSFAutoFilter |
HSSFSheet.setAutoFilter(CellRangeAddress range) |
void |
HSSFSheet.setRepeatingColumns(CellRangeAddress columnRangeRef) |
void |
HSSFSheet.setRepeatingRows(CellRangeAddress rowRangeRef) |
Modifier and Type | Class and Description |
---|---|
class |
CellRangeAddress
Deprecated.
use
CellRangeAddress |
Modifier and Type | Method and Description |
---|---|
static void |
HSSFRegionUtil.setBorderBottom(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderBottom attribute of the HSSFRegionUtil object
|
static void |
HSSFRegionUtil.setBorderLeft(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the left border for a region of cells by manipulating the cell style
of the individual cells on the left
|
static void |
HSSFRegionUtil.setBorderRight(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderRight attribute of the HSSFRegionUtil object
|
static void |
HSSFRegionUtil.setBorderTop(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderBottom attribute of the HSSFRegionUtil object
|
static void |
HSSFRegionUtil.setBottomBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the bottomBorderColor attribute of the HSSFRegionUtil object
|
static void |
HSSFRegionUtil.setLeftBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the leftBorderColor attribute of the HSSFRegionUtil object
|
static void |
HSSFRegionUtil.setRightBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the rightBorderColor attribute of the HSSFRegionUtil object
|
static void |
HSSFRegionUtil.setTopBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the topBorderColor attribute of the HSSFRegionUtil object
|
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
Cell.getArrayFormulaRange()
Only valid for array formula cells
|
CellRangeAddress[] |
ConditionalFormatting.getFormattingRanges() |
CellRangeAddress |
Sheet.getMergedRegion(int index)
Returns the merged region at the specified index
|
CellRangeAddress |
AutoFilter.getRangeAddress()
Returns the filtered Range.
|
CellRangeAddress |
Sheet.getRepeatingColumns()
Gets the repeating columns used when printing the sheet, as found in
File->PageSetup->Sheet.
|
CellRangeAddress |
Sheet.getRepeatingRows()
Gets the repeating rows used when printing the sheet, as found in
File->PageSetup->Sheet.
|
CellRangeAddress |
Sheet.removeAutoFilter()
remove the autoFilter
|
Modifier and Type | Method and Description |
---|---|
int |
SheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule rule)
Add a new Conditional Formatting to the sheet.
|
int |
SheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule[] cfRules)
Add a new Conditional Formatting set to the sheet.
|
int |
SheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule rule1,
ConditionalFormattingRule rule2)
Add a new Conditional Formatting consisting of two rules.
|
int |
Sheet.addMergedRegion(CellRangeAddress region)
Adds a merged region of cells (hence those cells form one)
|
CellRange<? extends Cell> |
Sheet.setArrayFormula(java.lang.String formula,
CellRangeAddress range)
Sets array formula to specified region for result.
|
AutoFilter |
Sheet.setAutoFilter(CellRangeAddress range)
Enable filtering for a range of cells
|
void |
Sheet.setRepeatingColumns(CellRangeAddress columnRangeRef)
Sets the repeating columns used when printing the sheet, as found in
File->PageSetup->Sheet.
|
void |
Sheet.setRepeatingRows(CellRangeAddress rowRangeRef)
Sets the repeating rows used when printing the sheet, as found in
File->PageSetup->Sheet.
|
Modifier and Type | Method and Description |
---|---|
static ChartTextSource |
DataSources.fromCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
static ChartDataSource<java.lang.Number> |
DataSources.fromNumericCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
static ChartDataSource<java.lang.String> |
DataSources.fromStringCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
Modifier and Type | Method and Description |
---|---|
static CellRangeAddress[] |
Region.convertRegionsToCellRanges(Region[] regions)
Deprecated.
|
static CellRangeAddress |
Region.convertToCellRangeAddress(Region r)
Deprecated.
|
CellRangeAddress |
CellRangeAddress.copy() |
CellRangeAddress |
CellRangeAddressList.getCellRangeAddress(int index) |
CellRangeAddress[] |
CellRangeAddressList.getCellRangeAddresses() |
CellRangeAddress |
CellRangeAddressList.remove(int rangeIndex) |
static CellRangeAddress |
CellRangeAddress.valueOf(java.lang.String ref)
Creates a CellRangeAddress from a cell range reference string.
|
Modifier and Type | Method and Description |
---|---|
void |
CellRangeAddressList.addCellRangeAddress(CellRangeAddress cra) |
static boolean |
SheetUtil.containsCell(CellRangeAddress cr,
int rowIx,
int colIx) |
static Region[] |
Region.convertCellRangesToRegions(CellRangeAddress[] cellRanges)
Deprecated.
Convert a List of CellRange objects to an array of regions
|
static void |
RegionUtil.setBorderBottom(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the borderBottom attribute of the RegionUtil object
|
static void |
RegionUtil.setBorderLeft(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the left border for a region of cells by manipulating the cell style of the individual
cells on the left
|
static void |
RegionUtil.setBorderRight(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the borderRight attribute of the RegionUtil object
|
static void |
RegionUtil.setBorderTop(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the borderBottom attribute of the RegionUtil object
|
static void |
RegionUtil.setBottomBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the bottomBorderColor attribute of the RegionUtil object
|
static void |
RegionUtil.setLeftBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the leftBorderColor attribute of the RegionUtil object
|
static void |
RegionUtil.setRightBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the rightBorderColor attribute of the RegionUtil object
|
static void |
RegionUtil.setTopBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the topBorderColor attribute of the RegionUtil object
|
Constructor and Description |
---|
CellWalk(Sheet sheet,
CellRangeAddress range) |
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
SXSSFCell.getArrayFormulaRange()
Only valid for array formula cells
|
CellRangeAddress |
SXSSFSheet.getMergedRegion(int index)
Returns the merged region at the specified index
|
CellRangeAddress |
SXSSFSheet.getRepeatingColumns() |
CellRangeAddress |
SXSSFSheet.getRepeatingRows() |
CellRangeAddress |
SXSSFSheet.removeAutoFilter() |
Modifier and Type | Method and Description |
---|---|
int |
SXSSFSheet.addMergedRegion(CellRangeAddress region)
Adds a merged region of cells (hence those cells form one)
|
CellRange<? extends Cell> |
SXSSFSheet.setArrayFormula(java.lang.String formula,
CellRangeAddress range)
Sets array formula to specified region for result.
|
AutoFilter |
SXSSFSheet.setAutoFilter(CellRangeAddress range)
Enable filtering for a range of cells
|
void |
SXSSFSheet.setRepeatingColumns(CellRangeAddress columnRangeRef) |
void |
SXSSFSheet.setRepeatingRows(CellRangeAddress rowRangeRef) |
Modifier and Type | Method and Description |
---|---|
CellRangeAddress |
XSSFCell.getArrayFormulaRange() |
CellRangeAddress[] |
XSSFConditionalFormatting.getFormattingRanges() |
CellRangeAddress |
XSSFSheet.getMergedRegion(int index) |
CellRangeAddress |
XSSFAutoFilter.getRangeAddress() |
CellRangeAddress |
XSSFSheet.getRepeatingColumns() |
CellRangeAddress |
XSSFSheet.getRepeatingRows() |
CellRangeAddress |
XSSFSheet.removeAutoFilter() |
Modifier and Type | Method and Description |
---|---|
int |
XSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule rule1) |
int |
XSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule[] cfRules) |
int |
XSSFSheetConditionalFormatting.addConditionalFormatting(CellRangeAddress[] regions,
ConditionalFormattingRule rule1,
ConditionalFormattingRule rule2) |
int |
XSSFSheet.addMergedRegion(CellRangeAddress region)
Adds a merged region of cells (hence those cells form one).
|
CellRange<XSSFCell> |
XSSFSheet.setArrayFormula(java.lang.String formula,
CellRangeAddress range) |
AutoFilter |
XSSFSheet.setAutoFilter(CellRangeAddress range) |
void |
XSSFSheet.setRepeatingColumns(CellRangeAddress columnRangeRef) |
void |
XSSFSheet.setRepeatingRows(CellRangeAddress rowRangeRef) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CellRangeAddress> |
XSSFRowShifter.shiftMerged(int startRow,
int endRow,
int n)
Shift merged regions
|
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.