]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added fo:title set.
authorPeter Bernard West <pbwest@apache.org>
Fri, 8 Nov 2002 15:48:40 +0000 (15:48 +0000)
committerPeter Bernard West <pbwest@apache.org>
Fri, 8 Nov 2002 15:48:40 +0000 (15:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195462 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FOPropertySets.java

index 76de20baec78b3dc550ed115a1e7322597c332a8..9571c30ca2c6567b8292a66c2ee1032c7d147145 100644 (file)
@@ -54,7 +54,8 @@ public class FOPropertySets {
         ,PAGESEQ_SET = 5
            ,FLOW_SET = 6
          ,STATIC_SET = 7
-         ,MARKER_SET = 8
+          ,TITLE_SET = 8
+         ,MARKER_SET = 9
 
            ,LAST_SET = MARKER_SET
                      ;
@@ -75,6 +76,8 @@ public class FOPropertySets {
             return "FLOW";
         case STATIC_SET:
             return "STATIC";
+        case TITLE_SET:
+            return "TITLE";
         case MARKER_SET:
             return "MARKER";
         }
@@ -99,6 +102,8 @@ public class FOPropertySets {
             return flowAllSet;
         case STATIC_SET:
             return staticAllSet;
+        case TITLE_SET:
+            return titleAllSet;
         case MARKER_SET:
             return markerAllSet;
         }
@@ -222,6 +227,12 @@ public class FOPropertySets {
      */
     public static final ROBitSet staticAllSet;
 
+    /**
+     * set of all properties which are
+     * usable within the fo:title subtree.
+     */
+    public static final ROBitSet titleAllSet;
+
     static {
 
         // fill the BitSet of all properties
@@ -341,6 +352,9 @@ public class FOPropertySets {
         markerallset.clear(PropNames.MARKER_CLASS_NAME);
 
         markerAllSet = new ROBitSet(markerallset);
+
+        // markers are not allowed within fo:title
+        titleAllSet = markerAllSet;
     }
 
     /**