Uses of Class
com.itextpdf.text.pdf.PdfAnnotation
Packages that use PdfAnnotation
Package
Description
-
Uses of PdfAnnotation in com.itextpdf.text
Methods in com.itextpdf.text with parameters of type PdfAnnotationModifier and TypeMethodDescriptionChunk.setAnnotation(PdfAnnotation annotation) Sets a generic annotation to thisChunk. -
Uses of PdfAnnotation in com.itextpdf.text.pdf
Subclasses of PdfAnnotation in com.itextpdf.text.pdfMethods in com.itextpdf.text.pdf that return PdfAnnotationModifier and TypeMethodDescriptionPdfAnnotation.PdfImportedLink.createAnnotation(PdfWriter writer) PdfAStamperImp.createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype) PdfAStamperImp.createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype) PdfAStamperImp.createAnnotation(Rectangle rect, PdfName subtype) PdfAWriter.createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype) PdfAWriter.createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype) PdfAWriter.createAnnotation(Rectangle rect, PdfName subtype) PdfWriter.createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype) A wrapper around PdfAnnotation constructor.PdfWriter.createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype) A wrapper around PdfAnnotation constructor.PdfWriter.createAnnotation(Rectangle rect, PdfName subtype) A wrapper around PdfAnnotation constructor.static PdfAnnotationPdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, byte[] fileStore, String file, String fileDisplay) Creates a file attachment annotation.static PdfAnnotationPdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs) Creates a file attachment annotationstatic PdfAnnotationPdfAnnotation.createFreeText(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance) Add some free text to the document.static PdfAnnotationstatic PdfAnnotationPdfAnnotation.createLine(PdfWriter writer, Rectangle rect, String contents, float x1, float y1, float x2, float y2) Adds a line to the document.protected static PdfAnnotationPdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight) Creates a link.static PdfAnnotationPdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest) Creates an Annotation with a PdfDestination.static PdfAnnotationPdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action) Creates an Annotation with an Action.static PdfAnnotationPdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, String namedDestination) Creates an Annotation with an local destination.static PdfAnnotationPdfAnnotation.createMarkup(PdfWriter writer, Rectangle rect, String contents, int type, float[] quadPoints) static PdfAnnotationPdfAnnotation.createPolygonPolyline(PdfWriter writer, Rectangle rect, String contents, boolean polygon, PdfArray vertices) Creates a polygon or -line annotationstatic PdfAnnotationPdfAnnotation.createPopup(PdfWriter writer, Rectangle rect, String contents, boolean open) Adds a popup to your document.static PdfAnnotationPdfAnnotation.createScreen(PdfWriter writer, Rectangle rect, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay) Creates a screen PdfAnnotationstatic PdfAnnotationPdfAnnotation.createSquareCircle(PdfWriter writer, Rectangle rect, String contents, boolean square) Adds a circle or a square that shows a tooltip when you pass over it.static PdfAnnotationPdfAnnotation.createStamp(PdfWriter writer, Rectangle rect, String contents, String name) Adds a Stamp to your document.static PdfAnnotationPdfAnnotation.createText(PdfWriter writer, Rectangle rect, String title, String contents, boolean open, String icon) static PdfAnnotationPdfFormField.shallowDuplicate(PdfAnnotation annot) Methods in com.itextpdf.text.pdf with parameters of type PdfAnnotationModifier and TypeMethodDescriptionvoidPdfContentByte.addAnnotation(PdfAnnotation annot, boolean applyCTM) voidPdfCopy.addAnnotation(PdfAnnotation annot) voidPdfCopy.PageStamp.addAnnotation(PdfAnnotation annot) voidPdfStamper.addAnnotation(PdfAnnotation annot, int page) Adds an annotation of form field in a specific page.voidPdfWriter.addAnnotation(PdfAnnotation annot) static PdfActionPdfAction.createHide(PdfAnnotation annot, boolean hide) A Hide action hides or shows an annotation.voidPdfAnnotation.setPopup(PdfAnnotation popup) static PdfAnnotationPdfFormField.shallowDuplicate(PdfAnnotation annot) -
Uses of PdfAnnotation in com.itextpdf.text.pdf.interfaces
Methods in com.itextpdf.text.pdf.interfaces with parameters of type PdfAnnotationModifier and TypeMethodDescriptionvoidPdfAnnotations.addAnnotation(PdfAnnotation annot) Use this methods to add aPdfAnnotationor aPdfFormFieldto the document. -
Uses of PdfAnnotation in com.itextpdf.text.pdf.internal
Fields in com.itextpdf.text.pdf.internal with type parameters of type PdfAnnotationModifier and TypeFieldDescriptionprotected ArrayList<PdfAnnotation> PdfAnnotationsImp.annotationsThis is the array containing the references to annotations that were added to the document.protected ArrayList<PdfAnnotation> PdfAnnotationsImp.delayedAnnotationsThis 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 PdfAnnotationModifier and TypeMethodDescriptionstatic PdfAnnotationPdfAnnotationsImp.convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) Methods in com.itextpdf.text.pdf.internal with parameters of type PdfAnnotationModifier and TypeMethodDescriptionvoidPdfAnnotationsImp.addAnnotation(PdfAnnotation annot) voidPdfAnnotationsImp.addPlainAnnotation(PdfAnnotation annot) -
Uses of PdfAnnotation in com.itextpdf.text.pdf.richmedia
Fields in com.itextpdf.text.pdf.richmedia declared as PdfAnnotationModifier and TypeFieldDescriptionprotected PdfAnnotationRichMediaAnnotation.annotThe annotation objectMethods in com.itextpdf.text.pdf.richmedia that return PdfAnnotationModifier and TypeMethodDescriptionRichMediaAnnotation.createAnnotation()Creates the actual annotation and adds different elements to the PdfWriter while doing so.