com.lowagie.text.rtf.field
public class RtfAnchor extends RtfField
Version: $Id: RtfAnchor.java 2784 2007-05-24 15:43:40Z hallm $
Field Summary | |
---|---|
RtfPhrase | content
The RtfPhrase to display for the url |
static byte[] | HYPERLINK
Constant for a hyperlink |
String | url
The url of this RtfAnchor |
Constructor Summary | |
---|---|
RtfAnchor(RtfDocument doc, Anchor anchor)
Constructs a RtfAnchor based on a RtfField
|
Method Summary | |
---|---|
protected byte[] | writeFieldInstContent()
Write the field instructions for this RtfAnchor. |
protected void | writeFieldInstContent(OutputStream result) |
protected byte[] | writeFieldResultContent()
Write the field result for this RtfAnchor. |
protected void | writeFieldResultContent(OutputStream out)
Write the field result for this RtfAnchor. |
Parameters: doc The RtfDocument this RtfAnchor belongs to anchor The Anchor this RtfAnchor is based on
Deprecated: replaced by writeFieldInstContent
Write the field instructions for this RtfAnchor. Sets the field type to HYPERLINK and then writes the url.Returns: The field instructions for this RtfAnchor
Throws: IOException
Deprecated: replaced by writeFieldResultContent
Write the field result for this RtfAnchor. Writes the content of the RtfPhrase.Returns: The field result for this RtfAnchor
Throws: IOException