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:
parent
944b7fcfcb
commit
5c4a6f5ce9
@ -545,7 +545,7 @@ public class Range
|
|||||||
cell = cell.insertAfter(parProps, StyleSheet.NIL_STYLE, String.valueOf('\u0007'));
|
cell = cell.insertAfter(parProps, StyleSheet.NIL_STYLE, String.valueOf('\u0007'));
|
||||||
cell.setTableRowEnd(props);
|
cell.setTableRowEnd(props);
|
||||||
}
|
}
|
||||||
return new Table(_start, _start + (rows * (columns + 1)), this, 0);
|
return new Table(_start, _start + (rows * (columns + 1)), this, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,7 +38,7 @@ public class Table
|
|||||||
Paragraph p = getParagraph(rowEnd);
|
Paragraph p = getParagraph(rowEnd);
|
||||||
if (p.isTableRowEnd() && p.getTableLevel() == levelNum)
|
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;
|
rowStart = rowEnd;
|
||||||
}
|
}
|
||||||
rowEnd++;
|
rowEnd++;
|
||||||
|
Loading…
Reference in New Issue
Block a user