ASF Bugzilla – Attachment 33937 Details for
Bug 57840
[PATCH] Support for structured references with Excel tables.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix to reuse XSSFEvaluationWorkbook inside itself
patch-57840-reuse-XSSFEvaluationWorkbook.txt (text/plain), 1.72 KB, created by
Greg Woolsey
on 2016-06-10 16:55:11 UTC
(
hide
)
Description:
fix to reuse XSSFEvaluationWorkbook inside itself
Filename:
MIME Type:
Creator:
Greg Woolsey
Created:
2016-06-10 16:55:11 UTC
Size:
1.72 KB
patch
obsolete
>Index: src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationWorkbook.java >=================================================================== >--- src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationWorkbook.java (revision 1747743) >+++ src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationWorkbook.java (working copy) >@@ -56,7 +56,6 @@ > @Override > public Ptg[] getFormulaTokens(EvaluationCell evalCell) { > SXSSFCell cell = ((SXSSFEvaluationCell)evalCell).getSXSSFCell(); >- SXSSFEvaluationWorkbook frBook = SXSSFEvaluationWorkbook.create(_uBook); >- return FormulaParser.parse(cell.getCellFormula(), frBook, FormulaType.CELL, _uBook.getSheetIndex(cell.getSheet())); >+ return FormulaParser.parse(cell.getCellFormula(), this, FormulaType.CELL, _uBook.getSheetIndex(cell.getSheet())); > } > } >Index: src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java >=================================================================== >--- src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java (revision 1747743) >+++ src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java (working copy) >@@ -52,7 +52,6 @@ > @Override > public Ptg[] getFormulaTokens(EvaluationCell evalCell) { > XSSFCell cell = ((XSSFEvaluationCell)evalCell).getXSSFCell(); >- XSSFEvaluationWorkbook frBook = XSSFEvaluationWorkbook.create(_uBook); >- return FormulaParser.parse(cell.getCellFormula(), frBook, FormulaType.CELL, _uBook.getSheetIndex(cell.getSheet()), cell.getRowIndex()); >+ return FormulaParser.parse(cell.getCellFormula(), this, FormulaType.CELL, _uBook.getSheetIndex(cell.getSheet()), cell.getRowIndex()); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57840
:
32671
|
33927
|
33932
| 33937 |
33938
|
33939
|
33940
|
33941
|
33942