aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/ListBlock.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-11-03 16:29:58 +0000
committerKeiron Liddle <keiron@apache.org>2002-11-03 16:29:58 +0000
commitc55b4c72556bd66076530f4a9bff83b9d4727aca (patch)
tree0692093138ac99c8ade0ae6d3bae808407656e54 /src/org/apache/fop/fo/flow/ListBlock.java
parent0dafe4daaa3857d147ab4bfa41f54bb817213356 (diff)
downloadxmlgraphics-fop-c55b4c72556bd66076530f4a9bff83b9d4727aca.tar.gz
xmlgraphics-fop-c55b4c72556bd66076530f4a9bff83b9d4727aca.zip
initial implementation of lists
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/ListBlock.java')
-rw-r--r--src/org/apache/fop/fo/flow/ListBlock.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/ListBlock.java b/src/org/apache/fop/fo/flow/ListBlock.java
index 56fb2f49d..5bb9e7fed 100644
--- a/src/org/apache/fop/fo/flow/ListBlock.java
+++ b/src/org/apache/fop/fo/flow/ListBlock.java
@@ -14,9 +14,11 @@ import org.apache.fop.datatypes.*;
import org.apache.fop.layout.*;
import org.apache.fop.layout.FontState;
import org.apache.fop.apps.FOPException;
+import org.apache.fop.layoutmgr.list.ListBlockLayoutManager;
// Java
import java.util.Iterator;
+import java.util.List;
public class ListBlock extends FObj {
@@ -36,6 +38,11 @@ public class ListBlock extends FObj {
super(parent);
}
+ public void addLayoutManager(List list) {
+ ListBlockLayoutManager blm = new ListBlockLayoutManager(this);
+ list.add(blm);
+ }
+
public void setup() throws FOPException {
// Common Accessibility Properties