de.dante.extex.typesetter.type.node.pdftex
Class PdfAnnotation
java.lang.Object
de.dante.extex.typesetter.type.node.AbstractNode
de.dante.extex.typesetter.type.node.WhatsItNode
de.dante.extex.typesetter.type.node.pdftex.PdfAnnotation
- All Implemented Interfaces:
- Node, java.io.Serializable
- public class PdfAnnotation
- extends WhatsItNode
This node carries an annotation for PDF.
This node type represents the extension node from the perspective of
TeX.
- Version:
- $Revision: 1.4 $
- Author:
- Gerd Neugebauer
- See Also:
- Serialized Form
Field Summary |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
Constructor Summary |
PdfAnnotation(java.lang.String text)
Creates a new object. |
Method Summary |
java.lang.String |
getText()
Getter for text. |
void |
toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
This method puts the printable representation into the string buffer. |
Methods inherited from class de.dante.extex.typesetter.type.node.WhatsItNode |
visit |
Methods inherited from class de.dante.extex.typesetter.type.node.AbstractNode |
addDepthTo, addHeightTo, addWidthTo, advanceDepth, advanceHeight, advanceWidth, atShipping, computeAdjustment, countChars, getChars, getDepth, getHeight, getLocalizer, getVerticalSize, getWidth, maxDepth, maxHeight, maxWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth, toString, toText, toText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
protected static final long serialVersionUID
- The constant serialVersionUID contains the id for serialization.
- See Also:
- Constant Field Values
PdfAnnotation
public PdfAnnotation(java.lang.String text)
- Creates a new object.
- Parameters:
text
- the text of the annotation
getText
public java.lang.String getText()
- Getter for text.
- Returns:
- the text
toString
public void toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
- Description copied from interface:
Node
- This method puts the printable representation into the string buffer.
This is meant to produce a exhaustive form as it is used in tracing
output to the log file.
- Specified by:
toString
in interface Node
- Overrides:
toString
in class WhatsItNode
- See Also:
Node.toString(
java.lang.StringBuffer,
java.lang.String,
int,
int)