Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » rtf » field » [javadoc | source]
com.lowagie.text.rtf.field
public class: RtfAnchor [javadoc | source]
java.lang.Object
   com.lowagie.text.Chunk
      com.lowagie.text.rtf.field.RtfField
         com.lowagie.text.rtf.field.RtfAnchor

All Implemented Interfaces:
    RtfBasicElement, Element

The RtfAnchor is the RTF representation of an Anchor object.
Fields inherited from com.lowagie.text.rtf.field.RtfField:
document
Fields inherited from com.lowagie.text.Chunk:
OBJECT_REPLACEMENT_CHARACTER,  NEWLINE,  NEXTPAGE,  content,  font,  attributes,  SEPARATOR,  TAB,  HSCALE,  UNDERLINE,  SUBSUPSCRIPT,  SKEW,  BACKGROUND,  TEXTRENDERMODE,  SPLITCHARACTER,  HYPHENATION,  REMOTEGOTO,  LOCALGOTO,  LOCALDESTINATION,  GENERICTAG,  IMAGE,  ACTION,  NEWPAGE,  PDFANNOTATION,  COLOR,  ENCODING
Constructor:
 public RtfAnchor(RtfDocument doc,
    Anchor anchor) 
    Constructs a RtfAnchor based on a RtfField
    Parameters:
    doc - The RtfDocument this RtfAnchor belongs to
    anchor - The Anchor this RtfAnchor is based on
Method from com.lowagie.text.rtf.field.RtfAnchor Summary:
writeFieldInstContent,   writeFieldResultContent
Methods from com.lowagie.text.rtf.field.RtfField:
isEmpty,   isFieldAlt,   isFieldDirty,   isFieldEdit,   isFieldLocked,   isFieldPrivate,   isInHeader,   isInTable,   setFieldAlt,   setFieldDirty,   setFieldEdit,   setFieldLocked,   setFieldPrivate,   setFont,   setInHeader,   setInTable,   setRtfDocument,   writeContent,   writeFieldInstContent,   writeFieldResultContent
Methods from com.lowagie.text.Chunk:
append,   getAttributes,   getChunks,   getContent,   getFont,   getHorizontalScaling,   getHyphenation,   getImage,   getTextRise,   getWidthPoint,   hasAttributes,   isContent,   isEmpty,   isNestable,   process,   setAction,   setAnchor,   setAnchor,   setAnnotation,   setAttributes,   setBackground,   setBackground,   setFont,   setGenericTag,   setHorizontalScaling,   setHyphenation,   setLocalDestination,   setLocalGoto,   setNewPage,   setRemoteGoto,   setRemoteGoto,   setSkew,   setSplitCharacter,   setTextRenderMode,   setTextRise,   setUnderline,   setUnderline,   toString,   type
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.rtf.field.RtfAnchor Detail:
 protected  void writeFieldInstContent(OutputStream result) throws IOException 
    Write the field instructions for this RtfAnchor. Sets the field type to HYPERLINK and then writes the url.
 protected  void writeFieldResultContent(OutputStream result) throws IOException 
    Write the field result for this RtfAnchor. Writes the content of the RtfPhrase.