1 17 18 19 20 package org.apache.fop.fo.pagination; 21 22 import org.apache.fop.apps.FOPException; 23 import org.apache.fop.datatypes.Length; 24 import org.apache.fop.fo.FONode; 25 import org.apache.fop.fo.PropertyList; 26 27 30 public abstract class SideRegion extends Region { 31 32 private Length extent; 33 34 35 protected SideRegion(FONode parent) { 36 super(parent); 37 } 38 39 40 public void bind(PropertyList pList) throws FOPException { 41 super.bind(pList); 42 extent = pList.get(PR_EXTENT).getLength(); 43 } 44 45 46 public Length getExtent() { 47 return extent; 48 } 49 50 } 51 | Popular Tags |