poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21673] - [PATCH] SheetReferences in FormulaParser.toString is not created correctly
Date Sat, 26 Jul 2003 19:49:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21673>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21673

[PATCH] SheetReferences in FormulaParser.toString is not created correctly





------- Additional Comments From eladner@goldinc.com  2003-07-26 19:49 -------
I'm fairly NOOB when it comes to JUnit, but I'll take a look.  The other problem
is that this patch is really aimed at resolving 3DRefs, which when parsing
formulas, is rather useless without the HSSFWorkbook.getWorkbook() being public.
 As far as I can tell, the only way to get the formula parser to be aware of the
sheet names to resolve references is to pass in the workbook to the parser.  In
short, it'd be hard to write a unit test aginst the stock tree without that
patch or some other method to get the workbook into the parser.

In fact, I can't see any way for a class outside HSSFWorkbook to be able to pass
the workbook into the FormulaParser constructor without the calling class
extending HSSFWorkbook.

I haven't investigated using the low level Workbook for this yet, however.

Mime
View raw message