diff options
author | Glen Mazza <gmazza@apache.org> | 2004-06-23 00:25:27 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-06-23 00:25:27 +0000 |
commit | f575d5d538b1e9d2ff86a44f81247466d78ee77c (patch) | |
tree | 0b97a698d1b47548460fd33336c513f0afb13ec0 /src/java/org/apache/fop/fo | |
parent | e010763a75610e265e97c448557ad6159a0e0a64 (diff) | |
download | xmlgraphics-fop-f575d5d538b1e9d2ff86a44f81247466d78ee77c.tar.gz xmlgraphics-fop-f575d5d538b1e9d2ff86a44f81247466d78ee77c.zip |
1.) Moving renderer-specific customization variables (producer, creator, create date) to FOUserAgent, those renderers which can work with these values can read them from passed-in FOUserAgent instance.
2.) Version.getVersion() moved to Fop.getVersion().
3.) Validation added for fo:region-body.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197743 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/RegionBody.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionBody.java b/src/java/org/apache/fop/fo/pagination/RegionBody.java index 427ed33b6..15ed0cc39 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionBody.java +++ b/src/java/org/apache/fop/fo/pagination/RegionBody.java @@ -18,8 +18,14 @@ package org.apache.fop.fo.pagination; +// Java import java.awt.Rectangle; +// XML +import org.xml.sax.Attributes; +import org.xml.sax.Locator; + +// FOP import org.apache.fop.datatypes.ColorType; import org.apache.fop.datatypes.FODimension; import org.apache.fop.fo.FONode; @@ -45,6 +51,14 @@ public class RegionBody extends Region { } /** + * @see org.apache.fop.fo.FONode#validateChildNode(Locator, String, String) + * XSL/FOP Content Model: empty + */ + protected void validateChildNode(Locator loc, String nsURI, String localName) { + invalidChildError(loc, nsURI, localName); + } + + /** * @see org.apache.fop.fo.pagination.Region#getViewportRectangle(FODimension) */ public Rectangle getViewportRectangle (FODimension reldims) { |