Uses of Class
com.itextpdf.kernel.pdf.annot.PdfAnnotation
-
-
Uses of PdfAnnotation in com.itextpdf.forms
Methods in com.itextpdf.forms with parameters of type PdfAnnotation Modifier and Type Method Description private voidPdfPageFormCopier. copyField(java.util.Map<java.lang.String,PdfFormField> fieldsFrom, java.util.Map<java.lang.String,PdfFormField> fieldsTo, PdfAnnotation currentAnnot)private voidPdfPageFormCopier. copyParentFormField(java.util.Map<java.lang.String,PdfFormField> fieldsTo, PdfAnnotation annot, PdfFormField parentField) -
Uses of PdfAnnotation in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields with parameters of type PdfAnnotation Modifier and Type Method Description static voidPdfFormAnnotationUtil. addWidgetAnnotationToPage(PdfPage page, PdfAnnotation annotation)Add widget annotation to the specified page.static voidPdfFormAnnotationUtil. addWidgetAnnotationToPage(PdfPage page, PdfAnnotation annotation, int index)Add widget annotation to the specified page. -
Uses of PdfAnnotation in com.itextpdf.forms.xfdf
Methods in com.itextpdf.forms.xfdf with parameters of type PdfAnnotation Modifier and Type Method Description private static voidXfdfObjectFactory. addAnnotation(PdfAnnotation pdfAnnot, AnnotsObject annots, int pageNumber)private voidXfdfReader. addBorderEffectAttributes(PdfAnnotation annotation, AnnotObject annotObject)private voidXfdfReader. addBorderStyleAttributes(PdfAnnotation annotation, AnnotObject annotObject)private static voidXfdfObjectFactory. addCommonAnnotationAttributes(AnnotObject annot, PdfAnnotation pdfAnnotation)private voidXfdfReader. addCommonAnnotationAttributes(PdfAnnotation annotation, AnnotObject annotObject)private static voidXfdfObjectFactory. addPopup(PdfAnnotation pdfAnnot, AnnotsObject annots, int pageNumber)(package private) static java.lang.StringXfdfObjectUtils. convertFlagsToString(PdfAnnotation pdfAnnotation)Converts an integer representation of the flags into a string with a comma separated list of names of the flags.private static voidXfdfObjectFactory. createCircleAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static voidXfdfObjectFactory. createFreeTextAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot)private static voidXfdfObjectFactory. createLineAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static voidXfdfObjectFactory. createLinkAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot)private static voidXfdfObjectFactory. createPolyGeomAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static voidXfdfObjectFactory. createSquareAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static voidXfdfObjectFactory. createStampAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static voidXfdfObjectFactory. createTextAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static voidXfdfObjectFactory. createTextMarkupAnnotation(PdfAnnotation pdfAnnotation, AnnotObject annot, int pageNumber)private static AnnotObjectXfdfObjectFactory. createXfdfAnnotation(PdfAnnotation pdfAnnotation, int pageNumber)private static booleanXfdfObjectFactory. isSupportedAnnotation(PdfAnnotation pdfAnnotation)private static voidXfdfObjectFactory. updateXfdfAnnotation(AnnotObject annotObject, PdfAnnotation pdfAnnotation, int pageNumber) -
Uses of PdfAnnotation in com.itextpdf.kernel.pdf
Methods in com.itextpdf.kernel.pdf that return types with arguments of type PdfAnnotation Modifier and Type Method Description java.util.List<PdfAnnotation>PdfPage. getAnnotations()Gets array of annotation dictionaries that shall contain indirect references to all annotations associated with the page.Methods in com.itextpdf.kernel.pdf with parameters of type PdfAnnotation Modifier and Type Method Description PdfPagePdfPage. addAnnotation(int index, PdfAnnotation annotation, boolean tagAnnotation)Adds specifiedPdfAnnotationto specified index in annotations array with or without autotagging.PdfPagePdfPage. addAnnotation(PdfAnnotation annotation)Adds specified annotation to the end of annotations array and tagged it.private booleanPdfPage. addAnnotationTag(TagTreePointer tagPointer, PdfAnnotation annotation)private voidPdfPage. checkIsoConformanceForAnnotation(PdfAnnotation annotation)booleanPdfPage. containsAnnotation(PdfAnnotation annotation)Checks if page contains the specified annotation.private static voidOcgPropertiesCopier. getUsedNonFlushedOCGsFromAnnotation(PdfAnnotation toAnnot, PdfAnnotation fromAnnot, java.util.Set<PdfIndirectReference> fromUsedOcgs, PdfDictionary toOcProperties)private static booleanPdfPage. isAnnotInvisible(PdfAnnotation annotation)PdfPagePdfPage. removeAnnotation(PdfAnnotation annotation)Removes an annotation from the page.PdfPagePdfPage. removeAnnotation(PdfAnnotation annotation, boolean rememberTagPointer)Removes an annotation from the page.private voidPdfPage. tagAnnotation(PdfAnnotation annotation) -
Uses of PdfAnnotation in com.itextpdf.kernel.pdf.action
Methods in com.itextpdf.kernel.pdf.action with parameters of type PdfAnnotation Modifier and Type Method Description static PdfActionPdfAction. createHide(PdfAnnotation[] annotations, boolean hidden)Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfActionPdfAction. createHide(PdfAnnotation annotation, boolean hidden)Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfActionPdfAction. createMovie(PdfAnnotation annotation, java.lang.String title, PdfName operation)Creates a Movie annotation (section 12.6.4.9 of ISO 32000-1).static PdfActionPdfAction. createRendition(java.lang.String file, PdfFileSpec fileSpec, java.lang.String mimeType, PdfAnnotation screenAnnotation)Creates a Rendition action (section 12.6.4.13 of ISO 32000-1).private static PdfArrayPdfAction. getPdfArrayFromAnnotationsList(PdfAnnotation[] wrappers) -
Uses of PdfAnnotation in com.itextpdf.kernel.pdf.annot
Subclasses of PdfAnnotation in com.itextpdf.kernel.pdf.annot Modifier and Type Class Description classPdf3DAnnotationThis class represents 3D annotations by which 3D artwork shall be represented in a PDF document.(package private) static classPdfAnnotation.PdfUnknownAnnotationclassPdfCaretAnnotationclassPdfCircleAnnotationclassPdfFileAttachmentAnnotationclassPdfFreeTextAnnotationclassPdfInkAnnotationclassPdfLineAnnotationThe purpose of a line annotation is to display a single straight line on the page.classPdfLinkAnnotationA link annotation represents either a hypertext link to a destination elsewhere in the document or anPdfActionto be performed.classPdfMarkupAnnotationThis is a super class for the annotations which are defined as markup annotations because they are used primarily to mark up PDF documents.classPdfPolyGeomAnnotation(package private) classPdfPolygonAnnotation(package private) classPdfPolylineAnnotationclassPdfPopupAnnotationclassPdfPrinterMarkAnnotationclassPdfRedactAnnotationclassPdfScreenAnnotationclassPdfSoundAnnotationclassPdfSquareAnnotationclassPdfStampAnnotationclassPdfTextAnnotationclassPdfTextMarkupAnnotationclassPdfTrapNetworkAnnotationAPdfTrapNetworkAnnotationmay be used to define the trapping characteristics for a page of a PDF document.classPdfWatermarkAnnotationclassPdfWidgetAnnotationFields in com.itextpdf.kernel.pdf.annot declared as PdfAnnotation Modifier and Type Field Description protected PdfAnnotationPdfMarkupAnnotation. inReplyToprotected PdfAnnotationPdfPopupAnnotation. parentMethods in com.itextpdf.kernel.pdf.annot that return PdfAnnotation Modifier and Type Method Description PdfAnnotationPdfMarkupAnnotation. getInReplyTo()An annotation that this annotation is "in reply to." Both annotations shall be on the same page of the document.PdfAnnotationPdfPopupAnnotation. getParent()static PdfAnnotationPdfAnnotation. makeAnnotation(PdfObject pdfObject)Factory method that creates the type specificPdfAnnotationfrom the givenPdfObjectthat represents annotation object.PdfAnnotationPdfAnnotation. put(PdfName key, PdfObject value)Inserts the value into into the underlyingPdfDictionaryof thisPdfAnnotationand associates it with the specified key.PdfAnnotationPdfAnnotation. remove(PdfName key)Removes the specified key from the underlyingPdfDictionaryof thisPdfAnnotation.PdfAnnotationPdfAnnotation. resetFlag(int flag)Resets a flag that specifies a characteristic of the annotation to disabled state (see ISO-320001 12.5.3, "Annotation Flags").PdfAnnotationPdfAnnotation. setAppearance(PdfName appearanceType, PdfAnnotationAppearance appearance)Sets a specific type of the appearance usingPdfAnnotationAppearancewrapper.PdfAnnotationPdfAnnotation. setAppearance(PdfName appearanceType, PdfDictionary appearance)Sets a specific type of the appearance.PdfAnnotationPdfAnnotation. setAppearanceState(PdfName as)Sets the annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary.PdfAnnotationPdfAnnotation. setBlendMode(PdfName blendMode)PDF 2.0.PdfAnnotationPdfAnnotation. setBorder(PdfAnnotationBorder border)Sets the characteristics of the annotation’s border.PdfAnnotationPdfAnnotation. setBorder(PdfArray border)Sets the characteristics of the annotation’s border.PdfAnnotationPdfAnnotation. setColor(float[] color)Sets an annotation color.PdfAnnotationPdfAnnotation. setColor(Color color)Sets an annotation color.PdfAnnotationPdfAnnotation. setColor(PdfArray color)Sets an annotation color.PdfAnnotationPdfAnnotation. setContents(PdfString contents)Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.PdfAnnotationPdfAnnotation. setContents(java.lang.String contents)Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.PdfAnnotationPdfAnnotation. setDate(PdfString date)The date and time when the annotation was most recently modified.PdfAnnotationPdfAnnotation. setDownAppearance(PdfAnnotationAppearance appearance)Sets down appearance usingPdfAnnotationAppearancewrapper.PdfAnnotationPdfAnnotation. setDownAppearance(PdfDictionary appearance)Sets down appearance.PdfAnnotationPdfAnnotation. setFlag(int flag)Sets a flag that specifies a characteristic of the annotation to enabled state (see ISO-320001 12.5.3, "Annotation Flags").PdfAnnotationPdfAnnotation. setFlags(int flags)Sets a set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags").PdfAnnotationPdfAnnotation. setLang(java.lang.String lang)PDF 2.0.PdfAnnotationPdfAnnotation. setName(PdfString name)Sets the annotation name, a text string uniquely identifying it among all the annotations on its page.PdfAnnotationPdfAnnotation. setNonStrokingOpacity(float nonStrokingOpacity)PDF 2.0.PdfAnnotationPdfAnnotation. setNormalAppearance(PdfAnnotationAppearance appearance)Sets normal appearance usingPdfAnnotationAppearancewrapper.PdfAnnotationPdfAnnotation. setNormalAppearance(PdfDictionary appearance)Sets normal appearance.PdfAnnotationPdfAnnotation. setPage(PdfPage page)Method that modifies annotation page property, which defines to which page annotation belongs.PdfAnnotationPdfAnnotation. setRectangle(PdfArray array)The annotation rectangle, defining the location of the annotation on the page in default user space units.PdfAnnotationPdfAnnotation. setRolloverAppearance(PdfAnnotationAppearance appearance)Sets rollover appearance usingPdfAnnotationAppearancewrapper.PdfAnnotationPdfAnnotation. setRolloverAppearance(PdfDictionary appearance)Sets rollover appearance.PdfAnnotationPdfAnnotation. setStrokingOpacity(float strokingOpacity)PDF 2.0.PdfAnnotationPdfAnnotation. setStructParentIndex(int structParentIndex)Sets he integer key of the annotation’s entry in the structural parent tree (see ISO-320001 14.7.4.4, "Finding Structure Elements from Content Items").PdfAnnotationPdfAnnotation. setTitle(PdfString title)Sets annotation title.Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfAnnotation Modifier and Type Method Description PdfMarkupAnnotationPdfMarkupAnnotation. setInReplyTo(PdfAnnotation inReplyTo)Sets an annotation that this annotation is "in reply to." Both annotations shall be on the same page of the document.PdfPopupAnnotationPdfPopupAnnotation. setParent(PdfAnnotation parent) -
Uses of PdfAnnotation in com.itextpdf.kernel.pdf.tagging
Constructors in com.itextpdf.kernel.pdf.tagging with parameters of type PdfAnnotation Constructor Description PdfObjRef(PdfAnnotation annot, PdfStructElem parent, int nextStructParentIndex)PdfStructElem(PdfDocument document, PdfName role, PdfAnnotation annot) -
Uses of PdfAnnotation in com.itextpdf.kernel.pdf.tagutils
Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfAnnotation Modifier and Type Method Description TagTreePointerTagTreePointer. addAnnotationTag(PdfAnnotation annotation)Adds a new content item for the givenPdfAnnotationunder the current tag.TagTreePointerTagStructureContext. removeAnnotationTag(PdfAnnotation annotation)Removes annotation content item from the tag structure.TagTreePointerTagStructureContext. removeAnnotationTag(PdfAnnotation annotation, boolean setAutoTaggingPointer)Removes annotation content item from the tag structure and sets autoTaggingPointer if true is passed. -
Uses of PdfAnnotation in com.itextpdf.kernel.utils
Methods in com.itextpdf.kernel.utils that return types with arguments of type PdfAnnotation Modifier and Type Method Description java.util.List<PdfAnnotation>PdfAnnotationFlattener. flatten(PdfDocument document)Flattens the annotations on the page according to the defined implementation ofIAnnotationFlattener.java.util.List<PdfAnnotation>PdfAnnotationFlattener. flatten(java.util.List<PdfAnnotation> annotationsToFlatten)Flattens the annotations on the page according to the defined implementation ofIAnnotationFlattener.Method parameters in com.itextpdf.kernel.utils with type arguments of type PdfAnnotation Modifier and Type Method Description java.util.List<PdfAnnotation>PdfAnnotationFlattener. flatten(java.util.List<PdfAnnotation> annotationsToFlatten)Flattens the annotations on the page according to the defined implementation ofIAnnotationFlattener. -
Uses of PdfAnnotation in com.itextpdf.kernel.utils.annotationsflattening
Methods in com.itextpdf.kernel.utils.annotationsflattening with parameters of type PdfAnnotation Modifier and Type Method Description protected booleanDefaultAnnotationFlattener. draw(PdfAnnotation annotation, PdfPage page)Draws annotation.protected booleanHighLightTextMarkupAnnotationFlattener. draw(PdfAnnotation annotation, PdfPage page)Draws annotation.protected booleanSquigglyTextMarkupAnnotationFlattener. draw(PdfAnnotation annotation, PdfPage page)Draws annotation.protected booleanStrikeOutTextMarkupAnnotationFlattener. draw(PdfAnnotation annotation, PdfPage page)Draws annotation.protected booleanUnderlineTextMarkupAnnotationFlattener. draw(PdfAnnotation annotation, PdfPage page)Draws annotation.booleanAbstractTextMarkupAnnotationFlattener. flatten(PdfAnnotation annotation, PdfPage page)Flatten annotation.booleanDefaultAnnotationFlattener. flatten(PdfAnnotation annotation, PdfPage page)Flatten annotation.booleanIAnnotationFlattener. flatten(PdfAnnotation annotation, PdfPage page)Flatten annotation.booleanNotSupportedFlattener. flatten(PdfAnnotation annotation, PdfPage page)Logs a warning that annotation flattening is not supported for the given annotation.booleanRemoveWithoutDrawingFlattener. flatten(PdfAnnotation annotation, PdfPage page)Flatten annotation.booleanWarnFormfieldFlattener. flatten(PdfAnnotation annotation, PdfPage page)Flatten annotation.protected ColorAbstractTextMarkupAnnotationFlattener. getColor(PdfAnnotation annotation)static float[]AbstractTextMarkupAnnotationFlattener. getQuadPointsAsFloatArray(PdfAnnotation annotation)Gets the quadpoints as a float array.
-