aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2006-11-24 17:32:48 +0000
committerVincent Hennebert <vhennebert@apache.org>2006-11-24 17:32:48 +0000
commit2198e6f7dabc6ea704d5e0cd2f56013ea4e8cca1 (patch)
tree8425569696ac426b30dbd87ada53ab0e2abf1dac /src/java/org/apache/fop/fo
parent9b2dbedf57109c6b4c6baa1b3f4490640ea41f43 (diff)
downloadxmlgraphics-fop-2198e6f7dabc6ea704d5e0cd2f56013ea4e8cca1.tar.gz
xmlgraphics-fop-2198e6f7dabc6ea704d5e0cd2f56013ea4e8cca1.zip
Small improvements of the table layout code:
- javadoc - code cleanup - give more explicit names (I believe) to some variables - remove whitespaces at ends of lines git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@478928 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rwxr-xr-xsrc/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java16
1 files changed, 16 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 53b90fea9..168a3b145 100755
--- a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
+++ b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
@@ -249,18 +249,34 @@ public class CommonBorderPaddingBackground implements Cloneable {
return this.fopimage;
}
+ /**
+ * @param bDiscard indicates whether the .conditionality component should be
+ * considered (start of a reference-area)
+ */
public int getBorderStartWidth(boolean bDiscard) {
return getBorderWidth(START, bDiscard);
}
+ /**
+ * @param bDiscard indicates whether the .conditionality component should be
+ * considered (end of a reference-area)
+ */
public int getBorderEndWidth(boolean bDiscard) {
return getBorderWidth(END, bDiscard);
}
+ /**
+ * @param bDiscard indicates whether the .conditionality component should be
+ * considered (start of a reference-area)
+ */
public int getBorderBeforeWidth(boolean bDiscard) {
return getBorderWidth(BEFORE, bDiscard);
}
+ /**
+ * @param bDiscard indicates whether the .conditionality component should be
+ * considered (end of a reference-area)
+ */
public int getBorderAfterWidth(boolean bDiscard) {
return getBorderWidth(AFTER, bDiscard);
}