diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-29 10:20:55 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-29 10:20:55 +0000 |
commit | 1b4a17a2f8b7d7c9a18d223a45bd7786be1a0332 (patch) | |
tree | dfcd514f50f37c8302d99bd5e23abee1d7d10813 /src/java/org/apache/fop/fo/flow/Leader.java | |
parent | 91080f998efd9036840ce5437cb20fb0b0b37099 (diff) | |
download | xmlgraphics-fop-1b4a17a2f8b7d7c9a18d223a45bd7786be1a0332.tar.gz xmlgraphics-fop-1b4a17a2f8b7d7c9a18d223a45bd7786be1a0332.zip |
Bind some more of the implemented properties.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198110 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Leader.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Leader.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Leader.java b/src/java/org/apache/fop/fo/flow/Leader.java index 9cbdda05c..1637daeb0 100644 --- a/src/java/org/apache/fop/fo/flow/Leader.java +++ b/src/java/org/apache/fop/fo/flow/Leader.java @@ -52,13 +52,13 @@ public class Leader extends FObjMixed { private CommonFont commonFont; private CommonMarginInline commonMarginInline; private CommonRelativePosition commonRelativePosition; - // private ToBeImplementedProperty alignmentAdjust; - // private ToBeImplementedProperty alignmentBaseline; + private Length alignmentAdjust; + private int alignmentBaseline; private Length baselineShift; private ColorType color; - // private ToBeImplementedProperty dominantBaseline; - // private ToBeImplementedProperty textDepth; - // private ToBeImplementedProperty textAltitude; + private int dominantBaseline; + private Length textDepth; + private Length textAltitude; private String id; private KeepProperty keepWithNext; private KeepProperty keepWithPrevious; @@ -92,13 +92,13 @@ public class Leader extends FObjMixed { commonFont = pList.getFontProps(); commonMarginInline = pList.getMarginInlineProps(); commonRelativePosition = pList.getRelativePositionProps(); - // alignmentAdjust = pList.get(PR_ALIGNMENT_ADJUST); - // alignmentBaseline = pList.get(PR_ALIGNMENT_BASELINE); + alignmentAdjust = pList.get(PR_ALIGNMENT_ADJUST).getLength(); + alignmentBaseline = pList.get(PR_ALIGNMENT_BASELINE).getEnum(); baselineShift = pList.get(PR_BASELINE_SHIFT).getLength(); color = pList.get(PR_COLOR).getColorType(); - // dominantBaseline = pList.get(PR_DOMINANT_BASELINE); - // textDepth = pList.get(PR_TEXT_DEPTH); - // textAltitude = pList.get(PR_TEXT_ALTITUDE); + dominantBaseline = pList.get(PR_DOMINANT_BASELINE).getEnum(); + textDepth = pList.get(PR_TEXT_DEPTH).getLength(); + textAltitude = pList.get(PR_TEXT_ALTITUDE).getLength(); id = pList.get(PR_ID).getString(); keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep(); keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep(); |