public interface FormulaParsingWorkbook
Modifier and Type | Method and Description |
---|---|
TablePtg |
createTablePtg(java.lang.String tableName,
java.lang.Object[] specifiers,
int sheetIndex,
int rowIdx,
int colIdx) |
java.lang.String |
getBookNameFromExternalLinkIndex(java.lang.String externalLinkIndex)
Return the associated book name of the specified ExternalLink index.
|
int |
getExternalSheetIndex(java.lang.String sheetName)
gets the externSheet index for a sheet from this workbook
|
int |
getExternalSheetIndex(java.lang.String workbookName,
java.lang.String sheetName)
gets the externSheet index for a sheet from an external workbook
|
EvaluationName |
getName(java.lang.String name,
int sheetIndex)
named range name matching is case insensitive
|
EvaluationName |
getName(java.lang.String name,
java.lang.String sheetName)
named range name matching is case insensitive
|
NameXPtg |
getNameXPtg(java.lang.String name) |
EvaluationName |
getOrCreateName(java.lang.String name,
int sheetIndex)
named range name matching is case insensitive
|
SpreadsheetVersion |
getSpreadsheetVersion()
Returns an enum holding spreadhseet properties specific to an Excel version (
max column and row numbers, max arguments to a function, etc.)
|
java.lang.String |
getTableName(java.lang.String name)
Given a name and return the real table name(consider uppercase/lowecase);
It can be used to check whether the specified name is a table name if
the returned name is null.
|
boolean |
isAllowedDeferredNamePtg()
In HSSF, we need to render a formula string from stored Ptg, so a formula cannot be parsed to DeferredNamePtg.
|
EvaluationName getName(java.lang.String name, int sheetIndex)
NameXPtg getNameXPtg(java.lang.String name)
int getExternalSheetIndex(java.lang.String sheetName)
int getExternalSheetIndex(java.lang.String workbookName, java.lang.String sheetName)
workbookName
- e.g. "Budget.xls"sheetName
- a name of a sheet in that workbookSpreadsheetVersion getSpreadsheetVersion()
java.lang.String getBookNameFromExternalLinkIndex(java.lang.String externalLinkIndex)
externalLinkIndex
- external link indexEvaluationName getOrCreateName(java.lang.String name, int sheetIndex)
boolean isAllowedDeferredNamePtg()
EvaluationName getName(java.lang.String name, java.lang.String sheetName)
TablePtg createTablePtg(java.lang.String tableName, java.lang.Object[] specifiers, int sheetIndex, int rowIdx, int colIdx)
tableName
- specifiers
- sheetIndex
- rowIdx
- colIdx
- java.lang.String getTableName(java.lang.String name)
name
- Copyright © 2005-2010 Potix Corporation. All Rights Reserved.