aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
authorKaren Lease <klease@apache.org>2001-04-11 21:42:45 +0000
committerKaren Lease <klease@apache.org>2001-04-11 21:42:45 +0000
commit44ce4a9a4545cfb2537dc632c64924611b6b4f5a (patch)
treec9b0769f63ff31cf7b6cdfe35cd5b4c30262166f /src/org/apache/fop/fo/flow/TableRow.java
parentb0bff5ecd085bf3545be9be6c1ddb00437f1e570 (diff)
downloadxmlgraphics-fop-44ce4a9a4545cfb2537dc632c64924611b6b4f5a.tar.gz
xmlgraphics-fop-44ce4a9a4545cfb2537dc632c64924611b6b4f5a.zip
Make borders closer to CR spec
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194203 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/TableRow.java')
-rw-r--r--src/org/apache/fop/fo/flow/TableRow.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index 83387d450..3f7d7b25f 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -314,26 +314,29 @@ public class TableRow extends FObj {
}
}
+ /**
if ((spaceBefore != 0) && (this.marker == 0)) {
spacer = new DisplaySpace(spaceBefore);
area.increaseHeight(spaceBefore);
}
-
+ ***/
if (marker == 0 && configID) {
// configure id
area.getIDReferences().configureID(id, area);
}
int spaceLeft = area.spaceLeft();
- this.areaContainer = new AreaContainer(propMgr.getFontState(area.getFontInfo()),
- -area.getBorderLeftWidth(),
- -area.getBorderTopWidth(), area.getAllocationWidth(),
- area.spaceLeft(), Position.RELATIVE);
+ this.areaContainer =
+ new AreaContainer(propMgr.getFontState(area.getFontInfo()),
+ 0,0,
+ area.getContentWidth(),
+ area.spaceLeft(),
+ Position.RELATIVE);
areaContainer.foCreator=this; // G Seshadri
areaContainer.setPage(area.getPage());
areaContainer.setBackgroundColor(backgroundColor);
- areaContainer.setBorderAndPadding(propMgr.getBorderAndPadding());
+ // areaContainer.setBorderAndPadding(propMgr.getBorderAndPadding());
areaContainer.start();
areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());