aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/pagination/RegionBody.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-11-06 15:36:29 +0000
committerKeiron Liddle <keiron@apache.org>2002-11-06 15:36:29 +0000
commitf7bd5a64214f473747680e45369fa214dc6af367 (patch)
tree4afcee7d265e3c84dc8b0f0a7f8eddc6c8a4bc7a /src/org/apache/fop/fo/pagination/RegionBody.java
parentf86105b454926d89670e35c54c0905fd6764f5f6 (diff)
downloadxmlgraphics-fop-f7bd5a64214f473747680e45369fa214dc6af367.tar.gz
xmlgraphics-fop-f7bd5a64214f473747680e45369fa214dc6af367.zip
background and borders for regions
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/pagination/RegionBody.java')
-rw-r--r--src/org/apache/fop/fo/pagination/RegionBody.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/org/apache/fop/fo/pagination/RegionBody.java b/src/org/apache/fop/fo/pagination/RegionBody.java
index f8dadc4f4..d93f4bfa8 100644
--- a/src/org/apache/fop/fo/pagination/RegionBody.java
+++ b/src/org/apache/fop/fo/pagination/RegionBody.java
@@ -65,17 +65,10 @@ public class RegionBody extends Region {
return ((prop != null)? prop.getLength().mvalue() : 0);
}
- protected void setRegionTraits(RegionReference r, Rectangle2D absRegVPRect) {
- super.setRegionTraits(r, absRegVPRect);
-
-// r.setBackgroundColor(backgroundColor);
- }
-
protected String getDefaultRegionName() {
return "xsl-region-body";
}
-
public String getRegionClass() {
return Region.BODY;
}
@@ -90,7 +83,7 @@ public class RegionBody extends Region {
public RegionReference makeRegionReferenceArea(Rectangle2D absRegVPRect) {
// Should set some column stuff here I think, or put it elsewhere
BodyRegion body = new BodyRegion();
- setRegionTraits(body, absRegVPRect);
+ setRegionPosition(body, absRegVPRect);
int columnCount=
this.properties.get("column-count").getNumber().intValue();
if ((columnCount > 1) && (overflow == Overflow.SCROLL)) {