diff options
author | Glen Mazza <gmazza@apache.org> | 2005-03-05 00:32:25 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2005-03-05 00:32:25 +0000 |
commit | b667d1a7003cb132595aa260e56ee95eb7edccd3 (patch) | |
tree | 4d2a970321f539ab595ddf459bd060ff1aa2d189 /src/java/org/apache/fop/area/MainReference.java | |
parent | 07493978a3bd4e9903484f79c6db33a9bcc77f54 (diff) | |
download | xmlgraphics-fop-b667d1a7003cb132595aa260e56ee95eb7edccd3.tar.gz xmlgraphics-fop-b667d1a7003cb132595aa260e56ee95eb7edccd3.zip |
Validation for fo:table and fo:table-header added, some minor simplifications in other places.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/MainReference.java')
-rw-r--r-- | src/java/org/apache/fop/area/MainReference.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/MainReference.java b/src/java/org/apache/fop/area/MainReference.java index c9b50fd68..8dac9777f 100644 --- a/src/java/org/apache/fop/area/MainReference.java +++ b/src/java/org/apache/fop/area/MainReference.java @@ -32,6 +32,13 @@ public class MainReference extends Area { private boolean isEmpty = true; /** + * Constructor + */ + public MainReference() { + addTrait(Trait.IS_REFERENCE_AREA, Boolean.TRUE); + } + + /** * Add a span area to this area. * * @param span the span area to add |