From: Jeremias Maerki Date: Wed, 29 Jun 2005 20:54:19 +0000 (+0000) Subject: toString() method. X-Git-Tag: fop-0_90-alpha1~514 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41858432b0e5f3cf7cc9dc277c1aae49edd332c2;p=xmlgraphics-fop.git toString() method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202425 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java b/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java index ded7e6593..79d178c39 100644 --- a/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java +++ b/src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java @@ -83,4 +83,14 @@ public class KnuthInlineBox extends KnuthBox { public boolean isAnchor() { return (footnoteBodyLM != null); } + + + /** @see java.lang.Object#toString() */ + public String toString() { + StringBuffer sb = new StringBuffer(super.toString()); + sb.append(" lead=").append(lead); + sb.append(" total=").append(total); + sb.append(" middle=").append(middle); + return sb.toString(); + } } \ No newline at end of file