diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/InlineContainer.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/InlineContainer.java | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/src/org/apache/fop/fo/flow/InlineContainer.java b/src/org/apache/fop/fo/flow/InlineContainer.java index 61aba7695..0f003208a 100644 --- a/src/org/apache/fop/fo/flow/InlineContainer.java +++ b/src/org/apache/fop/fo/flow/InlineContainer.java @@ -14,27 +14,19 @@ import org.apache.fop.fo.properties.*; import org.apache.fop.layout.*; import org.apache.fop.apps.FOPException; +import org.xml.sax.Attributes; + /** */ public class InlineContainer extends ToBeImplementedElement { - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new InlineContainer(parent, propertyList); - } - - } - - public static FObj.Maker maker() { - return new InlineContainer.Maker(); - } - - protected InlineContainer(FObj parent, - PropertyList propertyList) throws FOPException { - super(parent, propertyList); + public InlineContainer(FObj parent) { + super(parent); this.name = "fo:inline-container"; + } + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); // Common Border, Padding, and Background Properties BorderAndPadding bap = propMgr.getBorderAndPadding(); BackgroundProps bProps = propMgr.getBackgroundProps(); |