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

(-)src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java (+3 lines)
Lines 148-153 Link Here
148
        if (row.getOutlineLevel() != 0) {
148
        if (row.getOutlineLevel() != 0) {
149
            _out.write(" outlineLevel=\"" + row.getOutlineLevel() + "\"");
149
            _out.write(" outlineLevel=\"" + row.getOutlineLevel() + "\"");
150
        }
150
        }
151
		if(row.hasRowSpan()) {
152
            _out.write(" spans=\"" + row.getStartSpan() + ":" + row.getEndSpan() + "\"");
153
        }
151
        _out.write(">\n");
154
        _out.write(">\n");
152
        this._rownum = rownum;
155
        this._rownum = rownum;
153
        _rowContainedNullCells = false;
156
        _rowContainedNullCells = false;
(-)src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java (+22 lines)
Lines 40-45 Link Here
40
    short _height=-1;
40
    short _height=-1;
41
    boolean _zHeight = false;
41
    boolean _zHeight = false;
42
    int _outlineLevel = 0;   // Outlining level of the row, when outlining is on
42
    int _outlineLevel = 0;   // Outlining level of the row, when outlining is on
43
	int startSpan=-1;
44
    int endSpan=-1;
43
45
44
    public SXSSFRow(SXSSFSheet sheet, int initialSize)
46
    public SXSSFRow(SXSSFSheet sheet, int initialSize)
45
    {
47
    {
Lines 470-474 Link Here
470
            throw new UnsupportedOperationException();
472
            throw new UnsupportedOperationException();
471
        }
473
        }
472
    }
474
    }
475
	
476
	public boolean hasRowSpan() {
477
        return startSpan != -1 && endSpan != -1;
478
    }
479
480
    public int getStartSpan() {
481
        return startSpan;
482
    }
483
484
    public void setStartSpan(int startSpan) {
485
        this.startSpan = startSpan;
486
    }
487
488
    public int getEndSpan() {
489
        return endSpan;
490
    }
491
492
    public void setEndSpan(int endSpan) {
493
        this.endSpan = endSpan;
494
    }
473
}
495
}
474
496

Return to bug 54768