]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
An accessor I need for space resolution.
authorJeremias Maerki <jeremias@apache.org>
Thu, 13 Oct 2005 17:33:13 +0000 (17:33 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 13 Oct 2005 17:33:13 +0000 (17:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320818 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java

index 4a92280ff059e3bc0d1d94e23f5636682ac86b73..83214a5ab5856806e5a12552bd82ff6b16b494c7 100755 (executable)
@@ -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