diff options
-rwxr-xr-x | src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java | 64 | ||||
-rwxr-xr-x | src/java/org/apache/fop/fo/properties/CommonFont.java | 10 |
2 files changed, 74 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 eeafbb68b..e32a4c9b2 100755 --- a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java +++ b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java @@ -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) { diff --git a/src/java/org/apache/fop/fo/properties/CommonFont.java b/src/java/org/apache/fop/fo/properties/CommonFont.java index 11275fdd3..55a2393fa 100755 --- a/src/java/org/apache/fop/fo/properties/CommonFont.java +++ b/src/java/org/apache/fop/fo/properties/CommonFont.java @@ -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. |