aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-11-11 08:11:07 +0000
committerGlen Mazza <gmazza@apache.org>2004-11-11 08:11:07 +0000
commite8ed15d772b0d039c9d3d2707ff5401ae02d0024 (patch)
tree2d59060cfbf4c421e290b65baaf9938de2fe221b /src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
parent4011e6c0107a23beaefb1cb32b10557087c7d0dd (diff)
downloadxmlgraphics-fop-e8ed15d772b0d039c9d3d2707ff5401ae02d0024.tar.gz
xmlgraphics-fop-e8ed15d772b0d039c9d3d2707ff5401ae02d0024.zip
Moved the constructor to the top.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198139 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.java42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
index 692ea9802..d30b98f6a 100644
--- a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
@@ -50,6 +50,27 @@ public class LineLayoutManager extends InlineStackingLayoutManager {
private Block fobj;
/**
+ * Create a new Line Layout Manager.
+ * This is used by the block layout manager to create
+ * line managers for handling inline areas flowing into line areas.
+ *
+ * @param lh the default line height
+ * @param l the default lead, from top to baseline
+ * @param f the default follow, from baseline to bottom
+ */
+ public LineLayoutManager(Block node, int lh, int l, int f) {
+ super(node);
+ fobj = node;
+ // the child FObj are owned by the parent BlockLM
+ // this LM has all its childLMs preloaded
+ fobjIter = null;
+ lineHeight = lh;
+ lead = l;
+ follow = f;
+ initialize(); // Normally done when started by parent!
+ }
+
+ /**
* @see org.apache.fop.layoutmgr.AbstractLayoutManager#initProperties()
*/
protected void initProperties() {
@@ -341,27 +362,6 @@ public class LineLayoutManager extends InlineStackingLayoutManager {
/**
- * Create a new Line Layout Manager.
- * This is used by the block layout manager to create
- * line managers for handling inline areas flowing into line areas.
- *
- * @param lh the default line height
- * @param l the default lead, from top to baseline
- * @param f the default follow, from baseline to bottom
- */
- public LineLayoutManager(Block node, int lh, int l, int f) {
- super(node);
- fobj = node;
- // the child FObj are owned by the parent BlockLM
- // this LM has all its childLMs preloaded
- fobjIter = null;
- lineHeight = lh;
- lead = l;
- follow = f;
- initialize(); // Normally done when started by parent!
- }
-
- /**
* Call child layout managers to generate content.
* This gets the next break which is a full line.
*