1 17 18 19 20 package org.apache.fop.layoutmgr.inline; 21 22 import org.apache.fop.layoutmgr.inline.AlignmentContext; 23 import org.apache.fop.layoutmgr.FootnoteBodyLayoutManager; 24 import org.apache.fop.layoutmgr.KnuthBox; 25 import org.apache.fop.layoutmgr.Position; 26 27 public class KnuthInlineBox extends KnuthBox { 28 29 private FootnoteBodyLayoutManager footnoteBodyLM = null; 30 private AlignmentContext alignmentContext = null; 31 32 40 public KnuthInlineBox(int w, AlignmentContext alignmentContext, Position pos, boolean bAux) { 41 super(w, pos, bAux); 42 this.alignmentContext = alignmentContext; 43 } 44 45 48 public AlignmentContext getAlignmentContext() { 49 return alignmentContext; 50 } 51 52 55 public void setFootnoteBodyLM(FootnoteBodyLayoutManager fblm) { 56 footnoteBodyLM = fblm; 57 } 58 59 62 public FootnoteBodyLayoutManager getFootnoteBodyLM() { 63 return footnoteBodyLM; 64 } 65 66 69 public boolean isAnchor() { 70 return (footnoteBodyLM != null); 71 } 72 73 74 75 public String toString() { 76 StringBuffer sb = new StringBuffer (super.toString()); 77 return sb.toString(); 78 } 79 } | Popular Tags |