package org.apache.fop.fo;
// Java
-import java.util.List;
import java.util.NoSuchElementException;
// FOP
import org.apache.fop.fo.properties.CommonTextDecoration;
import org.apache.fop.fo.properties.Property;
import org.apache.fop.fo.properties.SpaceProperty;
-import org.apache.fop.layoutmgr.TextLayoutManager;
/**
* A text node (PCDATA) in the formatting object tree.
public CommonTextDecoration getTextDecoration() {
return textDecoration;
}
+
+ public String toString() {
+ StringBuffer sb = new StringBuffer(super.toString());
+ sb.append(" (").append(ca).append(")");
+ return sb.toString();
+ }
}
\ No newline at end of file
if (isForcedBreak()) {
sb.append(", forced break");
}
+ if (nextBreakOverflows()) {
+ sb.append(", next break overflows");
+ }
sb.append(", stackSize={");
sb.append(stackSize);
sb.append("}, pos=");
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public int getLeafPos() {
return iLeafPos;
}
+
+ /** @see java.lang.Object#toString()*/
+ public String toString() {
+ StringBuffer sb = new StringBuffer(super.toString());
+ sb.append(" {pos=").append(getLeafPos());
+ sb.append(", lm=").append(getLM()).append("}");
+ return sb.toString();
+ }
}