Pārlūkot izejas kodu

Removed endPart() method and moved its content into addAreasAndFlushRow()


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610886 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_95beta
Vincent Hennebert pirms 16 gadiem
vecāks
revīzija
2282c3ce2e

+ 3
- 6
src/java/org/apache/fop/layoutmgr/table/RowPainter.java Parādīt failu

@@ -187,8 +187,10 @@ class RowPainter {
// (header, footer, body) has been reached, and the next row will anyway be
// different from the current one, and this is unnecessary to recall this
// method in the first lines of handleTableContentPosition, so we may reset
// lastRow
// the following variables
lastRow = null;
firstRowIndex = -1;
rowOffsets.clear();
}
return actualRowHeight;
}
@@ -358,9 +360,4 @@ class RowPainter {
private int getRowOffset(int rowIndex) {
return ((Integer) rowOffsets.get(rowIndex - firstRowIndex)).intValue();
}

void endPart() {
firstRowIndex = -1;
rowOffsets.clear();
}
}

+ 0
- 1
src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java Parādīt failu

@@ -418,7 +418,6 @@ public class TableContentLayoutManager implements PercentBaseContext {
handleMarkersAndPositions(lst, body, firstPos, false, painter);
}
painter.addAreasAndFlushRow(true);
painter.endPart();
}

private void handleMarkersAndPositions(List positions, TableBody body, boolean firstPos,

Notiek ielāde…
Atcelt
Saglabāt