public interface FormulaParsingWorkbook
Modifier and Type | Method and Description |
---|---|
TablePtg |
createTablePtg(String tableName,
Object[] specifiers,
int sheetIndex,
int rowIdx,
int colIdx) |
String |
getBookNameFromExternalLinkIndex(String externalLinkIndex)
Return the associated book name of the specified ExternalLink index.
|
int |
getExternalSheetIndex(String sheetName)
gets the externSheet index for a sheet from this workbook
|
int |
getExternalSheetIndex(String workbookName,
String sheetName)
gets the externSheet index for a sheet from an external workbook
|
Map<String,Formula> |
getFormulaParsingCache() |
EvaluationName |
getName(String name,
int sheetIndex)
named range name matching is case insensitive
|
EvaluationName |
getName(String name,
String sheetName)
named range name matching is case insensitive
|
NameXPtg |
getNameXPtg(String name) |
EvaluationName |
getOrCreateName(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.)
|
String |
getTableName(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(String name, int sheetIndex)
int getExternalSheetIndex(String sheetName)
int getExternalSheetIndex(String workbookName, String sheetName)
workbookName
- e.g. "Budget.xls"sheetName
- a name of a sheet in that workbookSpreadsheetVersion getSpreadsheetVersion()
String getBookNameFromExternalLinkIndex(String externalLinkIndex)
externalLinkIndex
- external link indexEvaluationName getOrCreateName(String name, int sheetIndex)
boolean isAllowedDeferredNamePtg()
EvaluationName getName(String name, String sheetName)
TablePtg createTablePtg(String tableName, Object[] specifiers, int sheetIndex, int rowIdx, int colIdx)
tableName
- specifiers
- sheetIndex
- rowIdx
- colIdx
- String getTableName(String name)
name
- Copyright © 2020. All rights reserved.