From e8ed15d772b0d039c9d3d2707ff5401ae02d0024 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Thu, 11 Nov 2004 08:11:07 +0000 Subject: [PATCH] Moved the constructor to the top. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198139 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/layoutmgr/LineLayoutManager.java | 42 +++++++++---------- 1 file 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 @@ -49,6 +49,27 @@ import org.apache.fop.traits.MinOptMax; 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() */ @@ -340,27 +361,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. -- 2.39.5