diff options
Diffstat (limited to 'src/org/apache/fop/fo/pagination/RegionBefore.java')
-rw-r--r-- | src/org/apache/fop/fo/pagination/RegionBefore.java | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/org/apache/fop/fo/pagination/RegionBefore.java b/src/org/apache/fop/fo/pagination/RegionBefore.java index e2bcdcf5e..6d96aa365 100644 --- a/src/org/apache/fop/fo/pagination/RegionBefore.java +++ b/src/org/apache/fop/fo/pagination/RegionBefore.java @@ -15,30 +15,22 @@ import org.apache.fop.layout.BorderAndPadding; import org.apache.fop.layout.BackgroundProps; import org.apache.fop.apps.FOPException; -public class RegionBefore extends Region { - - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new RegionBefore(parent, propertyList); - } +import org.xml.sax.Attributes; - } - - public static FObj.Maker maker() { - return new RegionBefore.Maker(); - } +public class RegionBefore extends Region { public static final String REGION_CLASS = "before"; private int precedence; - protected RegionBefore(FObj parent, - PropertyList propertyList) throws FOPException { - super(parent, propertyList); - precedence = this.properties.get("precedence").getEnum(); + public RegionBefore(FObj parent) { + super(parent); } + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); + precedence = this.properties.get("precedence").getEnum(); + } RegionArea makeRegionArea(int allocationRectangleXPosition, int allocationRectangleYPosition, |