From a1c7c4a1a07a266b9be7bf0feb9e33c79bc56d0e Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Mon, 12 Sep 2005 08:05:59 +0000 Subject: Bugzilla #36068: Validation added for font-style and font-weight by making both properties enums. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280286 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/Constants.java | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'src/java/org/apache/fop/fo/Constants.java') diff --git a/src/java/org/apache/fop/fo/Constants.java b/src/java/org/apache/fop/fo/Constants.java index a7674100f..68f1c3f02 100644 --- a/src/java/org/apache/fop/fo/Constants.java +++ b/src/java/org/apache/fop/fo/Constants.java @@ -1070,6 +1070,34 @@ public interface Constants { int EN_X_FILL = 162; /** Enumeration constant - non-standard for display-align */ int EN_X_DISTRIBUTE = 163; + /** Enumeration constant */ + int EN_ITALIC = 164; + /** Enumeration constant */ + int EN_OBLIQUE = 165; + /** Enumeration constant */ + int EN_BACKSLANT = 166; + /** Enumeration constant */ + int EN_BOLDER = 167; + /** Enumeration constant */ + int EN_LIGHTER = 168; + /** Enumeration constant */ + int EN_100 = 168; + /** Enumeration constant */ + int EN_200 = 169; + /** Enumeration constant */ + int EN_300 = 170; + /** Enumeration constant */ + int EN_400 = 171; + /** Enumeration constant */ + int EN_500 = 172; + /** Enumeration constant */ + int EN_600 = 173; + /** Enumeration constant */ + int EN_700 = 174; + /** Enumeration constant */ + int EN_800 = 175; + /** Enumeration constant */ + int EN_900 = 176; /** Number of enumeration constants defined */ - int ENUM_COUNT = 163; + int ENUM_COUNT = 176; } -- cgit v1.2.3