Class AddAnnotation

java.lang.Object
org.jpedal.manipulator.AddAnnotation
All Implemented Interfaces:
org.jpedal.manipulator.Manipulation

public class AddAnnotation extends Object implements org.jpedal.manipulator.Manipulation
Adds annotations.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    AddAnnotation(PageRanges pages, Annotation[] annotations)
    Adds many annotations to many pages.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addAnnotationsToPage(org.jpedal.io.annotation.utils.AnnotBuffer mainBuffer, org.jpedal.io.annotation.utils.AnnotOREF pageRef, List<org.jpedal.io.annotation.utils.AnnotObject> annotationRefs)
    Adds the created annotations to the page.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • addAnnotationsToPage

      public static void addAnnotationsToPage(org.jpedal.io.annotation.utils.AnnotBuffer mainBuffer, org.jpedal.io.annotation.utils.AnnotOREF pageRef, List<org.jpedal.io.annotation.utils.AnnotObject> annotationRefs) throws IOException
      Adds the created annotations to the page.
      Parameters:
      mainBuffer - the main AnnotBuffer for the currently loaded document
      pageRef - the ref of the page the annotations will be added to
      annotationRefs - a list of refs of the created annotations
      Throws:
      IOException - if the document cannot be processed