integer and restoring the area's absoluteHeight to this value
at the end of the layout method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193912
13f79535-47bb-0310-9956-
ffa450edef68
}
public Status layout(Area area) throws FOPException {
- if (this.marker == BREAK_AFTER) {
+ int originalAbsoluteHeight = area.getAbsoluteHeight();
+ if (this.marker == BREAK_AFTER) {
return new Status(Status.OK);
}
top = areaContainer.getCurrentYPosition();
area.setHeight(getHeight());
// reset absoluteHeight to beginning of row
- area.setAbsoluteHeight(areaContainer.getAbsoluteHeight());
+ area.setAbsoluteHeight(originalAbsoluteHeight);
return new Status(Status.OK);
}