aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Inline.java
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2004-12-24 12:06:26 +0000
committerSimon Pepping <spepping@apache.org>2004-12-24 12:06:26 +0000
commitc6dcfcd8dd37b9b40b65d93f2d57d21cd43097b6 (patch)
tree4903fae598b0d92b31a4c701e6ccf31d88658270 /src/java/org/apache/fop/fo/flow/Inline.java
parent43decd1c0ddf36756615f96bbc089f6b7027afa0 (diff)
downloadxmlgraphics-fop-c6dcfcd8dd37b9b40b65d93f2d57d21cd43097b6.tar.gz
xmlgraphics-fop-c6dcfcd8dd37b9b40b65d93f2d57d21cd43097b6.zip
This patch implements a pluggable LayoutManagers system, according
to the ideas of Finn Bock and his patch in bug 30500. Created a LayoutManagerMaker interface, with method makeLayoutManagers(FONode, List), and two convenience methods on top of it. Created an implementation: LayoutManagerMapping. This is along the pattern of FOElementMapping. It creates a Map from FObj class to Maker objects. There are many static inner classes which are subclasses of Maker. Each subclass implements its own version of the make method. FOUserAgent has a setter and getter for LayoutManagerMakerOverride. AreaTreeHandler creates a LayoutManagerMaker, taking the user's override into account, using LayoutManagerMapping as the default. It has a get method for it. The LayoutManager interface has a get method for the AreaTreeHandler object, a reference to which is held in PageSequenceLM, the top of the LM tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Inline.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/Inline.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Inline.java b/src/java/org/apache/fop/fo/flow/Inline.java
index e39c2a8b6..477e00e37 100644
--- a/src/java/org/apache/fop/fo/flow/Inline.java
+++ b/src/java/org/apache/fop/fo/flow/Inline.java
@@ -182,16 +182,6 @@ public class Inline extends InlineLevel {
}
/**
- * @see org.apache.fop.fo.FObj#addLayoutManager(List)
- */
- public void addLayoutManager(List list) {
- if (getChildNodes() != null) {
- InlineLayoutManager lm = new InlineLayoutManager(this);
- list.add(lm);
- }
- }
-
- /**
* @see org.apache.fop.fo.FObj#getName()
*/
public String getName() {