Class RtfAnnotation

java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfAnnotation
All Implemented Interfaces:
RtfBasicElement, com.lowagie.text.RtfElementInterface

public class RtfAnnotation extends RtfElement
The RtfAnnotation provides support for adding Annotations to the rtf document. Only simple Annotations with Title / Content are supported.
Version:
$Id: RtfAnnotation.java 3580 2008-08-06 15:52:00Z howard_s $
  • Field Details

    • ANNOTATION_ID

      private static final byte[] ANNOTATION_ID
      Constant for the id of the annotation
    • ANNOTATION_AUTHOR

      private static final byte[] ANNOTATION_AUTHOR
      Constant for the author of the annotation
    • ANNOTATION

      private static final byte[] ANNOTATION
      Constant for the actual annotation
    • title

      private final String title
      The title of this RtfAnnotation
    • content

      private final String content
      The content of this RtfAnnotation
  • Constructor Details

    • RtfAnnotation

      public RtfAnnotation(RtfDocument doc, com.lowagie.text.Annotation annotation)
      Constructs a RtfAnnotation based on an Annotation.
      Parameters:
      doc - The RtfDocument this RtfAnnotation belongs to
      annotation - The Annotation this RtfAnnotation is based off
  • Method Details