git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353573
13f79535-47bb-0310-9956-
ffa450edef68
cell = cell.insertAfter(parProps, StyleSheet.NIL_STYLE, String.valueOf('\u0007'));
cell.setTableRowEnd(props);
}
- return new Table(_start, _start + (rows * (columns + 1)), this, 0);
+ return new Table(_start, _start + (rows * (columns + 1)), this, 1);
}
/**
Paragraph p = getParagraph(rowEnd);
if (p.isTableRowEnd() && p.getTableLevel() == levelNum)
{
- _rows.add(new TableRow(rowStart, rowEnd, this, levelNum));
+ _rows.add(new TableRow(rowStart, rowEnd + 1, this, levelNum));
rowStart = rowEnd;
}
rowEnd++;