Browse Source

Fixed the missing table header bug.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197339 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Joerg Pietschmann 20 years ago
parent
commit
0345bf250f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/java/org/apache/fop/layoutmgr/table/Row.java

+ 2
- 2
src/java/org/apache/fop/layoutmgr/table/Row.java View File

@@ -273,7 +273,7 @@ public class Row extends BlockStackingLayoutManager {
int cellcount = 0;

if (pos == null) {
while ((curLM = getCellLM(cellcount++)) != null) {
while ((curLM = getCellLM(cellcount)) != null) {
curLM.resetPosition(null);
cellcount++;
}
@@ -281,7 +281,7 @@ public class Row extends BlockStackingLayoutManager {
RowPosition rpos = (RowPosition)pos;
List breaks = rpos.cellBreaks;

while ((curLM = getCellLM(cellcount++)) != null) {
while ((curLM = getCellLM(cellcount)) != null) {
List childbreaks = (List)breaks.get(cellcount);
curLM.resetPosition((Position)childbreaks.get(childbreaks.size() - 1));
cellcount++;

Loading…
Cancel
Save