View | Details | Raw Unified | Return to bug 13076
Collapse All | Expand All

(-)src/java/org/apache/poi/hssf/record/FormulaRecord.java (-11 / +14 lines)
Lines 545-564 Link Here
545
                .append("\n");
545
                .append("\n");
546
            buffer.append("    .expressionlength= ").append(getExpressionLength())
546
            buffer.append("    .expressionlength= ").append(getExpressionLength())
547
                .append("\n");
547
                .append("\n");
548
            buffer.append("    .numptgsinarray  = ").append(field_8_parsed_expr.size())
548
549
                .append("\n");
549
            if (field_8_parsed_expr != null) {
550
                buffer.append("    .numptgsinarray  = ").append(field_8_parsed_expr.size())
551
                    .append("\n");
550
            
552
            
551
            
553
            
552
            for (int k = 0; k < field_8_parsed_expr.size(); k++ ) {
554
                for (int k = 0; k < field_8_parsed_expr.size(); k++ ) {
553
/*                buffer.append("formula ").append(k).append(" ")
555
/*                buffer.append("formula ").append(k).append(" ")
554
               .append(((Ptg)field_8_parsed_expr.get(k)).toFormulaString());*/
556
                  .append(((Ptg)field_8_parsed_expr.get(k)).toFormulaString());*/
555
                buffer.append("Formula ")
557
                    buffer.append("Formula ")
556
                .append(k)
558
                        .append(k)
557
                .append("=")
559
                        .append("=")
558
                .append(field_8_parsed_expr.get(k).toString())
560
                        .append(field_8_parsed_expr.get(k).toString())
559
                .append("\n")
561
                        .append("\n")
560
                .append(((Ptg)field_8_parsed_expr.get(k)).toDebugString())
562
                        .append(((Ptg)field_8_parsed_expr.get(k)).toDebugString())
561
                .append("\n");                
563
                        .append("\n");
564
                }
562
            }
565
            }
563
            
566
            
564
            
567
            

Return to bug 13076