aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.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/KnuthInlineBox.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/KnuthInlineBox.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java b/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java
index cca2bbbb5..ded7e6593 100644
--- a/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java
+++ b/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java
@@ -23,6 +23,7 @@ public class KnuthInlineBox extends KnuthBox {
private int lead;
private int total;
private int middle;
+ private FootnoteBodyLayoutManager footnoteBodyLM = null;
/**
* Create a new KnuthBox.
@@ -61,4 +62,25 @@ public class KnuthInlineBox extends KnuthBox {
public int getMiddle() {
return middle;
}
+
+ /**
+ * @param fblm the FootnoteBodyLM this box must hold a reference to
+ */
+ public void setFootnoteBodyLM(FootnoteBodyLayoutManager fblm) {
+ footnoteBodyLM = fblm;
+ }
+
+ /**
+ * @return the FootnoteBodyLM this box holds a reference to
+ */
+ public FootnoteBodyLayoutManager getFootnoteBodyLM() {
+ return footnoteBodyLM;
+ }
+
+ /**
+ * @return true if this box holds a reference to a FootnoteBodyLM
+ */
+ public boolean isAnchor() {
+ return (footnoteBodyLM != null);
+ }
} \ No newline at end of file