Package org.apache.poi.hssf.dev
Class FormulaViewer
java.lang.Object
org.apache.poi.hssf.dev.FormulaViewer
FormulaViewer - finds formulas in a BIFF8 file and attempts to read them/display
data from them. Only works if Formulas are enabled in "RecordFactory"
- Author:
- andy, Avik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Method main pass me a filename and I'll try and parse the formulas from itvoid
parseFormulaRecord
(FormulaRecord record) Method parseFormulaRecordvoid
run()
Method runvoid
Method setFilevoid
setList
(boolean list)
-
Constructor Details
-
FormulaViewer
public FormulaViewer()Creates new FormulaViewer
-
-
Method Details
-
run
Method run- Throws:
IOException
- if the file contained errors
-
parseFormulaRecord
Method parseFormulaRecord- Parameters:
record
- the record to be parsed
-
setFile
Method setFile- Parameters:
file
- the file to process
-
setList
public void setList(boolean list) -
main
Method main pass me a filename and I'll try and parse the formulas from it- Parameters:
args
- pass one argument with the filename or --help- Throws:
IOException
- if the file can't be read or contained errors
-