1 17 18 19 20 package org.apache.fop.layoutmgr; 21 22 import org.apache.fop.datatypes.PercentBaseContext; 23 import org.apache.fop.fo.properties.CondLengthProperty; 24 import org.apache.fop.traits.MinOptMax; 25 26 29 public abstract class BorderOrPaddingElement extends UnresolvedListElementWithLength { 30 31 40 public BorderOrPaddingElement(Position position, CondLengthProperty condLength, 41 RelSide side, 42 boolean isFirst, boolean isLast, PercentBaseContext context) { 43 super(position, 44 new MinOptMax(condLength.getLength().getValue(context)), side, 45 condLength.isDiscard(), isFirst, isLast); 46 } 47 48 49 public abstract void notifyLayoutManager(MinOptMax effectiveLength); 50 51 } 52 | Popular Tags |