|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal public interface EvaluationWorkbook
Abstracts a workbook for the purpose of formula evaluation.
For POI internal use only
Nested Class Summary | |
---|---|
static class |
EvaluationWorkbook.ExternalName
|
static class |
EvaluationWorkbook.ExternalSheet
|
static class |
EvaluationWorkbook.ExternalSheetRange
|
Method Summary | |
---|---|
void |
clearAllCachedResultValues()
Propagated from WorkbookEvaluator.clearAllCachedResultValues() to clear locally cached data. |
int |
convertFromExternSheetIndex(int externSheetIndex)
HSSF Only - convert an external sheet index to an internal sheet index, for an external-style reference to one of this workbook's own sheets |
EvaluationWorkbook.ExternalName |
getExternalName(int externSheetIndex,
int externNameIndex)
HSSF Only - fetch the external-style name details |
EvaluationWorkbook.ExternalName |
getExternalName(java.lang.String nameName,
java.lang.String sheetName,
int externalWorkbookNumber)
XSSF Only - fetch the external-style name details |
EvaluationWorkbook.ExternalSheet |
getExternalSheet(int externSheetIndex)
HSSF Only - fetch the external-style sheet details |
EvaluationWorkbook.ExternalSheet |
getExternalSheet(java.lang.String firstSheetName,
java.lang.String lastSheetName,
int externalWorkbookNumber)
XSSF Only - fetch the external-style sheet details |
Ptg[] |
getFormulaTokens(EvaluationCell cell)
|
EvaluationName |
getName(NamePtg namePtg)
|
EvaluationName |
getName(java.lang.String name,
int sheetIndex)
|
EvaluationSheet |
getSheet(int sheetIndex)
|
int |
getSheetIndex(EvaluationSheet sheet)
|
int |
getSheetIndex(java.lang.String sheetName)
Finds a sheet index by case insensitive name. |
java.lang.String |
getSheetName(int sheetIndex)
|
SpreadsheetVersion |
getSpreadsheetVersion()
|
UDFFinder |
getUDFFinder()
|
java.lang.String |
resolveNameXText(NameXPtg ptg)
|
Method Detail |
---|
java.lang.String getSheetName(int sheetIndex)
int getSheetIndex(EvaluationSheet sheet)
int getSheetIndex(java.lang.String sheetName)
EvaluationSheet getSheet(int sheetIndex)
EvaluationWorkbook.ExternalSheet getExternalSheet(int externSheetIndex)
Return will have no workbook set if it's actually in our own workbook
EvaluationWorkbook.ExternalSheet getExternalSheet(java.lang.String firstSheetName, java.lang.String lastSheetName, int externalWorkbookNumber)
Return will have no workbook set if it's actually in our own workbook
int convertFromExternSheetIndex(int externSheetIndex)
EvaluationWorkbook.ExternalName getExternalName(int externSheetIndex, int externNameIndex)
EvaluationWorkbook.ExternalName getExternalName(java.lang.String nameName, java.lang.String sheetName, int externalWorkbookNumber)
EvaluationName getName(NamePtg namePtg)
EvaluationName getName(java.lang.String name, int sheetIndex)
java.lang.String resolveNameXText(NameXPtg ptg)
Ptg[] getFormulaTokens(EvaluationCell cell)
UDFFinder getUDFFinder()
SpreadsheetVersion getSpreadsheetVersion()
void clearAllCachedResultValues()
WorkbookEvaluator.clearAllCachedResultValues()
to clear locally cached data.
Implementations must call the same method on all referenced EvaluationSheet
instances, as well as clearing local caches.
WorkbookEvaluator.clearAllCachedResultValues()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |