Generated by
JDiff

com.itextpdf.kernel.pdf.annot Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.kernel.pdf.annot as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class PdfAnnotation, void addAssociatedFile(PdfFileSpec)

Adds file associated with PDF annotation and identifies the relationship between them.

Associated files may be used in Pdf/A-3 and Pdf 2.0 documents. The method adds file to array value of the AF key in the annotation dictionary.

For associated files their associated file specification dictionaries shall include the AFRelationship key key @param fs file specification dictionary of associated file

Class PdfAnnotation, PdfArray getBorder()

An array specifying the characteristics of the annotation#s border. The array consists of three numbers defining the horizontal corner radius, vertical corner radius, and border width, all in default user space units. If the corner radii are 0, the border has square (not rounded) corners; if the border width is 0, no border is drawn.

The array may have a fourth element, an optional dash array (see ISO-320001 8.4.3.6, "Line Dash Pattern"). @return an PdfArray specifying the characteristics of the annotation#s border.

Class PdfAnnotation, PdfArray getColorObject()

An array of numbers in the range 0.0 to 1.0, representing a colour used for the following purposes: The number of array elements determines the colour space in which the colour shall be defined: @return An array of numbers in the range 0.0 to 1.0, representing an annotation colour.
Class PdfAnnotation, PdfAnnotation setFlag(int)

Sets a flag that specifies a characteristic of the annotation to enabled state (see ISO-320001 12.5.3, "Annotation Flags"). On the contrary from PdfAnnotation.setFlags(int), this method sets only specified flags to enabled state, but doesn't disable other flags. Possible flags: @param flag - an integer interpreted as set of one-bit flags which will be enabled for this annotation. @return this PdfAnnotation instance.

Class PdfCircleAnnotation, PdfCircleAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfCircleAnnotation instance. @see #getBorderStyle()

Class PdfFileAttachmentAnnotation, PdfFileAttachmentAnnotation setIconName(PdfName)

The name of an icon that is used in displaying the annotation. @param name a PdfName that specifies the icon for displaying annotation. Possible values are different for different annotation types: Additional names may be supported as well. @return this PdfFileAttachmentAnnotation instance.

Class PdfFreeTextAnnotation, PdfFreeTextAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfFreeTextAnnotation instance. @see #getBorderStyle()

Class PdfInkAnnotation, PdfInkAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfInkAnnotation instance. @see #getBorderStyle()

Class PdfLineAnnotation, PdfLineAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfLineAnnotation instance. @see #getBorderStyle()
Class PdfLineAnnotation, PdfLineAnnotation setLineEndingStyles(PdfArray)

Sets the line ending styles that are used in drawing the line. The first and second elements of the array shall specify the line ending styles for the endpoints defined, respectively, by the first and second pairs of coordinates, (x1, y1) and (x2, y2), in the PdfName.L array (see .getLine(). Possible values for styles are: see also ISO-320001, Table 176 "Line ending styles". @param lineEndingStyles An array of two names specifying the line ending styles that is used in drawing the line. @return this PdfLineAnnotation instance.

Class PdfLinkAnnotation, PdfLinkAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfLinkAnnotation instance. @see #getBorderStyle()

Class PdfMarkupAnnotation, PdfDictionary getExternalData()

An external data dictionary specifying data that shall be associated with the annotation. This dictionary contains the following entries: @return An external data PdfDictionary, or null if not specified.
Class PdfMarkupAnnotation, PdfName getReplyType()

A name specifying the relationship (the "reply type") between this annotation and one specified by IRT entry (see .getInReplyTo()). Valid values are: @return a PdfName specifying relationship with the specified by the IRT entry; or null if reply type is not specified, in this case the default value is PdfName.R.
Class PdfMarkupAnnotation, PdfMarkupAnnotation setExternalData(PdfName)

Sets an external data dictionary specifying data that shall be associated with the annotation. This dictionary should contain the following entries: @return this PdfMarkupAnnotation instance.
Class PdfMarkupAnnotation, PdfMarkupAnnotation setIntent(PdfName)

Sets a name describing the intent of the markup annotation. Intents allow conforming readers to distinguish between different uses and behaviors of a single markup annotation type. If this entry is not present or its value is the same as the annotation type, the annotation shall have no explicit intent and should behave in a generic manner in a conforming reader.

See ISO-320001, free text annotations (Table 174), line annotations (Table 175), polygon annotations (Table 178), and polyline annotations (Table 178) for the specific intent values for those types. @param intent a PdfName describing the intent of the markup annotation. @return this PdfMarkupAnnotation instance.


Class PdfPolyGeomAnnotation, PdfPolyGeomAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfPolyGeomAnnotation instance. @see #getBorderStyle()
Class PdfPolyGeomAnnotation, PdfName Polygon

Subtypes @deprecated , use PdfName.Polygon instead.

Class PdfSoundAnnotation, PdfSoundAnnotation setIconName(PdfName)

The name of an icon that is used in displaying the annotation. @param name a PdfName that specifies the icon for displaying annotation. Possible values are different for different annotation types: Additional names may be supported as well. @return this PdfSoundAnnotation instance.

Class PdfSquareAnnotation, PdfSquareAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfSquareAnnotation instance. @see #getBorderStyle()

Class PdfStampAnnotation, PdfName getIconName()

The name of an icon that is used in displaying the annotation. Possible values are described in .setIconName(PdfName). @return a PdfName that specifies the icon for displaying annotation, or null if icon name is not specified.
Class PdfStampAnnotation, PdfStampAnnotation setIconName(PdfName)

The name of an icon that is used in displaying the annotation. @param name a PdfName that specifies the icon for displaying annotation. Possible values are: @return this PdfStampAnnotation instance.

Class PdfTextAnnotation, PdfTextAnnotation setIconName(PdfName)

The name of an icon that is used in displaying the annotation. @param name a PdfName that specifies the icon for displaying annotation. Possible values are: @return this PdfTextAnnotation instance.

Class PdfTrapNetworkAnnotation, PdfTrapNetworkAnnotation setVersion(PdfArray)

An unordered array of all objects present in the page description at the time the trap networks were generated and that, if changed, could affect the appearance of the page.

This entry is required if /AnnotStates (.getAnnotStates()) is present; shall be absent if /LastModified (.getLastModified()) is present. @param version an unordered PdfArray of all objects present in the page description at the time the trap networks were generated. If present, the array shall include the following objects:

@return this PdfTrapNetworkAnnotation instance.

Class PdfWidgetAnnotation, PdfWidgetAnnotation setBorderStyle(PdfName)

Setter for the annotation's preset border style. Possible values are See also ISO-320001, Table 166. @param style The new value for the annotation's border style. @return this PdfWidgetAnnotation instance. @see #getBorderStyle()
Class PdfWidgetAnnotation, PdfWidgetAnnotation setHighlightMode(PdfName)

Setter for the annotation's highlighting mode. Possible values are @param mode The new value for the annotation's highlighting mode. @return The widget annotation which this method was called on.