|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.xssf.usermodel.XSSFEvaluationWorkbook
public final class XSSFEvaluationWorkbook
Internal POI use only
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.poi.ss.formula.EvaluationWorkbook |
---|
EvaluationWorkbook.ExternalName, EvaluationWorkbook.ExternalSheet |
Method Summary | |
---|---|
int |
convertFromExternSheetIndex(int externSheetIndex)
|
static XSSFEvaluationWorkbook |
create(XSSFWorkbook book)
|
EvaluationWorkbook.ExternalName |
getExternalName(int externSheetIndex,
int externNameIndex)
|
EvaluationWorkbook.ExternalSheet |
getExternalSheet(int externSheetIndex)
|
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 |
Ptg[] |
getFormulaTokens(EvaluationCell evalCell)
|
EvaluationName |
getName(NamePtg namePtg)
|
EvaluationName |
getName(java.lang.String name,
int sheetIndex)
named range name matching is case insensitive |
java.lang.String |
getNameText(NamePtg namePtg)
|
NameXPtg |
getNameXPtg(java.lang.String name)
|
EvaluationSheet |
getSheet(int sheetIndex)
|
int |
getSheetIndex(EvaluationSheet evalSheet)
|
int |
getSheetIndex(java.lang.String sheetName)
Finds a sheet index by case insensitive name. |
java.lang.String |
getSheetName(int sheetIndex)
|
java.lang.String |
getSheetNameByExternSheet(int externSheetIndex)
|
SpreadsheetVersion |
getSpreadsheetVersion()
Returns an enum holding spreadhseet properties specific to an Excel version ( max column and row numbers, max arguments to a function, etc.) |
UDFFinder |
getUDFFinder()
|
java.lang.String |
resolveNameXText(NameXPtg n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XSSFEvaluationWorkbook create(XSSFWorkbook book)
public int convertFromExternSheetIndex(int externSheetIndex)
convertFromExternSheetIndex
in interface EvaluationWorkbook
public int getExternalSheetIndex(java.lang.String sheetName)
FormulaParsingWorkbook
getExternalSheetIndex
in interface FormulaParsingWorkbook
public EvaluationName getName(java.lang.String name, int sheetIndex)
FormulaParsingWorkbook
getName
in interface EvaluationWorkbook
getName
in interface FormulaParsingWorkbook
public int getSheetIndex(EvaluationSheet evalSheet)
getSheetIndex
in interface EvaluationWorkbook
public java.lang.String getSheetName(int sheetIndex)
getSheetName
in interface EvaluationWorkbook
public EvaluationWorkbook.ExternalName getExternalName(int externSheetIndex, int externNameIndex)
getExternalName
in interface EvaluationWorkbook
public NameXPtg getNameXPtg(java.lang.String name)
getNameXPtg
in interface FormulaParsingWorkbook
public java.lang.String resolveNameXText(NameXPtg n)
resolveNameXText
in interface EvaluationWorkbook
resolveNameXText
in interface FormulaRenderingWorkbook
public EvaluationSheet getSheet(int sheetIndex)
getSheet
in interface EvaluationWorkbook
public EvaluationWorkbook.ExternalSheet getExternalSheet(int externSheetIndex)
getExternalSheet
in interface EvaluationWorkbook
getExternalSheet
in interface FormulaRenderingWorkbook
null
if externSheetIndex refers to a sheet inside the current workbookpublic int getExternalSheetIndex(java.lang.String workbookName, java.lang.String sheetName)
FormulaParsingWorkbook
getExternalSheetIndex
in interface FormulaParsingWorkbook
workbookName
- e.g. "Budget.xls"sheetName
- a name of a sheet in that workbookpublic int getSheetIndex(java.lang.String sheetName)
EvaluationWorkbook
getSheetIndex
in interface EvaluationWorkbook
public java.lang.String getSheetNameByExternSheet(int externSheetIndex)
getSheetNameByExternSheet
in interface FormulaRenderingWorkbook
public java.lang.String getNameText(NamePtg namePtg)
getNameText
in interface FormulaRenderingWorkbook
public EvaluationName getName(NamePtg namePtg)
getName
in interface EvaluationWorkbook
public Ptg[] getFormulaTokens(EvaluationCell evalCell)
getFormulaTokens
in interface EvaluationWorkbook
public UDFFinder getUDFFinder()
getUDFFinder
in interface EvaluationWorkbook
public SpreadsheetVersion getSpreadsheetVersion()
FormulaParsingWorkbook
getSpreadsheetVersion
in interface FormulaParsingWorkbook
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |