fixes for article

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353573 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Said Ryan Ackley 2004-07-11 05:54:36 +00:00
parent 944b7fcfcb
commit 5c4a6f5ce9
2 changed files with 2 additions and 2 deletions

View File

@ -545,7 +545,7 @@ public class Range
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);
}
/**

View File

@ -38,7 +38,7 @@ public class Table
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++;