diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-12 18:02:46 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-12 18:02:46 +0000 |
commit | 6b7838777ffd2c2297971728addef851ffc30509 (patch) | |
tree | 9885e96b0eaecbad97316ff8be4bfefe8ea3e648 /src/java/org/apache/fop/layoutmgr/LineLayoutManager.java | |
parent | b6dcb1e72da56b0b55ef41dc97245ce03501cfe9 (diff) | |
download | xmlgraphics-fop-6b7838777ffd2c2297971728addef851ffc30509.tar.gz xmlgraphics-fop-6b7838777ffd2c2297971728addef851ffc30509.zip |
move the "common" property classes from layout to fo.properties, renaming them with a "Common" prefix
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196790 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/LineLayoutManager.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/LineLayoutManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java index 9d9a02e9c..39dcb25c4 100644 --- a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java @@ -51,8 +51,8 @@ package org.apache.fop.layoutmgr; import org.apache.fop.fo.PropertyManager; -import org.apache.fop.layout.MarginProps; -import org.apache.fop.layout.HyphenationProps; +import org.apache.fop.fo.properties.CommonMarginBlock; +import org.apache.fop.fo.properties.CommonHyphenation; import org.apache.fop.layout.hyphenation.Hyphenation; import org.apache.fop.layout.hyphenation.Hyphenator; import org.apache.fop.traits.BlockProps; @@ -111,7 +111,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager { private int bTextAlignment = TextAlign.JUSTIFY; private int iTextIndent = 0; private int iIndents = 0; - private HyphenationProps hyphProps; + private CommonHyphenation hyphProps; private int lineHeight; private int lead; @@ -142,7 +142,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager { * @see org.apache.fop.layoutmgr.AbstractLayoutManager#initProperties(PropertyManager) */ protected void initProperties(PropertyManager propMgr) { - MarginProps marginProps = propMgr.getMarginProps(); + CommonMarginBlock marginProps = propMgr.getMarginProps(); iIndents = marginProps.startIndent + marginProps.endIndent; BlockProps blockProps = propMgr.getBlockProps(); bTextAlignment = blockProps.textAlign; |