mirror of https://github.com/apache/poi.git
Aid debugging unknown ptgs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353086 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b7f79ede1
commit
04ecccd9bf
|
@ -570,11 +570,9 @@ public class FormulaRecord
|
||||||
buffer.append(" .numptgsinarray = ").append(field_8_parsed_expr.size())
|
buffer.append(" .numptgsinarray = ").append(field_8_parsed_expr.size())
|
||||||
.append("\n");
|
.append("\n");
|
||||||
|
|
||||||
|
|
||||||
for (int k = 0; k < field_8_parsed_expr.size(); k++ ) {
|
for (int k = 0; k < field_8_parsed_expr.size(); k++ ) {
|
||||||
/* buffer.append("formula ").append(k).append(" ")
|
buffer.append("Formula ")
|
||||||
.append(((Ptg)field_8_parsed_expr.get(k)).toFormulaString());*/
|
|
||||||
buffer.append("Formula ")
|
|
||||||
.append(k)
|
.append(k)
|
||||||
.append("=")
|
.append("=")
|
||||||
.append(field_8_parsed_expr.get(k).toString())
|
.append(field_8_parsed_expr.get(k).toString())
|
||||||
|
@ -582,6 +580,9 @@ public class FormulaRecord
|
||||||
.append(((Ptg)field_8_parsed_expr.get(k)).toDebugString())
|
.append(((Ptg)field_8_parsed_expr.get(k)).toDebugString())
|
||||||
.append("\n");
|
.append("\n");
|
||||||
}
|
}
|
||||||
|
}else {
|
||||||
|
buffer.append("Formula full data \n")
|
||||||
|
.append(org.apache.poi.util.HexDump.dump(this.all_data,0,0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue