aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/pagination/Region.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/pagination/Region.java')
-rw-r--r--src/org/apache/fop/fo/pagination/Region.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/org/apache/fop/fo/pagination/Region.java b/src/org/apache/fop/fo/pagination/Region.java
index 18c2d6d15..f0c8be477 100644
--- a/src/org/apache/fop/fo/pagination/Region.java
+++ b/src/org/apache/fop/fo/pagination/Region.java
@@ -13,6 +13,8 @@ import org.apache.fop.fo.PropertyList;
import org.apache.fop.apps.FOPException;
import org.apache.fop.layout.RegionArea;
+import org.xml.sax.Attributes;
+
/**
* This is an abstract base class for pagination regions
*/
@@ -22,10 +24,13 @@ public abstract class Region extends FObj {
private SimplePageMaster _layoutMaster;
private String _regionName;
- protected Region(FObj parent,
- PropertyList propertyList) throws FOPException {
- super(parent, propertyList);
+ protected Region(FObj parent) {
+ super(parent);
this.name = getElementName();
+ }
+
+ public void handleAttrs(Attributes attlist) throws FOPException {
+ super.handleAttrs(attlist);
// regions may have name, or default
if (null == this.properties.get(PROP_REGION_NAME)) {