| Package | Description |
|---|---|
| io.starter.formats.XLS | |
| io.starter.formats.XLS.formulas | |
| io.starter.OpenXLS |
The OpenXLS package contains the primary classes for working with spreadsheets.
|
| Modifier and Type | Method and Description |
|---|---|
protected CellHandle |
OOXMLReader.sheetAdd(WorkSheetHandle sheet,
Object val,
Object cachedval,
int r,
int c,
int fmtid)
intercept Sheet adds and hand off to parse event listener as needed
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ReferenceTracker.adjustFormulaRefs(CellHandle newcell,
int newrownum,
int offset,
boolean shiftRow)
IF the newly inserted cell is a Formula, we need to update its cell range(s)
called by shiftRow
|
Map |
ReferenceTracker.clearAffectedFormulaCells(CellHandle cx)
Returns a Collection Map of cells that are affected by formula
references to this CellHandle.
|
Map |
ReferenceTracker.clearAffectedFormulaCellsOnSheet(CellHandle cx,
String sheetname)
Returns ALL formulas on the cellhandles sheet that reference this CellHandle.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PtgArea.contains(CellHandle ch)
returns whether this CellRange Contains a Cell
|
boolean |
PtgArea3d.contains(CellHandle ch)
returns whether this CellRange Contains a Cell
|
| Modifier and Type | Field and Description |
|---|---|
CellHandle[] |
CellRange.cells |
| Modifier and Type | Method and Description |
|---|---|
CellHandle |
WorkSheetHandle.add(Date dt,
int row,
int col,
String fmt)
Add a java.sql.Date Cell to a WorkSheet.
|
CellHandle |
WorkSheet.add(Date dt,
String address,
String fmt)
Add a java.sql.Date Cell to a WorkSheet.
|
CellHandle |
WorkSheetHandle.add(Date dt,
String address,
String fmt)
Add a java.sql.Date Cell to a WorkSheet.
|
CellHandle |
WorkSheet.add(Object obj,
int row,
int col)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle |
WorkSheetHandle.add(Object obj,
int row,
int col)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle |
WorkSheetHandle.add(Object obj,
int row,
int col,
int formatId)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle |
WorkSheet.add(Object obj,
String address)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle |
WorkSheetHandle.add(Object obj,
String address)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle |
WorkSheetHandle.add(Object obj,
String address,
boolean autoDetectValue)
Add a Cell with the specified value to a WorkSheet, optionally attempting to
convert numeric values to appropriate number cells with appropriate number
formatting applied.
|
CellHandle |
WorkSheetHandle.add(Timestamp dt,
String address,
String fmt)
Add a java.sql.Timestamp Cell to a WorkSheet.
|
CellHandle[] |
WorkSheetHandle.addValidated(Date dt,
int row,
int col,
String fmt)
Add a java.sql.Date Cell to a WorkSheet.
|
CellHandle[] |
WorkSheetHandle.addValidated(Date dt,
String address,
String fmt)
Add a java.sql.Date Cell to a WorkSheet.
|
CellHandle[] |
WorkSheetHandle.addValidated(Object obj,
int row,
int col)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle[] |
WorkSheetHandle.addValidated(Object obj,
int row,
int col,
int formatId)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle[] |
WorkSheetHandle.addValidated(Object obj,
String address)
Add a Cell with the specified value to a WorkSheet.
|
CellHandle[] |
WorkSheetHandle.addValidated(Timestamp dt,
String address,
String fmt)
Add a java.sql.Timestamp Cell to a WorkSheet.
|
protected static CellHandle |
CellHandle.copyCellHelper(CellHandle sourcecell,
CellHandle newcell)
Copies all formatting - xf and non-xf (such as column width, hidden state)
plus merged cell range from a sourcecell to a new cell (usually in a new
workbook)
|
static CellHandle |
CellHandle.copyCellToWorkSheet(CellHandle sourcecell,
WorkSheetHandle newsheet)
Create a copy of this Cell in another WorkBook
|
static CellHandle |
CellHandle.copyCellToWorkSheet(CellHandle sourcecell,
WorkSheetHandle newsheet,
int row,
int col)
Creates a copy of this cell on the given worksheet at the given address.
|
static CellHandle |
CellHandle.copyCellToWorkSheet(CellHandle sourcecell,
WorkSheetHandle newsheet,
int row,
int col,
boolean copyByValue)
Creates a copy of this cell on the given worksheet at the given address.
|
CellHandle |
CellHandle.copyTo(String newaddr)
copy this Cell to another location.
|
CellHandle |
WorkSheet.getCell(int row,
int col)
Returns a CellHandle for working with
the value of a Cell on a WorkSheet.
|
CellHandle |
WorkSheetHandle.getCell(int row,
int col)
Returns a CellHandle for working with the value of a Cell on a WorkSheet.
|
CellHandle |
WorkSheetHandle.getCell(int row,
int col,
boolean cache)
Returns a CellHandle for working with the value of a Cell on a WorkSheet.
|
CellHandle |
WorkSheet.getCell(String addr)
Returns a CellHandle for working with
the value of a Cell on a WorkSheet.
|
CellHandle |
WorkBookHandle.getCell(String address)
Returns the Cell at the specified Location
|
CellHandle |
WorkSheetHandle.getCell(String addr)
Returns a CellHandle for working with the value of a Cell on a WorkSheet.
|
CellHandle |
WorkBook.getCell(String address)
Returns the Cell at the specified Location
|
static CellHandle[] |
ExcelTools.getCellHandlesFromSheet(String strRange,
WorkSheetHandle sheet)
Return an array of cell handles specified from the string passed in.
|
CellHandle[] |
CellRange.getCells()
get the Cells in this cell range
|
CellHandle[] |
WorkSheet.getCells()
Returns all CellHandles defined on this WorkSheet.
|
CellHandle[] |
WorkBookHandle.getCells()
Returns an array containing all cells in the WorkBook
|
CellHandle[] |
RowHandle.getCells()
Returns the array of Cells in this Row
|
CellHandle[] |
WorkSheetHandle.getCells()
Returns all CellHandles defined on this WorkSheet.
|
CellHandle[] |
NameHandle.getCells()
gets the array of Cells in this Name
|
CellHandle[] |
WorkBook.getCells()
Returns all of the Cells contained in the WorkBook
|
CellHandle[] |
ColHandle.getCells()
returns the array of Cells in this Column
|
CellHandle[] |
RowHandle.getCells(boolean cached)
Returns the array of Cells in this Row
|
static CellHandle[] |
CellRange.getCells(String range,
WorkBookHandle wbh)
returns the cells for a given range
static version |
CellHandle[] |
WorkSheetHandle.insertRow(int row1,
Object[] data)
Insert a row of Objects into the worksheet.
|
CellHandle[] |
WorkSheetHandle.insertRow(int rownum,
Object[] data,
boolean shiftrows)
Insert a row of Objects into the worksheet.
|
| Modifier and Type | Method and Description |
|---|---|
List<CellHandle> |
CellHandle.calculateAffectedCells()
Calculates and returns all formulas that reference this CellHandle.
|
Collection<CellHandle> |
CellRange.calculateAffectedCellsOnSheet() |
List<CellHandle> |
CellHandle.calculateAffectedCellsOnSheet()
Calculates and returns all formulas on the same sheet that reference this
CellHandle.
|
List<CellHandle> |
CellRange.getCellList()
Return a list of the cells in this cell range
|
ArrayList<CellHandle> |
CellRange.getCellsByCol(String col)
Get the cells from a particular column, constrained by the boundaries of the
cellRange
|
ArrayList<CellHandle> |
CellRange.getCellsByRow(int rownumber)
Get the cells from a particular rownumber, constrained by the boundaries of
the cellRange
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConditionalFormatHandle.addCell(CellHandle cellHandle)
Add a cell to this conditional format record
|
void |
FormatHandle.addCell(CellHandle c)
add a Cell to this FormatHandle thus applying the Format to the Cell
|
void |
NameHandle.addCell(CellHandle cx)
add a cell to this named range
|
void |
FormatHandle.addCellArray(CellHandle[] crcells)
Apply this Format to a Range of Cells
|
boolean |
CellRange.addCellToRange(CellHandle ch)
Increase the bounds of the CellRange by including the CellHandle.
|
boolean |
FormulaHandle.addCellToRange(String formulaLoc,
CellHandle handle)
Changes a range in a formula to expand until it includes the
cell address from CellHandle.
|
ChartSeriesHandle |
ChartHandle.addSeriesRange(CellHandle legendCell,
CellRange categoryRange,
CellRange seriesRange,
CellRange bubbleRange)
Adds a new Series to the chart via CellHandles and CellRange Objects.
|
ChartSeriesHandle |
ChartHandle.addSeriesRange(CellHandle legendCell,
CellRange categoryRange,
CellRange seriesRange,
CellRange bubbleRange,
int nChart)
Adds a new Series to the chart via CellHandles and CellRange Objects.
|
int |
CellHandle.compareTo(CellHandle that) |
boolean |
ConditionalFormatHandle.contains(CellHandle cellHandle)
Determine if the conditional format contains/affects the cell handle passed in
|
protected static CellHandle |
CellHandle.copyCellHelper(CellHandle sourcecell,
CellHandle newcell)
Copies all formatting - xf and non-xf (such as column width, hidden state)
plus merged cell range from a sourcecell to a new cell (usually in a new
workbook)
|
static CellHandle |
CellHandle.copyCellToWorkSheet(CellHandle sourcecell,
WorkSheetHandle newsheet)
Create a copy of this Cell in another WorkBook
|
static CellHandle |
CellHandle.copyCellToWorkSheet(CellHandle sourcecell,
WorkSheetHandle newsheet,
int row,
int col)
Creates a copy of this cell on the given worksheet at the given address.
|
static CellHandle |
CellHandle.copyCellToWorkSheet(CellHandle sourcecell,
WorkSheetHandle newsheet,
int row,
int col,
boolean copyByValue)
Creates a copy of this cell on the given worksheet at the given address.
|
void |
CellHandle.copyFormat(CellHandle source)
Copy all formats from a source Cell to this Cell
|
boolean |
ConditionalFormatRule.evaluate(CellHandle refcell)
evaluates the criteria for this Conditional Format Rule
if the criteria involves a comparison i.e. |
ConditionalFormatRule |
ConditionalFormatHandle.evaluate(CellHandle refcell)
evaluates the criteria for this Conditional Format
if the criteria involves a comparison i.e. |
void |
CellRange.fill(CellHandle source,
int what,
double increment)
Fills this range from the given cell.
|
static Date |
DateConverter.getDateFromCell(CellHandle cell)
Gets the Date for the given cell.
|
int[] |
CellRange.getEdgePositions(CellHandle ch,
int sz)
returns edge status of the desired CellHandle within this CellRange ie: top,
left, bottom, right
returns 0 or 1 for 4 sides 1,1,1,1 is a single cell in a range 1,1,0,0 is on the top left edge of the range |
static String |
DateConverter.getFormattedDateVal(CellHandle cell)
Deprecated.
The date format handling in this method is wildly incorrect.
It is retained only to provide compatibility with legacy
OpenXLS XML files.
|
void |
WorkSheet.moveCell(CellHandle c,
String addr)
Move a cell on this WorkSheet.
|
void |
WorkSheetHandle.moveCell(CellHandle c,
String addr)
Move a cell on this WorkSheet.
|
void |
WorkSheet.removeCell(CellHandle celldel)
Remove a Cell from this WorkSheet.
|
void |
WorkSheetHandle.removeCell(CellHandle celldel)
Remove a Cell from this WorkSheet.
|
void |
FormatHandle.stamp(CellHandle cell)
Applies the format to a cell without establishing a relationship.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CellRange.sort(int rownumber,
Comparator<CellHandle> comparator,
boolean ascending)
Re-sort all cells in this cell range according to the column.
|
| Constructor and Description |
|---|
CellRange(CellHandle[] newcells)
Constructor which creates a new CellRange using an array of cells as it's
constructor.
|
CellRange(CellHandle[] newcells,
boolean createblanks)
create a new CellRange using an array of cells as it's constructor.
|
FormatHandle(CellHandle c)
Creates a FormatHandle for the given cell.
|
FormatHandle(Condfmt cx,
WorkBook book,
int xfnum,
CellHandle c)
Constructs a dummy FormatHandle for the given conditional format.
|
Copyright © 2002–2019 Starter Inc.. All rights reserved.