import org.apache.fop.image.ImageFactory;
import org.apache.fop.image.FopImage;
import org.apache.fop.area.inline.InlineArea;
-import org.apache.fop.layoutmgr.AbstractLayoutManager;
import org.apache.fop.layoutmgr.LeafNodeLayoutManager;
+import org.apache.fop.layoutmgr.TraitSetter;
import org.apache.fop.area.inline.Image;
import org.apache.fop.area.inline.Viewport;
import org.apache.fop.datatypes.Length;
// Common Border, Padding, and Background Properties
BorderAndPadding bap = propMgr.getBorderAndPadding();
BackgroundProps bProps = propMgr.getBackgroundProps();
- AbstractLayoutManager.addBorders(vp, bap);
- AbstractLayoutManager.addBackground(vp, bProps);
+ TraitSetter.addBorders(vp, bap);
+ TraitSetter.addBackground(vp, bProps);
return vp;
}
import org.apache.fop.area.CTM;
import org.apache.fop.area.RegionViewport;
import org.apache.fop.area.RegionReference;
-import org.apache.fop.layoutmgr.AbstractLayoutManager;
+import org.apache.fop.layoutmgr.TraitSetter;
// SAX
import org.xml.sax.Attributes;
// Common Border, Padding, and Background Properties
BorderAndPadding bap = propMgr.getBorderAndPadding();
BackgroundProps bProps = propMgr.getBackgroundProps();
- AbstractLayoutManager.addBorders(r, bap);
- AbstractLayoutManager.addBackground(r, bProps);
+ TraitSetter.addBorders(r, bap);
+ TraitSetter.addBackground(r, bProps);
// this.properties.get("clip");
// this.properties.get("display-align");