aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
diff options
context:
space:
mode:
authorLuca Furini <lfurini@apache.org>2005-05-17 14:30:33 +0000
committerLuca Furini <lfurini@apache.org>2005-05-17 14:30:33 +0000
commit8a6f6d0013730c58b880c29a57bb2b830a7a2d0b (patch)
treed30d0e82be0a8d8f99752b99b0ee1fc2efd6f4d8 /src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
parent35caddb90abdb7d445db236041c221d7fc9bf8a1 (diff)
downloadxmlgraphics-fop-8a6f6d0013730c58b880c29a57bb2b830a7a2d0b.tar.gz
xmlgraphics-fop-8a6f6d0013730c58b880c29a57bb2b830a7a2d0b.zip
Footnote implementation: changes to existing files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198637 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java b/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
index d47cd059f..b3bb1c438 100644
--- a/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
+++ b/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
@@ -166,6 +166,14 @@ public class LayoutManagerMapping implements LayoutManagerMaker {
return new StaticContentLayoutManager(pslm, sc, reg);
}
+ /*
+ * @see org.apache.fop.layoutmgr.LayoutManagerMaker#makeStaticContentLayoutManager(org.apache.fop.layoutmgr.PageSequenceLayoutManager, org.apache.fop.fo.pagination.StaticContent, org.apache.fop.area.Block)
+ */
+ public StaticContentLayoutManager makeStaticContentLayoutManager(
+ PageSequenceLayoutManager pslm, StaticContent sc, org.apache.fop.area.Block block) {
+ return new StaticContentLayoutManager(pslm, sc, block);
+ }
+
public static class Maker {
public void make(FONode node, List lms) {
// no layout manager
@@ -230,10 +238,7 @@ public class LayoutManagerMapping implements LayoutManagerMaker {
public static class FootnodeLayoutManagerMaker extends Maker {
public void make(FONode node, List lms) {
- Inline citation = ((Footnote) node).getInlineFO();
- if (citation != null) {
- lms.add(new InlineLayoutManager(citation));
- }
+ lms.add(new FootnoteLayoutManager((Footnote) node));
}
}