]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added some accessor methods to some public member variables. I have left the public...
authorAdrian Cumiskey <acumiskey@apache.org>
Wed, 25 Mar 2009 10:32:23 +0000 (10:32 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Wed, 25 Mar 2009 10:32:23 +0000 (10:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758204 13f79535-47bb-0310-9956-ffa450edef68

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

index eeafbb68b4a6e3f21c1177a7e61aa5b8d11d7224..e32a4c9b2af63ca8ca5e9fda22cb852429b6d9db 100755 (executable)
@@ -650,6 +650,70 @@ public class CommonBorderPaddingBackground {
                 || borderInfo[START] != null || borderInfo[END] != null);
     }
 
+    /**
+     * Returns the "background-attachment" property.
+     * @return the "background-attachment" property.
+     */
+    public int getBackgroundAttachment() {
+        return backgroundAttachment;
+    }
+
+    /**
+     * Returns the "background-image" property.
+     * @return the "background-image" property.
+     */
+    public String getBackgroundImage() {
+        return backgroundImage;
+    }
+
+    /**
+     * Returns the "background-repeat" property.
+     * @return the "background-repeat" property.
+     */
+    public int getBackgroundRepeat() {
+        return backgroundRepeat;
+    }
+
+    /**
+     * Returns the "background-position-horizontal" property.
+     * @return the "background-position-horizontal" property.
+     */
+    public Length getBackgroundPositionHorizontal() {
+        return backgroundPositionHorizontal;
+    }
+
+    /**
+     * Returns the "background-position-vertical" property.
+     * @return the "background-position-vertical" property.
+     */
+    public Length getBackgroundPositionVertical() {
+        return backgroundPositionVertical;
+    }
+
+    /**
+     * Returns the background image info
+     * @return the background image info
+     */
+    public ImageInfo getBackgroundImageInfo() {
+        return backgroundImageInfo;
+    }
+
+    /**
+     * Returns the border info
+     * @return the border info
+     */
+    public BorderInfo[] getBorderInfo() {
+        return borderInfo;
+    }
+
+    /**
+     * Returns the padding
+     * @return the padding
+     */
+    public CondLengthProperty[] getPadding() {
+        return padding;
+    }
+
     /** {@inheritDoc} */
     public boolean equals(Object obj) {
         if (this == obj) {
index 11275fdd3b810b768f496f082cbe7c5fdd5a929a..55a2393fa406766563fd2d3d66c58ec79f730170 100755 (executable)
@@ -170,6 +170,16 @@ public final class CommonFont {
         return fontWeight.getEnum();
     }
 
+    /** @return the "font-size" property. */
+    public Length getFontSize() {
+        return fontSize;
+    }
+
+    /** @return the "font-size-adjust" property. */
+    public Numeric getFontSizeAdjust() {
+        return fontSizeAdjust;
+    }
+
     /**
      * Create and return an array of <code>FontTriplets</code> based on
      * the properties stored in the instance variables.