diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-06-29 20:54:19 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-06-29 20:54:19 +0000 |
commit | 41858432b0e5f3cf7cc9dc277c1aae49edd332c2 (patch) | |
tree | be7a167ef7ea453b5ddba006d22ecafa04ea58ed /src/java/org/apache | |
parent | 035ccdf421a79ceb2fcb66cc3f5b948c07ea443d (diff) | |
download | xmlgraphics-fop-41858432b0e5f3cf7cc9dc277c1aae49edd332c2.tar.gz xmlgraphics-fop-41858432b0e5f3cf7cc9dc277c1aae49edd332c2.zip |
toString() method.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202425 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/KnuthInlineBox.java | 10 |
1 files changed, 10 insertions, 0 deletions
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 |