Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.ss.formula
Interface EvaluationWorkbook

All Known Implementing Classes:
  HSSFEvaluationWorkbook, XSSFEvaluationWorkbook

    public interface EvaluationWorkbook

Abstracts a workbook for the purpose of formula evaluation.
For POI internal use only

Author:
  Josh Micich

Nested Class Summary
`static class` | `EvaluationWorkbook.ExternalName`
`static class` | `EvaluationWorkbook.ExternalSheet`

Method Summary
`int` | `convertFromExternSheetIndex(int externSheetIndex)`
`EvaluationWorkbook.ExternalName` | `getExternalName(int externSheetIndex, int externNameIndex)`
`EvaluationWorkbook.ExternalSheet` | `getExternalSheet(int externSheetIndex)`
`Ptg[]` | `getFormulaTokens(EvaluationCell cell)`
`EvaluationName` | `getName(NamePtg namePtg)`
`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)`
`java.lang.String` | `resolveNameXText(NameXPtg ptg)`

Method Detail

### getSheetName

    java.lang.String getSheetName(int sheetIndex)

### getSheetIndex

    int getSheetIndex(EvaluationSheet sheet)

  Returns:
    -1 if the specified sheet is from a different book

### getSheetIndex

    int getSheetIndex(java.lang.String sheetName)

  Finds a sheet index by case insensitive name.

  Returns:
    the index of the sheet matching the specified name. -1 if not found

### getSheet

    EvaluationSheet getSheet(int sheetIndex)

### getExternalSheet

    EvaluationWorkbook.ExternalSheet getExternalSheet(int externSheetIndex)

  Returns:
    `null` if externSheetIndex refers to a sheet inside the current workbook

### convertFromExternSheetIndex

    int convertFromExternSheetIndex(int externSheetIndex)

### getExternalName

    EvaluationWorkbook.ExternalName getExternalName(int externSheetIndex,
                                                    int externNameIndex)

### getName

    EvaluationName getName(NamePtg namePtg)

### resolveNameXText

    java.lang.String resolveNameXText(NameXPtg ptg)

### getFormulaTokens

    Ptg[] getFormulaTokens(EvaluationCell cell)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2010 The Apache Software Foundation or its licensors, as applicable.