aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/XMLObj.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2007-07-08 19:47:53 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2007-07-08 19:47:53 +0000
commit4515d08e19641be91e14c4532aa84d3868ef33ff (patch)
tree6a0182b09677f10f8d3d09c66f0e807d1b69abbd /src/java/org/apache/fop/fo/XMLObj.java
parent50505cd29cf2acf34df427f9048a36337e8f1304 (diff)
downloadxmlgraphics-fop-4515d08e19641be91e14c4532aa84d3868ef33ff.tar.gz
xmlgraphics-fop-4515d08e19641be91e14c4532aa84d3868ef33ff.zip
Bugzilla 42785: Support alignment-adjust for images (submitted by Max Berger)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554423 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/XMLObj.java')
-rw-r--r--src/java/org/apache/fop/fo/XMLObj.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/XMLObj.java b/src/java/org/apache/fop/fo/XMLObj.java
index e2b459192..f7d140732 100644
--- a/src/java/org/apache/fop/fo/XMLObj.java
+++ b/src/java/org/apache/fop/fo/XMLObj.java
@@ -27,6 +27,7 @@ import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.batik.dom.util.XMLSupport;
import org.apache.fop.apps.FOPException;
+import org.apache.fop.datatypes.Length;
import org.apache.fop.util.ContentHandlerFactory.ObjectBuiltListener;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -94,6 +95,14 @@ public abstract class XMLObj extends FONode implements ObjectBuiltListener {
public Point2D getDimension(Point2D view) {
return null;
}
+
+ /**
+ * Retrieve the intrinsic alignment-adjust of the child element.
+ * @return the intrinsic alignment-adjust.
+ */
+ public Length getIntrinsicAlignmentAdjust() {
+ return null;
+ }
/** @see org.apache.fop.fo.FONode#getLocalName() */
public String getLocalName() {