From 41858432b0e5f3cf7cc9dc277c1aae49edd332c2 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 29 Jun 2005 20:54:19 +0000 Subject: [PATCH] toString() method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202425 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5