Package org.apache.poi.hssf.dev
Class FormulaViewer
- java.lang.Object
-
- org.apache.poi.hssf.dev.FormulaViewer
-
public class FormulaViewer extends java.lang.Object
FormulaViewer - finds formulas in a BIFF8 file and attempts to read them/display data from them. Only works if Formulas are enabled in "RecordFactory"
-
-
Constructor Summary
Constructors Constructor Description FormulaViewer()
Creates new FormulaViewer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Method main pass me a filename and I'll try and parse the formulas from itvoid
parseFormulaRecord(FormulaRecord record)
Method parseFormulaRecordvoid
run()
Method runvoid
setFile(java.lang.String file)
Method setFilevoid
setList(boolean list)
-
-
-
Method Detail
-
run
public void run() throws java.io.IOException
Method run- Throws:
java.io.IOException
- if the file contained errors
-
parseFormulaRecord
public void parseFormulaRecord(FormulaRecord record)
Method parseFormulaRecord- Parameters:
record
- the record to be parsed
-
setFile
public void setFile(java.lang.String file)
Method setFile- Parameters:
file
- the file to process
-
setList
public void setList(boolean list)
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
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:
java.io.IOException
- if the file can't be read or contained errors
-
-