FormulaParser and FormulaRenderer
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static FormulaParsingWorkbook | |
| public static Ptg[] | Returns: the parsed formula tokensThe formula to parse, excluding the leading equals sign formula, HSSFWorkbook The parent workbook workbook)Convenience method for parsing cell formulas. |
| public static Ptg[] | Returns: The parsed formula tokensThe formula to parse, excluding the leading equals sign formula, HSSFWorkbook The parent workbook workbook, FormulaType The type of formula formulaType)
|
| public static Ptg[] | Returns: the parsed formula tokensThe formula to parse formula, HSSFWorkbook The parent workbook workbook, FormulaType The type of formula formulaType, int The 0-based index of the sheet this formula belongs to.
The sheet index is required to resolve sheet-level names. sheetIndex)-1 means that
the scope of the name will be ignored and the parser will match named ranges only by name
|
| public static String | Returns: a human readable Stringused for defined names and 3D references book, Ptg[] must not be ptgs)nullStatic method to convert an array of |
| HSSFFormulaParser | back to summary |
|---|---|
| private HSSFFormulaParser() | |
| createParsingWorkbook | back to summary |
|---|---|
| private static FormulaParsingWorkbook createParsingWorkbook(HSSFWorkbook book) | |
| parse | back to summary |
|---|---|
| public static Ptg[] parse(String formula, HSSFWorkbook workbook) throws FormulaParseException Convenience method for parsing cell formulas. see
| |
| parse | back to summary |
|---|---|
public static Ptg[] parse(String formula, HSSFWorkbook workbook, FormulaType formulaType) throws FormulaParseException
| |
| parse | back to summary |
|---|---|
public static Ptg[] parse(String formula, HSSFWorkbook workbook, FormulaType formulaType, int sheetIndex) throws FormulaParseException
| |
| toFormulaString | back to summary |
|---|---|
| public static String toFormulaString(HSSFWorkbook book, Ptg[] ptgs) Static method to convert an array of
| |