git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193348 13f79535-47bb-0310-9956-ffa450edef68tags/pre-columns
@@ -41,7 +41,7 @@ | |||
</fo:block-container> | |||
<fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="2.5cm" top="1.7cm" left="14cm" padding="2pt" position="absolute"> | |||
<fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="10pt"> | |||
01/01/20000 | |||
01/01/2000 | |||
</fo:block> | |||
</fo:block-container> | |||
<fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="2.5cm" top="1.2cm" left="16.5cm" padding="2pt" position="absolute"> |
@@ -156,6 +156,11 @@ public class TableBody extends FObj { | |||
area.increaseHeight(areaContainer.getHeight()); | |||
return status; | |||
} | |||
// if this is not the last row, add display space | |||
if(i!=numChildren-1) | |||
{ | |||
areaContainer.addDisplaySpace(row.getLargestCellHeight()); | |||
} | |||
} | |||
area.addChild(areaContainer); | |||
areaContainer.end(); |
@@ -202,7 +202,7 @@ public class TableRow extends FObj { | |||
area.addChild(areaContainer); | |||
areaContainer.end(); | |||
area.setHeight(largestCellHeight); | |||
area.addDisplaySpace(largestCellHeight); | |||
// bug fix from Eric Schaeffer | |||
//area.increaseHeight(largestCellHeight); | |||
@@ -220,4 +220,8 @@ public class TableRow extends FObj { | |||
public int getAreaHeight() { | |||
return areaContainer.getHeight(); | |||
} | |||
public int getLargestCellHeight() | |||
{ | |||
return largestCellHeight; | |||
} | |||
} |