pbwest      2002/11/08 07:48:40

  Modified:    src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
                        FOPropertySets.java
  Log:
  Added fo:title set.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.6   +18 -4     xml-fop/src/org/apache/fop/fo/Attic/FOPropertySets.java
  
  Index: FOPropertySets.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FOPropertySets.java,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- FOPropertySets.java       30 Oct 2002 14:45:00 -0000      1.1.2.5
  +++ FOPropertySets.java       8 Nov 2002 15:48:40 -0000       1.1.2.6
  @@ -54,7 +54,8 @@
           ,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 @@
               return "FLOW";
           case STATIC_SET:
               return "STATIC";
  +        case TITLE_SET:
  +            return "TITLE";
           case MARKER_SET:
               return "MARKER";
           }
  @@ -99,6 +102,8 @@
               return flowAllSet;
           case STATIC_SET:
               return staticAllSet;
  +        case TITLE_SET:
  +            return titleAllSet;
           case MARKER_SET:
               return markerAllSet;
           }
  @@ -222,6 +227,12 @@
        */
       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 @@
           markerallset.clear(PropNames.MARKER_CLASS_NAME);
   
           markerAllSet = new ROBitSet(markerallset);
  +
  +        // markers are not allowed within fo:title
  +        titleAllSet = markerAllSet;
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to