aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Inline.java
diff options
context:
space:
mode:
authorManuel Mall <manuel@apache.org>2005-10-07 08:55:22 +0000
committerManuel Mall <manuel@apache.org>2005-10-07 08:55:22 +0000
commit2ae0a968ee9de3880e0cf03a1c505e2f296108a5 (patch)
treed21fa15aa17ff4247a5fae927b9a9c393a91ba87 /src/java/org/apache/fop/fo/flow/Inline.java
parente4796389dec62db384cee2610c5ec7011341ba2c (diff)
downloadxmlgraphics-fop-2ae0a968ee9de3880e0cf03a1c505e2f296108a5.tar.gz
xmlgraphics-fop-2ae0a968ee9de3880e0cf03a1c505e2f296108a5.zip
Update to support border and padding and alignments on inline fos
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Inline.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/Inline.java31
1 files changed, 25 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Inline.java b/src/java/org/apache/fop/fo/flow/Inline.java
index f6e6e7176..0070187d6 100644
--- a/src/java/org/apache/fop/fo/flow/Inline.java
+++ b/src/java/org/apache/fop/fo/flow/Inline.java
@@ -49,7 +49,6 @@ public class Inline extends InlineLevel {
private KeepProperty keepTogether;
private KeepProperty keepWithNext;
private KeepProperty keepWithPrevious;
- private int verticalAlign;
private Length width;
private int wrapOption;
// End of property values
@@ -82,7 +81,6 @@ public class Inline extends InlineLevel {
keepTogether = pList.get(PR_KEEP_TOGETHER).getKeep();
keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep();
keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep();
- verticalAlign = pList.get(PR_VERTICAL_ALIGN).getEnum();
width = pList.get(PR_WIDTH).getLength();
wrapOption = pList.get(PR_WRAP_OPTION).getEnum();
}
@@ -157,12 +155,33 @@ public class Inline extends InlineLevel {
}
/**
- * Return the "vertical-align" property.
+ * @return the "alignment-adjust" property
*/
- public int getVerticalAlign() {
- return verticalAlign;
+ public Length getAlignmentAdjust() {
+ return alignmentAdjust;
}
-
+
+ /**
+ * @return the "alignment-baseline" property
+ */
+ public int getAlignmentBaseline() {
+ return alignmentBaseline;
+ }
+
+ /**
+ * @return the "baseline-shift" property
+ */
+ public Length getBaselineShift() {
+ return baselineShift;
+ }
+
+ /**
+ * @return the "dominant-baseline" property
+ */
+ public int getDominantBaseline() {
+ return dominantBaseline;
+ }
+
/**
* @see org.apache.fop.fo.FObjMixed#charIterator
*/