]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixed for changed method
authorKeiron Liddle <keiron@apache.org>
Tue, 4 Mar 2003 03:55:54 +0000 (03:55 +0000)
committerKeiron Liddle <keiron@apache.org>
Tue, 4 Mar 2003 03:55:54 +0000 (03:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196012 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/Title.java
src/org/apache/fop/fo/flow/Leader.java

index 12bd99d951bac5ac6276ace444bc531811b33ed1..b45b483ac4f7806a3686919fdc8eb9b5d98c770b 100644 (file)
@@ -8,16 +8,17 @@
 package org.apache.fop.fo;
 
 // FOP
-import org.apache.fop.fo.*;
-import org.apache.fop.datatypes.*;
-import org.apache.fop.layout.*;
-import org.apache.fop.fo.flow.*;
-import org.apache.fop.fo.properties.*;
-import org.apache.fop.apps.FOPException;
-
-import org.apache.fop.layoutmgr.LMiter;
-import org.apache.fop.layoutmgr.InlineStackingLayoutManager;
+import org.apache.fop.datatypes.ColorType;
+import org.apache.fop.datatypes.Length;
+import org.apache.fop.layout.AccessibilityProps;
+import org.apache.fop.layout.AuralProps;
+import org.apache.fop.layout.BackgroundProps;
+import org.apache.fop.layout.BorderAndPadding;
+import org.apache.fop.layout.FontState;
+import org.apache.fop.layout.MarginInlineProps;
 import org.apache.fop.layoutmgr.ContentLayoutManager;
+import org.apache.fop.layoutmgr.InlineStackingLayoutManager;
+import org.apache.fop.layoutmgr.LMiter;
 
 /**
  */
@@ -43,7 +44,7 @@ public class Title extends FObjMixed {
 
         ContentLayoutManager clm = new ContentLayoutManager(title);
         clm.setUserAgent(getUserAgent());
-        lm.setParentLM(clm);
+        lm.setParent(clm);
 
         clm.fillArea(lm);
 
index 4846652a9f10be40f038105dcaebb70f50e5f910..d5de744da30fe5df4a1f0c8c7ce2fcd1e179fcc5 100644 (file)
@@ -8,30 +8,35 @@
 package org.apache.fop.fo.flow;
 
 // FOP
-import org.apache.fop.fo.*;
-import org.apache.fop.fo.properties.*;
-import org.apache.fop.datatypes.*;
+import java.util.List;
+
+import org.apache.fop.apps.StructureHandler;
+import org.apache.fop.area.Trait;
+import org.apache.fop.area.inline.FilledArea;
 import org.apache.fop.area.inline.InlineArea;
-import org.apache.fop.layout.*;
+import org.apache.fop.area.inline.Space;
+import org.apache.fop.area.inline.Word;
+import org.apache.fop.datatypes.ColorType;
+import org.apache.fop.datatypes.Length;
+import org.apache.fop.datatypes.PercentLength;
+import org.apache.fop.fo.FONode;
+import org.apache.fop.fo.FObjMixed;
+import org.apache.fop.fo.properties.LeaderPattern;
+import org.apache.fop.layout.AccessibilityProps;
+import org.apache.fop.layout.AuralProps;
+import org.apache.fop.layout.BackgroundProps;
+import org.apache.fop.layout.BorderAndPadding;
+import org.apache.fop.layout.FontInfo;
 import org.apache.fop.layout.FontState;
-import org.apache.fop.apps.FOPException;
-import org.apache.fop.layoutmgr.LayoutManager;
-import org.apache.fop.layoutmgr.InlineStackingLayoutManager;
-import org.apache.fop.layoutmgr.LeafNodeLayoutManager;
+import org.apache.fop.layout.MarginInlineProps;
+import org.apache.fop.layout.RelativePositionProps;
 import org.apache.fop.layoutmgr.ContentLayoutManager;
-import org.apache.fop.layoutmgr.LayoutContext;
+import org.apache.fop.layoutmgr.InlineStackingLayoutManager;
 import org.apache.fop.layoutmgr.LMiter;
+import org.apache.fop.layoutmgr.LayoutContext;
+import org.apache.fop.layoutmgr.LeafNodeLayoutManager;
 import org.apache.fop.layoutmgr.MinOptMax;
-import org.apache.fop.area.inline.Space;
-import org.apache.fop.area.inline.Word;
-import org.apache.fop.area.inline.InlineParent;
-import org.apache.fop.area.inline.FilledArea;
 import org.apache.fop.util.CharUtilities;
-import org.apache.fop.apps.StructureHandler;
-import org.apache.fop.area.Trait;
-
-import java.util.List;
-import java.util.ArrayList;
 
 /**
  * Implements fo:leader; main property of leader leader-pattern.
@@ -134,7 +139,7 @@ public class Leader extends FObjMixed {
 
             ContentLayoutManager clm = new ContentLayoutManager(fa);
             clm.setUserAgent(getUserAgent());
-            lm.setParentLM(clm);
+            lm.setParent(clm);
 
             clm.fillArea(lm);
             int width = clm.getStackingSize();