1 17 18 19 20 package org.apache.fop.fo.properties; 21 22 import org.apache.fop.fo.Constants; 23 import org.apache.fop.fo.FObj; 24 import org.apache.fop.fo.PropertyList; 25 import org.apache.fop.fo.expr.PropertyException; 26 27 32 33 public class SpacingPropertyMaker extends SpaceProperty.Maker { 34 38 public SpacingPropertyMaker(int propId) { 39 super(propId); 40 } 41 42 45 public Property convertProperty(Property p, 46 PropertyList propertyList, 47 FObj fo) throws PropertyException { 48 if (p.getEnum() == Constants.EN_NORMAL) { 49 return p; 50 } 51 return super.convertProperty(p, propertyList, fo); 52 } 53 } 54 | Popular Tags |