aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2009-03-25 10:32:23 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2009-03-25 10:32:23 +0000
commitcc0fa5f92143580b61a1ae77fc8a2bb26474a45d (patch)
tree70e6774cc5054f7b0301e2aacd68cb5dac3d4550 /src/java
parenteb4b7caf256d71d70345ee035795f2636a41062d (diff)
downloadxmlgraphics-fop-cc0fa5f92143580b61a1ae77fc8a2bb26474a45d.tar.gz
xmlgraphics-fop-cc0fa5f92143580b61a1ae77fc8a2bb26474a45d.zip
Added some accessor methods to some public member variables. I have left the public member variables exposed for now as changing them to private/protected may possibly break something external to FOP.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758204 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rwxr-xr-xsrc/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java64
-rwxr-xr-xsrc/java/org/apache/fop/fo/properties/CommonFont.java10
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.