]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Interfaces now in alphabetical order and detached from generic interfaces
authorGlen Mazza <gmazza@apache.org>
Tue, 20 Jan 2004 01:14:33 +0000 (01:14 +0000)
committerGlen Mazza <gmazza@apache.org>
Tue, 20 Jan 2004 01:14:33 +0000 (01:14 +0000)
in autogenerated fo.properties.*; patch from Finn Bock--unneeded method in
PropertyInfo.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197220 13f79535-47bb-0310-9956-ffa450edef68

src/codegen/constants.xsl
src/java/org/apache/fop/fo/Constants.java
src/java/org/apache/fop/fo/expr/PropertyInfo.java

index 871c79202505e486939e8fd60c128b2ba5945f3c..8c4892f14c791253a59f637e6a5827375dda5228 100644 (file)
@@ -101,14 +101,6 @@ Software Foundation, please see <http://www.apache.org/>.
 
 package org.apache.fop.fo;
 
-import org.apache.fop.fo.properties.GenericBoolean;
-import org.apache.fop.fo.properties.GenericBorderStyle;
-import org.apache.fop.fo.properties.GenericBreak;
-import org.apache.fop.fo.properties.GenericCondBorderWidth;
-import org.apache.fop.fo.properties.GenericCondPadding;
-import org.apache.fop.fo.properties.GenericKeep;
-import org.apache.fop.fo.properties.GenericSpace;
-
 public interface Constants {</xsl:text>
 
     // element constants
@@ -141,7 +133,75 @@ public interface Constants {</xsl:text>
 </xsl:call-template>
 
    // Enumeration Interfaces
-<xsl:apply-templates select="document(propfile)//property[not(@type='generic')]"/>
+   
+    public interface GenericBooleanInterface {
+        int TRUE =  Constants.TRUE;
+        int FALSE =  Constants.FALSE;
+    }
+     
+    public interface GenericBorderStyleInterface {
+        int NONE =  Constants.NONE;
+        int HIDDEN =  Constants.HIDDEN;
+        int DOTTED =  Constants.DOTTED;
+        int DASHED =  Constants.DASHED;
+        int SOLID =  Constants.SOLID;
+        int DOUBLE =  Constants.DOUBLE;
+        int GROOVE =  Constants.GROOVE;
+        int RIDGE =  Constants.RIDGE;
+        int INSET =  Constants.INSET;
+        int OUTSET =  Constants.OUTSET;
+    }
+    
+    public interface GenericBreakInterface {
+        int AUTO =  Constants.AUTO;
+        int COLUMN =  Constants.COLUMN;
+        int PAGE =  Constants.PAGE;
+        int EVEN_PAGE =  Constants.EVEN_PAGE;
+        int ODD_PAGE =  Constants.ODD_PAGE;
+    }
+    
+    public interface GenericCondBorderWidthInterface {
+        public interface Conditionality {
+            int DISCARD = Constants.DISCARD;
+            int RETAIN = Constants.RETAIN;
+        }
+    }
+    
+    public interface GenericCondPaddingInterface {
+        public interface Conditionality {
+            int DISCARD = Constants.DISCARD;
+            int RETAIN = Constants.RETAIN;
+        }
+    }
+        
+    public interface GenericKeepInterface {
+        public interface WithinPage {
+            int AUTO = Constants.AUTO;
+            int ALWAYS = Constants.ALWAYS;
+        }
+        public interface WithinLine {
+            int AUTO = Constants.AUTO;
+            int ALWAYS = Constants.ALWAYS;
+        }
+        public interface WithinColumn {
+            int AUTO = Constants.AUTO;
+            int ALWAYS = Constants.ALWAYS;
+        }
+    }
+    
+    public interface GenericSpaceInterface {
+        public interface Precedence {
+            int FORCE = Constants.FORCE;
+        }
+        public interface Conditionality {
+            int DISCARD = Constants.DISCARD;
+            int RETAIN = Constants.RETAIN;
+        }
+    }
+   
+<xsl:apply-templates select = "document(propfile)//property[not(@type='generic')]">
+   <xsl:sort select="name"/>
+</xsl:apply-templates>
 
 <xsl:text>
 }
@@ -177,7 +237,7 @@ public interface Constants {</xsl:text>
       <xsl:if test="use-generic">
         <xsl:text> extends </xsl:text>
         <xsl:value-of select="use-generic"/>
-        <xsl:text>.Enums</xsl:text>
+        <xsl:text>Interface</xsl:text>
       </xsl:if>
       <xsl:text> {</xsl:text>
       <xsl:for-each select="enumeration/value">
index 52be6267fd068eb81a72d48ca2fe6ea4beb45330..7ee11b3af641fe07e90b014d486effd5433fd68c 100644 (file)
 
 package org.apache.fop.fo;
 
-import org.apache.fop.fo.properties.GenericBoolean;
-import org.apache.fop.fo.properties.GenericBorderStyle;
-import org.apache.fop.fo.properties.GenericBreak;
-import org.apache.fop.fo.properties.GenericCondBorderWidth;
-import org.apache.fop.fo.properties.GenericCondPadding;
-import org.apache.fop.fo.properties.GenericKeep;
-import org.apache.fop.fo.properties.GenericSpace;
-
 public interface Constants {
 
     // element constants
@@ -121,7 +113,6 @@ public interface Constants {
     int FO_WRAPPER = 56;
     int ELEMENT_COUNT = 56;
     
-
     // Masks
     int COMPOUND_SHIFT = 9;
     int PROPERTY_MASK = (1 << COMPOUND_SHIFT)-1;
@@ -378,7 +369,6 @@ public interface Constants {
     int PR_XML_LANG = 246;
     int PR_Z_INDEX = 247;
     int PROPERTY_COUNT = 247;
-    
 
     // compound property constants
 
@@ -504,6 +494,72 @@ public interface Constants {
     int WRAP = 106;
 
    // Enumeration Interfaces
+   
+    public interface GenericBooleanInterface {
+        int TRUE =  Constants.TRUE;
+        int FALSE =  Constants.FALSE;
+    }
+     
+    public interface GenericBorderStyleInterface {
+        int NONE =  Constants.NONE;
+        int HIDDEN =  Constants.HIDDEN;
+        int DOTTED =  Constants.DOTTED;
+        int DASHED =  Constants.DASHED;
+        int SOLID =  Constants.SOLID;
+        int DOUBLE =  Constants.DOUBLE;
+        int GROOVE =  Constants.GROOVE;
+        int RIDGE =  Constants.RIDGE;
+        int INSET =  Constants.INSET;
+        int OUTSET =  Constants.OUTSET;
+    }
+    
+    public interface GenericBreakInterface {
+        int AUTO =  Constants.AUTO;
+        int COLUMN =  Constants.COLUMN;
+        int PAGE =  Constants.PAGE;
+        int EVEN_PAGE =  Constants.EVEN_PAGE;
+        int ODD_PAGE =  Constants.ODD_PAGE;
+    }
+    
+    public interface GenericCondBorderWidthInterface {
+        public interface Conditionality {
+            int DISCARD = Constants.DISCARD;
+            int RETAIN = Constants.RETAIN;
+        }
+    }
+    
+    public interface GenericCondPaddingInterface {
+        public interface Conditionality {
+            int DISCARD = Constants.DISCARD;
+            int RETAIN = Constants.RETAIN;
+        }
+    }
+        
+    public interface GenericKeepInterface {
+        public interface WithinPage {
+            int AUTO = Constants.AUTO;
+            int ALWAYS = Constants.ALWAYS;
+        }
+        public interface WithinLine {
+            int AUTO = Constants.AUTO;
+            int ALWAYS = Constants.ALWAYS;
+        }
+        public interface WithinColumn {
+            int AUTO = Constants.AUTO;
+            int ALWAYS = Constants.ALWAYS;
+        }
+    }
+    
+    public interface GenericSpaceInterface {
+        public interface Precedence {
+            int FORCE = Constants.FORCE;
+        }
+        public interface Conditionality {
+            int DISCARD = Constants.DISCARD;
+            int RETAIN = Constants.RETAIN;
+        }
+    }
+   
 
     public interface AbsolutePosition {
         int AUTO = Constants.AUTO;
@@ -516,115 +572,147 @@ public interface Constants {
         int REPEATY = Constants.REPEATY;
         int NOREPEAT = Constants.NOREPEAT; }
 
-    public interface BorderBeforeStyle extends GenericBorderStyle.Enums { }
+    public interface BaselineShift {
+        int BASELINE = Constants.BASELINE;
+        int SUB = Constants.SUB;
+        int SUPER = Constants.SUPER; }
 
-    public interface BorderBeforeWidth extends GenericCondBorderWidth.Enums { }
+    public interface BlankOrNotBlank {
+        int BLANK = Constants.BLANK;
+        int NOT_BLANK = Constants.NOT_BLANK;
+        int ANY = Constants.ANY; }
 
-    public interface BorderAfterStyle extends GenericBorderStyle.Enums { }
+    public interface BorderAfterStyle extends GenericBorderStyleInterface { }
 
-    public interface BorderAfterWidth extends GenericCondBorderWidth.Enums { }
+    public interface BorderAfterWidth extends GenericCondBorderWidthInterface { }
 
-    public interface BorderStartStyle extends GenericBorderStyle.Enums { }
+    public interface BorderBeforeStyle extends GenericBorderStyleInterface { }
 
-    public interface BorderStartWidth extends GenericCondBorderWidth.Enums { }
+    public interface BorderBeforeWidth extends GenericCondBorderWidthInterface { }
 
-    public interface BorderEndStyle extends GenericBorderStyle.Enums { }
+    public interface BorderBottomStyle extends GenericBorderStyleInterface { }
 
-    public interface BorderEndWidth extends GenericCondBorderWidth.Enums { }
+    public interface BorderCollapse {
+        int SEPARATE = Constants.SEPARATE;
+        int COLLAPSE = Constants.COLLAPSE; }
+
+    public interface BorderEndStyle extends GenericBorderStyleInterface { }
+
+    public interface BorderEndWidth extends GenericCondBorderWidthInterface { }
+
+    public interface BorderLeftStyle extends GenericBorderStyleInterface { }
 
-    public interface BorderTopStyle extends GenericBorderStyle.Enums { }
+    public interface BorderRightStyle extends GenericBorderStyleInterface { }
 
-    public interface BorderBottomStyle extends GenericBorderStyle.Enums { }
+    public interface BorderStartStyle extends GenericBorderStyleInterface { }
 
-    public interface BorderLeftStyle extends GenericBorderStyle.Enums { }
+    public interface BorderStartWidth extends GenericCondBorderWidthInterface { }
 
-    public interface BorderRightStyle extends GenericBorderStyle.Enums { }
+    public interface BorderTopStyle extends GenericBorderStyleInterface { }
 
-    public interface PaddingBefore extends GenericCondPadding.Enums { }
+    public interface BreakAfter extends GenericBreakInterface { }
 
-    public interface PaddingAfter extends GenericCondPadding.Enums { }
+    public interface BreakBefore extends GenericBreakInterface { }
 
-    public interface PaddingStart extends GenericCondPadding.Enums { }
+    public interface CaptionSide {
+        int BEFORE = Constants.BEFORE;
+        int AFTER = Constants.AFTER;
+        int START = Constants.START;
+        int END = Constants.END;
+        int TOP = Constants.TOP;
+        int BOTTOM = Constants.BOTTOM;
+        int LEFT = Constants.LEFT;
+        int RIGHT = Constants.RIGHT; }
 
-    public interface PaddingEnd extends GenericCondPadding.Enums { }
+    public interface DisplayAlign {
+        int BEFORE = Constants.BEFORE;
+        int AFTER = Constants.AFTER;
+        int CENTER = Constants.CENTER;
+        int AUTO = Constants.AUTO; }
 
     public interface FontVariant {
         int NORMAL = Constants.NORMAL;
         int SMALL_CAPS = Constants.SMALL_CAPS; }
 
+    public interface ForcePageCount {
+        int EVEN = Constants.EVEN;
+        int ODD = Constants.ODD;
+        int END_ON_EVEN = Constants.END_ON_EVEN;
+        int END_ON_ODD = Constants.END_ON_ODD;
+        int NO_FORCE = Constants.NO_FORCE;
+        int AUTO = Constants.AUTO; }
+
     public interface Hyphenate {
         int TRUE = Constants.TRUE;
         int FALSE = Constants.FALSE; }
 
-    public interface SpaceBefore extends GenericSpace.Enums { }
+    public interface KeepTogether extends GenericKeepInterface { }
 
-    public interface SpaceAfter extends GenericSpace.Enums { }
+    public interface KeepWithNext extends GenericKeepInterface { }
 
-    public interface SpaceEnd extends GenericSpace.Enums { }
+    public interface KeepWithPrevious extends GenericKeepInterface { }
 
-    public interface SpaceStart extends GenericSpace.Enums { }
+    public interface LeaderAlignment {
+        int NONE = Constants.NONE;
+        int REFERENCE_AREA = Constants.REFERENCE_AREA;
+        int PAGE = Constants.PAGE; }
 
-    public interface BaselineShift {
-        int BASELINE = Constants.BASELINE;
-        int SUB = Constants.SUB;
-        int SUPER = Constants.SUPER; }
+    public interface LeaderPattern {
+        int SPACE = Constants.SPACE;
+        int RULE = Constants.RULE;
+        int DOTS = Constants.DOTS;
+        int USECONTENT = Constants.USECONTENT; }
 
-    public interface DisplayAlign {
-        int BEFORE = Constants.BEFORE;
-        int AFTER = Constants.AFTER;
-        int CENTER = Constants.CENTER;
+    public interface LetterValue {
+        int ALPHABETIC = Constants.ALPHABETIC;
+        int TRADITIONAL = Constants.TRADITIONAL;
         int AUTO = Constants.AUTO; }
 
-    public interface RelativeAlign {
-        int BEFORE = Constants.BEFORE;
-        int BASELINE = Constants.BASELINE; }
-
-    public interface Scaling {
-        int UNIFORM = Constants.UNIFORM;
-        int NON_UNIFORM = Constants.NON_UNIFORM; }
-
     public interface LinefeedTreatment {
         int IGNORE = Constants.IGNORE;
         int PRESERVE = Constants.PRESERVE;
         int TREAT_AS_SPACE = Constants.TREAT_AS_SPACE;
         int TREAT_AS_ZERO_WIDTH_SPACE = Constants.TREAT_AS_ZERO_WIDTH_SPACE; }
 
-    public interface TextAlign {
-        int CENTER = Constants.CENTER;
-        int END = Constants.END;
-        int START = Constants.START;
-        int JUSTIFY = Constants.JUSTIFY; }
+    public interface OddOrEven {
+        int ODD = Constants.ODD;
+        int EVEN = Constants.EVEN;
+        int ANY = Constants.ANY; }
 
-    public interface TextAlignLast {
-        int CENTER = Constants.CENTER;
-        int END = Constants.END;
-        int START = Constants.START;
-        int JUSTIFY = Constants.JUSTIFY; }
+    public interface Overflow {
+        int VISIBLE = Constants.VISIBLE;
+        int HIDDEN = Constants.HIDDEN;
+        int SCROLL = Constants.SCROLL;
+        int ERROR_IF_OVERFLOW = Constants.ERROR_IF_OVERFLOW;
+        int AUTO = Constants.AUTO; }
 
-    public interface WhiteSpaceCollapse extends GenericBoolean.Enums { }
+    public interface PaddingAfter extends GenericCondPaddingInterface { }
 
-    public interface WrapOption {
-        int WRAP = Constants.WRAP;
-        int NO_WRAP = Constants.NO_WRAP; }
+    public interface PaddingBefore extends GenericCondPaddingInterface { }
 
-    public interface TextDecoration {
-        int NONE = Constants.NONE;
-        int UNDERLINE = Constants.UNDERLINE;
-        int OVERLINE = Constants.OVERLINE;
-        int LINE_THROUGH = Constants.LINE_THROUGH;
-        int BLINK = Constants.BLINK;
-        int NO_UNDERLINE = Constants.NO_UNDERLINE;
-        int NO_OVERLINE = Constants.NO_OVERLINE;
-        int NO_LINE_THROUGH = Constants.NO_LINE_THROUGH;
-        int NO_BLINK = Constants.NO_BLINK; }
+    public interface PaddingEnd extends GenericCondPaddingInterface { }
 
-    public interface TextTransform {
-        int NONE = Constants.NONE;
-        int CAPITALIZE = Constants.CAPITALIZE;
-        int UPPERCASE = Constants.UPPERCASE;
-        int LOWERCASE = Constants.LOWERCASE; }
+    public interface PaddingStart extends GenericCondPaddingInterface { }
 
-    public interface WordSpacing extends GenericSpace.Enums { }
+    public interface PagePosition {
+        int FIRST = Constants.FIRST;
+        int LAST = Constants.LAST;
+        int REST = Constants.REST;
+        int ANY = Constants.ANY; }
+
+/*    public interface Position {   conflicts with layoutmgr.Position
+        int STATIC = Constants.STATIC;
+        int RELATIVE = Constants.RELATIVE;
+        int ABSOLUTE = Constants.ABSOLUTE;
+        int FIXED = Constants.FIXED; }  */
+
+    public interface Precedence {
+        int TRUE = Constants.TRUE;
+        int FALSE = Constants.FALSE; }
+
+    public interface RelativeAlign {
+        int BEFORE = Constants.BEFORE;
+        int BASELINE = Constants.BASELINE; }
 
     public interface RenderingIntent {
         int AUTO = Constants.AUTO;
@@ -633,37 +721,16 @@ public interface Constants {
         int SATURATION = Constants.SATURATION;
         int ABSOLUTE_COLORMETRIC = Constants.ABSOLUTE_COLORMETRIC; }
 
-    public interface BreakAfter extends GenericBreak.Enums { }
-
-    public interface BreakBefore extends GenericBreak.Enums { }
-
-    public interface KeepTogether extends GenericKeep.Enums { }
-
-    public interface KeepWithNext extends GenericKeep.Enums { }
-
-    public interface KeepWithPrevious extends GenericKeep.Enums { }
-
-    public interface Overflow {
-        int VISIBLE = Constants.VISIBLE;
-        int HIDDEN = Constants.HIDDEN;
-        int SCROLL = Constants.SCROLL;
-        int ERROR_IF_OVERFLOW = Constants.ERROR_IF_OVERFLOW;
-        int AUTO = Constants.AUTO; }
-
-/*    public interface Span {   conflicts with Area.Span 
-        int NONE = Constants.NONE;
-        int ALL = Constants.ALL; }  */
-
-    public interface LeaderAlignment {
-        int NONE = Constants.NONE;
-        int REFERENCE_AREA = Constants.REFERENCE_AREA;
-        int PAGE = Constants.PAGE; }
+    public interface RetrieveBoundary {
+        int PAGE = Constants.PAGE;
+        int PAGE_SEQUENCE = Constants.PAGE_SEQUENCE;
+        int DOCUMENT = Constants.DOCUMENT; }
 
-    public interface LeaderPattern {
-        int SPACE = Constants.SPACE;
-        int RULE = Constants.RULE;
-        int DOTS = Constants.DOTS;
-        int USECONTENT = Constants.USECONTENT; }
+    public interface RetrievePosition {
+        int FSWP = Constants.FSWP;
+        int FIC = Constants.FIC;
+        int LSWP = Constants.LSWP;
+        int LEWP = Constants.LEWP; }
 
     public interface RuleStyle {
         int NONE = Constants.NONE;
@@ -674,82 +741,58 @@ public interface Constants {
         int GROOVE = Constants.GROOVE;
         int RIDGE = Constants.RIDGE; }
 
-    public interface RetrievePosition {
-        int FSWP = Constants.FSWP;
-        int FIC = Constants.FIC;
-        int LSWP = Constants.LSWP;
-        int LEWP = Constants.LEWP; }
-
-    public interface RetrieveBoundary {
-        int PAGE = Constants.PAGE;
-        int PAGE_SEQUENCE = Constants.PAGE_SEQUENCE;
-        int DOCUMENT = Constants.DOCUMENT; }
+    public interface Scaling {
+        int UNIFORM = Constants.UNIFORM;
+        int NON_UNIFORM = Constants.NON_UNIFORM; }
 
-    public interface LetterValue {
-        int ALPHABETIC = Constants.ALPHABETIC;
-        int TRADITIONAL = Constants.TRADITIONAL;
-        int AUTO = Constants.AUTO; }
+    public interface SpaceAfter extends GenericSpaceInterface { }
 
-    public interface BlankOrNotBlank {
-        int BLANK = Constants.BLANK;
-        int NOT_BLANK = Constants.NOT_BLANK;
-        int ANY = Constants.ANY; }
+    public interface SpaceBefore extends GenericSpaceInterface { }
 
-    public interface ForcePageCount {
-        int EVEN = Constants.EVEN;
-        int ODD = Constants.ODD;
-        int END_ON_EVEN = Constants.END_ON_EVEN;
-        int END_ON_ODD = Constants.END_ON_ODD;
-        int NO_FORCE = Constants.NO_FORCE;
-        int AUTO = Constants.AUTO; }
-
-    public interface OddOrEven {
-        int ODD = Constants.ODD;
-        int EVEN = Constants.EVEN;
-        int ANY = Constants.ANY; }
+    public interface SpaceEnd extends GenericSpaceInterface { }
 
-    public interface PagePosition {
-        int FIRST = Constants.FIRST;
-        int LAST = Constants.LAST;
-        int REST = Constants.REST;
-        int ANY = Constants.ANY; }
+    public interface SpaceStart extends GenericSpaceInterface { }
 
-    public interface Precedence {
-        int TRUE = Constants.TRUE;
-        int FALSE = Constants.FALSE; }
-
-    public interface BorderCollapse {
-        int SEPARATE = Constants.SEPARATE;
-        int COLLAPSE = Constants.COLLAPSE; }
-
-    public interface CaptionSide {
-        int BEFORE = Constants.BEFORE;
-        int AFTER = Constants.AFTER;
-        int START = Constants.START;
-        int END = Constants.END;
-        int TOP = Constants.TOP;
-        int BOTTOM = Constants.BOTTOM;
-        int LEFT = Constants.LEFT;
-        int RIGHT = Constants.RIGHT; }
+/*    public interface Span {   conflicts with Area.Span 
+        int NONE = Constants.NONE;
+        int ALL = Constants.ALL; }  */
 
     public interface TableLayout {
         int AUTO = Constants.AUTO;
         int FIXED = Constants.FIXED; }
 
-    public interface TableOmitFooterAtBreak extends GenericBoolean.Enums { }
+    public interface TableOmitFooterAtBreak extends GenericBooleanInterface { }
 
-    public interface TableOmitHeaderAtBreak extends GenericBoolean.Enums { }
+    public interface TableOmitHeaderAtBreak extends GenericBooleanInterface { }
 
-    public interface WritingMode {
-        int LR_TB = Constants.LR_TB;
-        int RL_TB = Constants.RL_TB;
-        int TB_RL = Constants.TB_RL; }
+    public interface TextAlign {
+        int CENTER = Constants.CENTER;
+        int END = Constants.END;
+        int START = Constants.START;
+        int JUSTIFY = Constants.JUSTIFY; }
 
-/*    public interface Position {  conflicts with layoutmgr.Position
-        int STATIC = Constants.STATIC;
-        int RELATIVE = Constants.RELATIVE;
-        int ABSOLUTE = Constants.ABSOLUTE;
-        int FIXED = Constants.FIXED; } */
+    public interface TextAlignLast {
+        int CENTER = Constants.CENTER;
+        int END = Constants.END;
+        int START = Constants.START;
+        int JUSTIFY = Constants.JUSTIFY; }
+
+    public interface TextDecoration {
+        int NONE = Constants.NONE;
+        int UNDERLINE = Constants.UNDERLINE;
+        int OVERLINE = Constants.OVERLINE;
+        int LINE_THROUGH = Constants.LINE_THROUGH;
+        int BLINK = Constants.BLINK;
+        int NO_UNDERLINE = Constants.NO_UNDERLINE;
+        int NO_OVERLINE = Constants.NO_OVERLINE;
+        int NO_LINE_THROUGH = Constants.NO_LINE_THROUGH;
+        int NO_BLINK = Constants.NO_BLINK; }
+
+    public interface TextTransform {
+        int NONE = Constants.NONE;
+        int CAPITALIZE = Constants.CAPITALIZE;
+        int UPPERCASE = Constants.UPPERCASE;
+        int LOWERCASE = Constants.LOWERCASE; }
 
     public interface VerticalAlign {
         int BASELINE = Constants.BASELINE;
@@ -761,6 +804,8 @@ public interface Constants {
         int TOP = Constants.TOP;
         int BOTTOM = Constants.BOTTOM; }
 
+    public interface WhiteSpaceCollapse extends GenericBooleanInterface { }
+
     public interface WhiteSpaceTreatment {
         int IGNORE = Constants.IGNORE;
         int PRESERVE = Constants.PRESERVE;
@@ -768,4 +813,15 @@ public interface Constants {
         int IGNORE_IF_AFTER_LINEFEED = Constants.IGNORE_IF_AFTER_LINEFEED;
         int IGNORE_IF_SURROUNDING_LINEFEED = Constants.IGNORE_IF_SURROUNDING_LINEFEED; }
 
+    public interface WordSpacing extends GenericSpaceInterface { }
+
+    public interface WrapOption {
+        int WRAP = Constants.WRAP;
+        int NO_WRAP = Constants.NO_WRAP; }
+
+    public interface WritingMode {
+        int LR_TB = Constants.LR_TB;
+        int RL_TB = Constants.RL_TB;
+        int TB_RL = Constants.TB_RL; }
+
 }
index 61b1ede2a86fb4bb3e5cbb6e44c9cbd37e69b452..b36d96473268259ab8b6ac0819db741263ac81e1 100644 (file)
@@ -83,16 +83,6 @@ public class PropertyInfo {
         this.fo = fo;
     }
 
-    /**
-     * Return whether this property inherits specified values.
-     * Propagates to the Maker.
-     * @return true if the property inherits specified values, false if it
-     * inherits computed values.
-     */
-    public boolean inheritsSpecified() {
-        return maker.inheritsSpecified();
-    }
-
     /**
      * Return the PercentBase object used to calculate the absolute value from
      * a percent specification.