aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-10-13 17:33:13 +0000
committerJeremias Maerki <jeremias@apache.org>2005-10-13 17:33:13 +0000
commit650f15349f95b7d13165b1ba16b8807dbc361a7a (patch)
tree51dd596b8a89bcca66d3d468ba1093505d21c8d2 /src/java
parentaa87adc7298bf44ac5cb42d4c0d50eff89f0aecb (diff)
downloadxmlgraphics-fop-650f15349f95b7d13165b1ba16b8807dbc361a7a.tar.gz
xmlgraphics-fop-650f15349f95b7d13165b1ba16b8807dbc361a7a.zip
An accessor I need for space resolution.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320818 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rwxr-xr-xsrc/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
index 4a92280ff..83214a5ab 100755
--- a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
+++ b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
@@ -307,6 +307,15 @@ public class CommonBorderPaddingBackground implements Cloneable {
return padding[side].getLengthValue(context);
}
}
+
+ /**
+ * Returns the CondLengthProperty for the padding on one side.
+ * @param side the side
+ * @return the requested CondLengthProperty
+ */
+ public CondLengthProperty getPaddingLengthProperty(int side) {
+ return padding[side];
+ }
/**
* Return all the border and padding width in the inline progression