diff options
author | Simon Pepping <spepping@apache.org> | 2004-12-24 12:06:26 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2004-12-24 12:06:26 +0000 |
commit | c6dcfcd8dd37b9b40b65d93f2d57d21cd43097b6 (patch) | |
tree | 4903fae598b0d92b31a4c701e6ccf31d88658270 /src/java/org/apache/fop/fo/pagination | |
parent | 43decd1c0ddf36756615f96bbc089f6b7027afa0 (diff) | |
download | xmlgraphics-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/pagination')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/Flow.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Flow.java b/src/java/org/apache/fop/fo/pagination/Flow.java index 4b3dc610d..8ffa067fe 100644 --- a/src/java/org/apache/fop/fo/pagination/Flow.java +++ b/src/java/org/apache/fop/fo/pagination/Flow.java @@ -139,14 +139,6 @@ public class Flow extends FObj { } /** - * @see org.apache.fop.fo.FONode#addLayoutManager(List) - */ - public void addLayoutManager(List list) { - FlowLayoutManager lm = new FlowLayoutManager(this); - list.add(lm); - } - - /** * @see org.apache.fop.fo.FObj#getName() */ public String getName() { |