From 780d6e7c77f410f4cc33feb31e6afec0738ab1cc Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Tue, 7 Sep 2004 14:33:47 +0000 Subject: [PATCH] Support for line-stacking-strategy. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197930 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FOPropertyMapping.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java index 03bb1ebb7..67f26fb7c 100644 --- a/src/java/org/apache/fop/fo/FOPropertyMapping.java +++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java @@ -1494,9 +1494,12 @@ public class FOPropertyMapping implements Constants { addPropertyMaker("line-height-shift-adjustment", m); // line-stacking-strategy - m = new ToBeImplementedProperty.Maker(PR_LINE_STACKING_STRATEGY); + m = new EnumProperty.Maker(PR_LINE_STACKING_STRATEGY); m.setInherited(true); - m.setDefault("line-height"); + m.addEnum("line-height", makeEnumProperty(LINE_HEIGHT, "LINE_HEIGHT")); + m.addEnum("font-height", makeEnumProperty(FONT_HEIGHT, "FONT_HEIGHT")); + m.addEnum("max-height", makeEnumProperty(MAX_HEIGHT, "MAX_HEIGHT")); + m.setDefault("max-height"); addPropertyMaker("line-stacking-strategy", m); // linefeed-treatment -- 2.39.5