Uses of Class
com.itextpdf.text.pdf.PdfAnnotation
-
Packages that use PdfAnnotation Package Description com.itextpdf.text com.itextpdf.text.pdf com.itextpdf.text.pdf.interfaces com.itextpdf.text.pdf.internal com.itextpdf.text.pdf.richmedia -
-
Uses of PdfAnnotation in com.itextpdf.text
Methods in com.itextpdf.text with parameters of type PdfAnnotation Modifier and Type Method Description Chunk
Chunk. setAnnotation(PdfAnnotation annotation)
Sets a generic annotation to thisChunk
. -
Uses of PdfAnnotation in com.itextpdf.text.pdf
Subclasses of PdfAnnotation in com.itextpdf.text.pdf Modifier and Type Class Description class
PdfFormField
Implements form fields.Methods in com.itextpdf.text.pdf that return PdfAnnotation Modifier and Type Method Description PdfAnnotation
PdfAnnotation.PdfImportedLink. createAnnotation(PdfWriter writer)
PdfAnnotation
PdfAStamperImp. createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype)
PdfAnnotation
PdfAStamperImp. createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype)
PdfAnnotation
PdfAStamperImp. createAnnotation(Rectangle rect, PdfName subtype)
PdfAnnotation
PdfAWriter. createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype)
PdfAnnotation
PdfAWriter. createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype)
PdfAnnotation
PdfAWriter. createAnnotation(Rectangle rect, PdfName subtype)
PdfAnnotation
PdfWriter. createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype)
A wrapper around PdfAnnotation constructor.PdfAnnotation
PdfWriter. createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype)
A wrapper around PdfAnnotation constructor.PdfAnnotation
PdfWriter. createAnnotation(Rectangle rect, PdfName subtype)
A wrapper around PdfAnnotation constructor.static PdfAnnotation
PdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, byte[] fileStore, java.lang.String file, java.lang.String fileDisplay)
Creates a file attachment annotation.static PdfAnnotation
PdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfFileSpecification fs)
Creates a file attachment annotationstatic PdfAnnotation
PdfAnnotation. createFreeText(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfContentByte defaultAppearance)
Add some free text to the document.static PdfAnnotation
PdfAnnotation. createInk(PdfWriter writer, Rectangle rect, java.lang.String contents, float[][] inkList)
static PdfAnnotation
PdfAnnotation. createLine(PdfWriter writer, Rectangle rect, java.lang.String contents, float x1, float y1, float x2, float y2)
Adds a line to the document.protected static PdfAnnotation
PdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight)
Creates a link.static PdfAnnotation
PdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest)
Creates an Annotation with a PdfDestination.static PdfAnnotation
PdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action)
Creates an Annotation with an Action.static PdfAnnotation
PdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, java.lang.String namedDestination)
Creates an Annotation with an local destination.static PdfAnnotation
PdfAnnotation. createMarkup(PdfWriter writer, Rectangle rect, java.lang.String contents, int type, float[] quadPoints)
static PdfAnnotation
PdfAnnotation. createPolygonPolyline(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean polygon, PdfArray vertices)
Creates a polygon or -line annotationstatic PdfAnnotation
PdfAnnotation. createPopup(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean open)
Adds a popup to your document.static PdfAnnotation
PdfAnnotation. createScreen(PdfWriter writer, Rectangle rect, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)
Creates a screen PdfAnnotationstatic PdfAnnotation
PdfAnnotation. createSquareCircle(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean square)
Adds a circle or a square that shows a tooltip when you pass over it.static PdfAnnotation
PdfAnnotation. createStamp(PdfWriter writer, Rectangle rect, java.lang.String contents, java.lang.String name)
Adds a Stamp to your document.static PdfAnnotation
PdfAnnotation. createText(PdfWriter writer, Rectangle rect, java.lang.String title, java.lang.String contents, boolean open, java.lang.String icon)
static PdfAnnotation
PdfFormField. shallowDuplicate(PdfAnnotation annot)
Methods in com.itextpdf.text.pdf with parameters of type PdfAnnotation Modifier and Type Method Description (package private) void
PdfContentByte. addAnnotation(PdfAnnotation annot)
void
PdfContentByte. addAnnotation(PdfAnnotation annot, boolean applyCTM)
void
PdfCopy. addAnnotation(PdfAnnotation annot)
void
PdfCopy.PageStamp. addAnnotation(PdfAnnotation annot)
(package private) void
PdfDocument. addAnnotation(PdfAnnotation annot)
void
PdfStamper. addAnnotation(PdfAnnotation annot, int page)
Adds an annotation of form field in a specific page.void
PdfStamperImp. addAnnotation(PdfAnnotation annot)
(package private) void
PdfStamperImp. addAnnotation(PdfAnnotation annot, int page)
(package private) void
PdfStamperImp. addAnnotation(PdfAnnotation annot, PdfDictionary pageN)
void
PdfWriter. addAnnotation(PdfAnnotation annot)
(package private) void
PdfWriter. addAnnotation(PdfAnnotation annot, int page)
(package private) void
StampContent. addAnnotation(PdfAnnotation annot)
static PdfAction
PdfAction. createHide(PdfAnnotation annot, boolean hide)
A Hide action hides or shows an annotation.(package private) void
PdfStructureElement. setAnnotation(PdfAnnotation annot, PdfIndirectReference currentPage)
void
PdfAnnotation. setPopup(PdfAnnotation popup)
static PdfAnnotation
PdfFormField. shallowDuplicate(PdfAnnotation annot)
Method parameters in com.itextpdf.text.pdf with type arguments of type PdfAnnotation Modifier and Type Method Description private void
PdfCopy.PageStamp. expandFields(PdfFormField field, java.util.ArrayList<PdfAnnotation> allAnnots)
(package private) void
PdfStamperImp. expandFields(PdfFormField field, java.util.ArrayList<PdfAnnotation> allAnnots)
-
Uses of PdfAnnotation in com.itextpdf.text.pdf.interfaces
Methods in com.itextpdf.text.pdf.interfaces with parameters of type PdfAnnotation Modifier and Type Method Description void
PdfAnnotations. addAnnotation(PdfAnnotation annot)
Use this methods to add aPdfAnnotation
or aPdfFormField
to the document. -
Uses of PdfAnnotation in com.itextpdf.text.pdf.internal
Fields in com.itextpdf.text.pdf.internal with type parameters of type PdfAnnotation Modifier and Type Field Description protected java.util.ArrayList<PdfAnnotation>
PdfAnnotationsImp. annotations
This is the array containing the references to annotations that were added to the document.protected java.util.ArrayList<PdfAnnotation>
PdfAnnotationsImp. delayedAnnotations
This is an array containing references to some delayed annotations (that were added for a page that doesn't exist yet).Methods in com.itextpdf.text.pdf.internal that return PdfAnnotation Modifier and Type Method Description static PdfAnnotation
PdfAnnotationsImp. convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect)
Methods in com.itextpdf.text.pdf.internal with parameters of type PdfAnnotation Modifier and Type Method Description void
PdfAnnotationsImp. addAnnotation(PdfAnnotation annot)
void
PdfAnnotationsImp. addPlainAnnotation(PdfAnnotation annot)
-
Uses of PdfAnnotation in com.itextpdf.text.pdf.richmedia
Fields in com.itextpdf.text.pdf.richmedia declared as PdfAnnotation Modifier and Type Field Description protected PdfAnnotation
RichMediaAnnotation. annot
The annotation objectMethods in com.itextpdf.text.pdf.richmedia that return PdfAnnotation Modifier and Type Method Description PdfAnnotation
RichMediaAnnotation. createAnnotation()
Creates the actual annotation and adds different elements to the PdfWriter while doing so.
-