diff options
author | Luca Furini <lfurini@apache.org> | 2005-05-17 14:30:33 +0000 |
---|---|---|
committer | Luca Furini <lfurini@apache.org> | 2005-05-17 14:30:33 +0000 |
commit | 8a6f6d0013730c58b880c29a57bb2b830a7a2d0b (patch) | |
tree | d30d0e82be0a8d8f99752b99b0ee1fc2efd6f4d8 /src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java | |
parent | 35caddb90abdb7d445db236041c221d7fc9bf8a1 (diff) | |
download | xmlgraphics-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.java | 22 |
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 |