Skip to main content
Version: Version 4.4

Reference for changes in Java interface

This section lists all changes in the Java interface between 3-Heights® PDF Toolbox API and the PDF Toolbox SDK. Interface elements are ordered alphabetically by PDF Toolbox SDK namespace.

info

For the full API reference for the PDF Toolbox SDK, see Java API reference.

com.pdf_tools.internal.NativeObject

[Class] com.pdf_tools.internal.NativeObjectcom.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
  • Removed static method setLicenseKey.
  • Removed static method checkLicense.
  • Removed static method getProductVersion. The above have been substituted by new static members in Sdk.

Base namespace

com.pdf_tools.fourheights.pdftoolbox.ConformanceException

[Class] com.pdf_tools.fourheights.pdftoolbox.ConformanceException
Extends PdfToolboxException.Substitutes the removed method ErrorCodeException.getCode with value ErrorCode.CONFORMANCE. See Exceptions.

com.pdf_tools.fourheights.pdftoolbox.CorruptException

[Class] com.pdf_tools.fourheights.pdftoolbox.CorruptException
Extends PdfToolboxException. Substitutes the removed method ErrorCodeException.getCode with value ErrorCode.CORRUPT. See Exceptions.

com.pdf_tools.ErrorCode

[Enum.] com.pdf_tools.ErrorCodecom.pdf_tools.fourheights.pdftoolbox.ErrorCode
Removed. See Exceptions.

com.pdf_tools.ErrorCodeException

[Class] com.pdf_tools.ErrorCodeExceptioncom.pdf_tools.fourheights.pdftoolbox.PdfToolboxException
Removed method getCode.
In all affected methods, the ErrorCodeExceptionwithErrorCode.IO has been substituted by a java.io.IOException. See Exceptions.

com.pdf_tools.fourheights.pdftoolbox.LicenseException

[Class] com.pdf_tools.fourheights.pdftoolbox.LicenseException
Extends PdfToolboxException. Substitutes the removed method ErrorCodeException.getCode with value ErrorCode.LICENSE. See Exceptions.

com.pdf_tools.fourheights.pdftoolbox.PasswordException

[Class] com.pdf_tools.fourheights.pdftoolbox.PasswordException
Extends PdfToolboxException. Substitutes the removed method ErrorCodeException.getCode with value ErrorCode.PASSWORD. See Exceptions.

com.pdf_tools.fourheights.pdftoolbox.Sdk

[Class] com.pdf_tools.fourheights.pdftoolbox.Sdk
  • Method static boolean initialize(String license, String producerSuffix)
  • Method static String getVersion()
  • static String getProducerFullName()
See The Sdk class.

com.pdf_tools.pdf.StringMap

[Class] com.pdf_tools.pdf.StringMapcom.pdf_tools.fourheights.pdftoolbox.pdf.StringMap
Removed implementation of the AutoCloseable interface. See AutoCloseable implementation removed.

com.pdf_tools.fourheights.pdftoolbox.UnknownFormatException

[Class] com.pdf_tools.fourheights.pdftoolbox.UnknownFormatException
Extends PdfToolboxException. Substitutes the removed method ErrorCodeException.getCode with value ErrorCode.UNKNOWN_FORMAT. See Exceptions.

com.pdf_tools.fourheights.pdftoolbox.UnsupportedFeatureException

[Class] com.pdf_tools.fourheights.pdftoolbox.UnsupportedFeatureException
Extends PdfToolboxException. Substitutes the removed method ErrorCodeException.getCode with value ErrorCode.UNSUPPORTED_FEATURE. See Exceptions.

geometry namespace

com.pdf_tools.pdf.Rotation

[Enum.] com.pdf_tools.pdf.Rotationcom.pdf_tools.fourheights.pdftoolbox.geometry.Rotation
Renamed enum value NO_ROTATIONNONE.

com.pdf_tools.pdf.TextAlignment

[Enum.] com.pdf_tools.pdf.TextAlignmentcom.pdf_tools.fourheights.pdftoolbox.geometry.HorizontalAlignment

pdf.geometry.integer namespace

com.pdf_tools.fourheights.pdftoolbox.geometry.integer.Size

[Struct] com.pdf_tools.fourheights.pdftoolbox.geometry.integer.Size
  • intWidth
  • intHeight
Used in Image and ImageMask to substitute the removed methods Image.getWidth, Image.getHeight, ImageMask.getWidth, and ImageMask.getHeight. See Image size and image mask size.

geometry.real namespace

com.pdf_tools.Point

[Struct] com.pdf_tools.Pointcom.pdf_tools.fourheights.pdftoolbox.geometry.real.Point
New base class com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase. See Structs extend NativeBase.

com.pdf_tools.Rectangle

[Struct] com.pdf_tools.Rectanglecom.pdf_tools.fourheights.pdftoolbox.geometry.real.Rectangle
  • New base classcom.pdf_tools.fourheights.pdftoolbox.internal.NativeBase. See Structs extend NativeBase.
    • Removed method getWidth.
    • Removed method getHeight.
    • Removed method getSize.
    • Removed method getLeftBottom.
    • Removed method getLeftTop.
    • Removed method getRightBottom.
    • Removed method getRightTop.
    • Removed method getCenter.

com.pdf_tools.Size

[Struct] com.pdf_tools.Sizecom.pdf_tools.fourheights.pdftoolbox.geometry.real.Size
New base classcom.pdf_tools.fourheights.pdftoolbox.internal.NativeBase. See Structs extend NativeBase.

com.pdf_tools.pdf.Transformation

[Class → Struct] com.pdf_tools.pdf.Transformationcom.pdf_tools.fourheights.pdftoolbox.geometry.real.AffineTransform

pdf namespace

com.pdf_tools.pdf.Conformance

[Enum.] com.pdf_tools.pdf.Conformancecom.pdf_tools.fourheights.pdftoolbox.pdf.Conformance
  • Removed enum value UNKNOWN. See Unknown PDF conformance..
  • Renamed remaining enum values:
    • PDF_1_0PDF10
    • PDF_1_1PDF11
    • PDF_1_2PDF12
    • PDF_1_3PDF13
    • PDF_1_4PDF14
    • PDF_1_5PDF15
    • PDF_1_6PDF16
    • PDF_1_7PDF17
    • PDF_2_0PDF20
    • PDFA_1BPDF_A1_B
    • PDFA_1APDF_A1_A
    • PDFA_2BPDF_A2_B
    • PDFA_2UPDF_A2_U
    • PDFA_2APDF_A2_A
    • PDFA_3BPDF_A3_B
    • PDFA_3UPDF_A3_U
    • PDFA_3APDF_A3_A

com.pdf_tools.pdf.CopyOption

[Enum.] com.pdf_tools.pdf.CopyOption
Removed. Substituted by [pdf.PageCopyOptions] and pdf.navigation.OutlineCopyOptions. See Copy options.

com.pdf_tools.fourheights.pdftoolbox.pdf.CopyStrategy

[Enum.] com.pdf_tools.fourheights.pdftoolbox.pdf.CopyStrategy
Values:
  • COPY
  • FLATTEN
  • REMOVE
Substitutes the removed CopyOption. See Copy options.

com.pdf_tools.pdf.Document

[Class] com.pdf_tools.pdf.Documentcom.pdf_tools.fourheights.pdftoolbox.pdf.Document
  • Renamed method getOutlineItemsgetOutline.
  • Changed return and argument type of methods getOutputIntent and setOutputIntent from ColorSpace to pdf.content.IccBasedColorSpace. See Color space classes.
  • Renamed method getEmbeddedFilesgetAllEmbeddedFiles.
  • Appending is not supported anymore. This is a read-only list of all embedded files and all files in FileAttachmentAnnotation. See Embedded/Associated/Attached files..
  • Changed behavior of method getConformance for output documents: Always returns the current conformance instead of removedConformance.UNKNOWN.
  • Changed behavior of method create: For the second argument of type Conformance, null is now legal. See Unknown PDF conformance..
  • Removed and substituted the following methods:
    • createFileReferencepdf.FileReference.create
    • createMetadatapdf.Metadata.create
    • createPagepdf.Page.create
    • createCircleAnnotationpdf.annotations.EllipseAnnotation.create
    • createCustomStampAnnotationpdf.annotations.CustomStamp.create
    • createFileAttachmentAnnotationpdf.annotations.FileAttachment.create
    • createFreeDrawingAnnotationpdf.annotations.InkAnnotation.create
    • createFreeTextAnnotationpdf.annotations.FreeText.create
    • createLineAnnotationpdf.annotations.LineAnnotation.create
    • createPolyLineAnnotationpdf.annotations.PolyLineAnnotation.create
    • createPolygonAnnotationpdf.annotations.PolygonAnnotation.create
    • createSquareAnnotationpdf.annotations.RectangleAnnotation.create
    • createStickyNoteAnnotationpdf.annotations.StickyNote.create
    • createTextStampAnnotationRawpdf.annotations.TextStamp.createRaw
    • createAlphaPaint, createBlendingPaint, createSolidPaintpdf.content.Paint.create. See Unified paint creation.
    • createDeviceColorSpacepdf.content.ColorSpace.createProcessColorSpace
    • createFontpdf.content.Font.create
    • createGrouppdf.content.Group.create
    • createICCColorSpacepdf.content.IccBasedColorSpace.create
    • createImageMaskpdf.content.ImageMask.create
    • createImagepdf.content.Image.create
    • createSystemFontpdf.content.Font.createFromSystem
    • createTextpdf.content.Text.create
    • createCheckBoxFieldpdf.forms.CheckBoxField.create
    • createCombTextFieldpdf.forms.CombTextField.create
    • createComboBoxFieldpdf.forms.ComboBoxField.create
    • createGeneralTextFieldpdf.forms.GeneralTextField.create
    • createListBoxFieldpdf.forms.ListBoxField.create
    • createRadioButtonFieldpdf.forms.RadioButtonField.create
    • createSubFormpdf.forms.SubForm.create
    • createNamedDestinationpdf.navigation.NamedDestination.create
    • createOutlineItempdf.navigation.OutlineItem.create
    • copyFileReferencepdf.FileReference.copy
    • copyMetadatapdf.Metadata.copy
    • copyPagepdf.Page.copy
    • copyAnnotationpdf.annotations.Annotation.copy
    • copyColorSpacepdf.content.ColorSpace.copy
    • copyContentElementpdf.content.ContentElement.copy
    • copyGroupElementWithoutContentpdf.content.GroupElement.copyWithoutContent
    • copyPageAsGrouppdf.content.Group.copyFromPage
    • copyFormFieldNodepdf.forms.FormFieldNode.copy
    • copyViewerSettingspdf.navigation.ViewerSettings.copy
    • copyOutlineItempdf.navigation.OutlineItem.copy See Creation and copying methods.
  • New method pdf.FileReferenceList getPlainEmbeddedFiles(). This is a list of all embedded files that are neither associated nor contained in a FileAttachmentAnnotation. See Embedded/Associated/Attached files.

com.pdf_tools.pdf.EncryptionParams

[Struct → Class] com.pdf_tools.pdf.EncryptionParamscom.pdf_tools.fourheights.pdftoolbox.pdf.Encryption
New constructor Encryption(String userPassword, String ownerPassword, Permission permissions).

com.pdf_tools.pdf.FileReference

[Class] com.pdf_tools.pdf.FileReferencecom.pdf_tools.fourheights.pdftoolbox.pdf.FileReference
  • Removed implementation of the AutoCloseable interface. See AutoCloseable implementation removed
  • Changed type of method get ModificationDate from java.util.Calendar to java.time.OffsetDateTime.SeeOffsetDateTime.
  • New method static FileReference create(Document targetDocument, sys.Streamdata, String name, String mediaType, String description, java.time.OffsetDateTime modificationDate). See Creation and copying methods.
  • New method static FileReference copy(Document targetDocument, FileReference fileReference). See Creation and copying methods.

com.pdf_tools.pdf.FileReferenceList

[Class] com.pdf_tools.pdf.FileReferenceListcom.pdf_tools.fourheights.pdftoolbox.pdf.FileReferenceList
Removed implementation of the AutoCloseable interface. See AutoCloseable implementation removed

com.pdf_tools.pdf.Metadata

[Class] com.pdf_tools.pdf.Metadatacom.pdf_tools.fourheights.pdftoolbox.pdf.Metadata

com.pdf_tools.fourheights.pdftoolbox.pdf.NameConflictResolution

[Enum.] com.pdf_tools.fourheights.pdftoolbox.pdf.NameConflictResolution
Values:
  • MERGE
  • RENAME
Substitutes the removed CopyOption. See Copy options.

com.pdf_tools.pdf.Page

[Class] com.pdf_tools.pdf.Pagecom.pdf_tools.fourheights.pdftoolbox.pdf.Page

com.pdf_tools.fourheights.pdftoolbox.pdf.PageCopyOptions

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.PageCopyOptions
Members:
  • Constructor PageCopyOptions()
  • Methods pdf.CopyStrategy getLinks() and void setLinks(pdf.CopyStrategy Links)
    Default: CopyStrategy.COPY
  • Methods pdf.forms.FormFieldCopyStrategy getFormFields() and void setFormFields(pdf.forms.FormFieldCopyStrategy FormFields)
    Default: FormFieldCopyStrategy.COPY
  • Methods pdf.CopyStrategy getSignedSignatures() and void setSignedSignatures(pdf.CopyStrategy SignedSignatures)
    Default: CopyStrategy.COPY
  • Methods pdf.CopyStrategy getAnnotations() and void setAnnotations(pdf.CopyStrategy Annotations)
    Default: CopyStrategy.COPY
  • Methods boolean getCopyOutlineItems() and void setCopyOutlineItems(boolean CopyOutlineItems)
    Default: true
  • Methods boolean getCopyAssociatedFiles() and void setCopyAssociatedFiles(boolean CopyAssociatedFiles)
    Default: true
  • Methods boolean getCopyLogicalStructure() and void setCopyLogicalStructure(boolean CopyLogicalStructure)
    Default: true
  • Methods pdf.NameConflictResolution getFormField ConflictResolution() and void setFormFieldConflictResolution(pdf.NameConflictResolution FormFieldConflictResolution)
    Default: NameConflictResolution.MERGE
  • Methods pdf.navigation.NamedDestinationCopyStrategy getNamedDestinations() and void setNamedDestinations(pdf.navigation.NamedDestinationCopyStrategy NamedDestinations)
    Default: NamedDestinationCopyStrategy.COPY
  • Methods boolean getOptimizeResources() and void setOptimizeResources(boolean OptimizeResources)
    Default: true
    Substitutes the removedCopyOption. See Copy options.

com.pdf_tools.pdf.PageList

[Class] com.pdf_tools.pdf.PageListcom.pdf_tools.fourheights.pdftoolbox.pdf.PageList
Removed implementation of the AutoCloseable interface. See AutoCloseable implementation removed

com.pdf_tools.pdf.Permission

[Enum.] com.pdf_tools.pdf.Permissioncom.pdf_tools.fourheights.pdftoolbox.pdf.Permission

com.pdf_tools.fourheights.pdftoolbox.pdf.RemovalStrategy

[Enum.] com.pdf_tools.fourheights.pdftoolbox.pdf.RemovalStrategy
Values:
  • FLATTEN
  • REMOVE
Substitutes the removed CopyOption. See Copy options.

pdf.annotations namespace

com.pdf_tools.pdf.Annotation

[Class] com.pdf_tools.pdf.Annotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Annotation
  • Removed implementation of the AutoCloseable interface. See AutoCloseable implementation removed
  • Renamed method getRectanglegetBoundingBox.
  • Removed method getDoPrint.
  • New method getNoPrint with reversed meaning of the removed method getDoPrint.
  • New method static Annotationcopy(pdf.Document targetDocument, Annotation annotation). See Creation and copying methods. See Annotations.

com.pdf_tools.pdf.AnnotationLineEnding

[Enum.] com.pdf_tools.pdf.AnnotationLineEndingcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.LineEnding
  • Renamed enum value REVERSED_OPEN_ARROWOPEN_ARROW_TAIL.
  • Renamed enum value REVERSED_CLOSED_ARROWCLOSED_ARROW_TAIL.

com.pdf_tools.pdf.AnnotationList

[Class] com.pdf_tools.pdf.AnnotationListcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.AnnotationList
Removed implementation of the AutoCloseable interface. See AutoCloseable implementation removed

com.pdf_tools.pdf.AnnotationPopup

[Class] com.pdf_tools.pdf.AnnotationPopupcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Popup
Renamed method getRectanglegetBoundingBox.

com.pdf_tools.pdf.CircleAnnotation

[Class] com.pdf_tools.pdf.CircleAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.EllipseAnnotation
  • Changed base class to class DrawingAnnotation. See Annotations.
  • New method static EllipseAnnotation create(pdf.Document targetDocument, geometry.real.Rectangle boundingBox, pdf.content.Stroke stroke, pdf.content.Paint fill). See Creation and copying methods.
  • New method pdf.content.Paint getFill(). See DrawingAnnotation for inherited changes.

com.pdf_tools.pdf.CustomStampAnnotation

[Class] com.pdf_tools.pdf.CustomStampAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.CustomStamp
New method static CustomStampAnnotation create(pdf.Document targetDocument, geometry.real.Rectangle boundingBox). See Creation and copying methods. See StampAnnotation for inherited changes.

com.pdf_tools.pdf.DrawingAnnotation

[Class] com.pdf_tools.pdf.DrawingAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.DrawingAnnotation
See MarkupAnnotation for inherited changes.

com.pdf_tools.pdf.FileAttachmentAnnotation

[Class] com.pdf_tools.pdf.FileAttachmentAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.FileAttachment
New method static FileAttachmentAnnotation create(pdf.Document targetDocument, geometry.real.Point topleft, pdf.FileReference attachedFile, pdf.content.Pain tpaint). See Creation and copying methods. See MarkupAnnotation for inherited changes.

com.pdf_tools.pdf.FileAttachmentIcon

[Enum.] com.pdf_tools.pdf.FileAttachmentIconcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.FileAttachmentIcon

com.pdf_tools.pdf.FreeDrawingAnnotation

[Class] com.pdf_tools.pdf.FreeDrawingAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.InkAnnotation

com.pdf_tools.pdf.FreeTextAnnotation

[Class] com.pdf_tools.pdf.FreeTextAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.FreeText
New method static FreeText create(pdf.Document targetDocument, geometry.real.Rectangle boundingBox, String content, pdf.content.Paint paint). See Creation and copying methods. See MarkupAnnotation for inherited changes.

com.pdf_tools.pdf.HighlightAnnotation

[Class] com.pdf_tools.pdf.HighlightAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Highlight
See TextMarkupAnnotation for inherited changes.

com.pdf_tools.pdf.LineAnnotation

[Class] com.pdf_tools.pdf.LineAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.LineAnnotation
New method static LineAnnotation create(pdf.Document targetDocument, geometry.real.Point start, geometry.real.Point end, pdf.content.Stroke stroke). See Creation and copying methods. See DrawingAnnotation for inherited changes.
com.pdf_tools.pdf.MarkupAnnotation
[Class] com.pdf_tools.pdf.MarkupAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.MarkupAnnotation
See Annotation for inherited changes.

com.pdf_tools.pdf.MarkupInfo

[Class] com.pdf_tools.pdf.MarkupInfocom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.MarkupInfo

com.pdf_tools.pdf.MarkupInfoList

[Class] com.pdf_tools.pdf.MarkupInfoListcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.MarkupInfoList

com.pdf_tools.pdf.PolyDrawingAnnotation

[Class] com.pdf_tools.pdf.PolyDrawingAnnotation
Removed. SeeAnnotations.

com.pdf_tools.pdf.PolyLineAnnotation

[Class] com.pdf_tools.pdf.PolyLineAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.PolyLineAnnotation

com.pdf_tools.pdf.PolygonAnnotation

[Class] com.pdf_tools.pdf.PolygonAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.PolygonAnnotation

com.pdf_tools.pdf.ShapeDrawingAnnotation

[Class] com.pdf_tools.pdf.ShapeDrawingAnnotation
Removed. See Annotations.

com.pdf_tools.pdf.SquareAnnotation

[Class] com.pdf_tools.pdf.SquareAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.RectangleAnnotation

com.pdf_tools.pdf.SquigglyAnnotation

[Class] com.pdf_tools.pdf.SquigglyAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Squiggly
See HighlightAnnotation for inherited changes.

com.pdf_tools.pdf.StampAnnotation

[Class] com.pdf_tools.pdf.StampAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Stamp
See MarkupAnnotation for inherited changes.

com.pdf_tools.pdf.StickyNoteAnnotation

[Class] com.pdf_tools.pdf.StickyNoteAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.StickyNote
New method static StickyNotecreate(pdf.Document targetDocument, geometry.real.Point topleft, String content, pdf.content.Paint paint). See Creation and copying methods. See MarkupAnnotation for inherited changes.

com.pdf_tools.pdf.StrikeThroughAnnotation

[Class] com.pdf_tools.pdf.StrikeThroughAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.StrikeThrough
See TextMarkupAnnotation for inherited changes.

com.pdf_tools.pdf.TextInsertAnnotation

[Class] com.pdf_tools.pdf.TextInsertAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.TextInsert
See TextMarkupAnnotation for inherited changes.

com.pdf_tools.pdf.TextMarkupAnnotation

[Class] com.pdf_tools.pdf.TextMarkupAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.TextMarkup
See MarkupAnnotation for inherited changes.

com.pdf_tools.pdf.TextStampAnnotation

[Class] com.pdf_tools.pdf.TextStampAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.TextStamp
New method static TextStampcreate(pdf.Document targetDocument, geometry.real.Point topleft, Double height, TextStampType type, String content). See Creation and copying methods. See StampAnnotation for inherited changes.

com.pdf_tools.pdf.TextStampType

[Enum.] com.pdf_tools.pdf.TextStampTypecom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.TextStampType

com.pdf_tools.pdf.UnderlineAnnotation

[Class] com.pdf_tools.pdf.UnderlineAnnotationcom.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Underline
See TextMarkupAnnotation for inherited changes.

pdf.content namespace

com.pdf_tools.pdf.BlendMode

[Enum.] com.pdf_tools.pdf.BlendModecom.pdf_tools.fourheights.pdftoolbox.pdf.content.BlendMode

com.pdf_tools.fourheights.pdftoolbox.pdf.content.CalibratedGrayColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.CalibratedGrayColorSpace
Extends pdf.content.ColorSpace. Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.CalibratedRgbColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.CalibratedRgbColorSpace
Extends pdf.content.ColorSpace. Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.CalibratedCmykColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.CalibratedCmykColorSpace
Extends pdf.content.ColorSpace. Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.pdf.ColorSpace

[Class] com.pdf_tools.pdf.ColorSpacecom.pdf_tools.fourheights.pdftoolbox.pdf.content.ColorSpace
  • Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.
  • Renamed method getComponentsgetComponentCount.
  • Removed method getType.
  • Removed method getName.
  • New method static ColorSpace createProcessColorSpace(pdf.Document targetDocument, pdf.content.ProcessColorSpaceType type)
  • New method static ColorSpace copy(pdf.Document targetDocument, ColorSpace colorSpace). See Creation and copying methods. See Color space classes.

com.pdf_tools.pdf.ColorSpaceType

[Enum.] com.pdf_tools.pdf.ColorSpaceType
Removed. See Color space classes.

com.pdf_tools.pdf.Content

[Class] com.pdf_tools.pdf.Contentcom.pdf_tools.fourheights.pdftoolbox.pdf.content.Content
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.ContentElement

[Class] com.pdf_tools.pdf.ContentElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ContentElement

com.pdf_tools.pdf.ContentExtractor

[Class] com.pdf_tools.pdf.ContentExtractorcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ContentExtractor
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.ContentGenerator

[Class] com.pdf_tools.pdf.ContentGeneratorcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ContentGenerator

com.pdf_tools.pdf.DeviceColorSpaceType

[Enum.] com.pdf_tools.pdf.DeviceColorSpaceTypecom.pdf_tools.fourheights.pdftoolbox.pdf.content.ProcessColorSpaceType
  • Renamed enum value R_G_BRGB.
  • Renamed enum value C_M_Y_KCMYK.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.DeviceGrayColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.DeviceGrayColorSpace
Extends pdf.content.ColorSpace.Substitutes the removed enumColorSpaceType. See Color space classes.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.DeviceCmykColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.DeviceCmykColorSpace
Extends pdf.content.ColorSpace.Substitutes the removed enumColorSpaceType. See Color space classes.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.DeviceRgbColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.DeviceRgbColorSpace
Extends pdf.content.ColorSpace.Substitutes the removed enumColorSpaceType. See Color space classes.

com.pdf_tools.pdf.FillParams

[Struct → class] com.pdf_tools.pdf.FillParamscom.pdf_tools.fourheights.pdftoolbox.pdf.content.Fill

com.pdf_tools.pdf.Font

[Class] com.pdf_tools.pdf.Fontcom.pdf_tools.fourheights.pdftoolbox.pdf.content.Font
See Creation and copying methods.

com.pdf_tools.pdf.Group

[Class] com.pdf_tools.pdf.Groupcom.pdf_tools.fourheights.pdftoolbox.pdf.content.Group

com.pdf_tools.pdf.GroupElement

[Class] com.pdf_tools.pdf.GroupElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.GroupElement
New method static GroupElement copyWithoutContent(pdf.Document targetDocument, GroupElement groupElement). See Creation and copying methods. See ContentElement for inherited changes.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.IccBasedColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.IccBasedColorSpace

com.pdf_tools.pdf.Image

[Class] com.pdf_tools.pdf.Imagecom.pdf_tools.fourheights.pdftoolbox.pdf.content.Image

com.pdf_tools.pdf.ImageElement

[Class] com.pdf_tools.pdf.ImageElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ImageElement
See ContentElement for inherited changes.

com.pdf_tools.pdf.ImageMask

[Class] com.pdf_tools.pdf.ImageMaskcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ImageMask

com.pdf_tools.pdf.ImageMaskElement

[Class] com.pdf_tools.pdf.ImageMaskElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ImageMaskElement
See ContentElement for inherited changes.

com.pdf_tools.fourheights.pdftoolbox.pdf.content.IndexedColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.IndexedColorSpace
Extends pdf.content.ColorSpace. Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.pdf.InsideRule

[Enum.] com.pdf_tools.pdf.InsideRulecom.pdf_tools.fourheights.pdftoolbox.pdf.content.InsideRule

com.pdf_tools.fourheights.pdftoolbox.pdf.content.LabColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.LabColorSpace
Extends pdf.content.ColorSpace. Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.pdf.LineCapStyle

[Class] com.pdf_tools.pdf.LineCapStylecom.pdf_tools.fourheights.pdftoolbox.pdf.content.LineCapStyle

com.pdf_tools.pdf.LineJoinStyle

[Enum.] com.pdf_tools.pdf.LineJoinStylecom.pdf_tools.fourheights.pdftoolbox.pdf.content.LineJoinStyle

com.pdf_tools.fourheights.pdftoolbox.pdf.content.NChannelColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.NChannelColorSpace
Extends pdf.content.ColorSpace.Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.pdf.Paint

[Class] com.pdf_tools.pdf.Paintcom.pdf_tools.fourheights.pdftoolbox.pdf.content.Paint

com.pdf_tools.pdf.Path

[Class] com.pdf_tools.pdf.Pathcom.pdf_tools.fourheights.pdftoolbox.pdf.content.Path

com.pdf_tools.pdf.PathElement

[Class] com.pdf_tools.pdf.PathElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.PathElement
See ContentElement for inherited changes.

com.pdf_tools.pdf.PathGenerator

[Class] com.pdf_tools.pdf.PathGeneratorcom.pdf_tools.fourheights.pdftoolbox.pdf.content.PathGenerator

com.pdf_tools.fourheights.pdftoolbox.pdf.content.SeparationColorSpace

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.content.SeparationColorSpace
Extends pdf.content.ColorSpace. Substitutes the removed enum ColorSpaceType. See Color space classes.

com.pdf_tools.pdf.ShadingElement

[Class] com.pdf_tools.pdf.ShadingElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.ShadingElement
See ContentElement for inherited changes.

com.pdf_tools.pdf.StrokeParams

[Struct → class] com.pdf_tools.pdf.StrokeParamscom.pdf_tools.fourheights.pdftoolbox.pdf.content.Stroke
  • Removed constructor StrokeParams(Paint paint, double lineWidth, LineCapStyle lineCapStyle, LineJoinStyle lineJoinStyle, double[] dashArray, double dashPhase, double miterLimit).
  • New constructor Stroke(Paint paint, double lineWidth).See Creation and copying methods.

com.pdf_tools.pdf.Text

[Class] com.pdf_tools.pdf.Textcom.pdf_tools.fourheights.pdftoolbox.pdf.content.Text

com.pdf_tools.pdf.TextElement

[Class] com.pdf_tools.pdf.TextElementcom.pdf_tools.fourheights.pdftoolbox.pdf.content.TextElement
See ContentElement for inherited changes.
[Class] com.pdf_tools.pdf.TextFragmentcom.pdf_tools.fourheights.pdftoolbox.pdf.content.TextFragment

com.pdf_tools.pdf.TextGenerator

[Class] com.pdf_tools.pdf.TextGeneratorcom.pdf_tools.fourheights.pdftoolbox.pdf.content.TextGenerator
  • Removed method setRendering. Replaced by methods setFill and setStroke. See Text generator.
  • Renamed method setCharSpacingsetCharacterSpacing. See Renaming.
  • New methods Paint getFill()and void setFill(PaintFill).
  • New methods Stroke getStroke() and void setStroke(Stroke Stroke).

com.pdf_tools.pdf.TransparencyParams

[Struct → Class] com.pdf_tools.pdf.TransparencyParamscom.pdf_tools.fourheights.pdftoolbox.pdf.content.Transparency
  • Removed constructor TransparencyParams(BlendMode blendMode, double constAlpha).
  • Renamed methods getConstAlpha and setConstAlphagetAlpha / setAlpha.
  • New constructor Transparency(double alpha).

com.pdf_tools.pdf.UngroupingSet

[Enum.] com.pdf_tools.pdf.UngroupingSetcom.pdf_tools.fourheights.pdftoolbox.pdf.content.UngroupingSelection

pdf.forms namespace

com.pdf_tools.pdf.CheckBoxField

[Class] com.pdf_tools.pdf.CheckBoxFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.CheckBox
New method static CheckBoxcreate(pdf.Document targetDocument). See Creation and copying methods. See FormField for inherited changes.

com.pdf_tools.pdf.ChoiceField

[Class] com.pdf_tools.pdf.ChoiceFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.ChoiceField
See FormField for inherited changes.

com.pdf_tools.pdf.ChoiceItem

[Class] com.pdf_tools.pdf.ChoiceItemcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.ChoiceItem
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.ChoiceItemList

[Class] com.pdf_tools.pdf.ChoiceItemListcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.ChoiceItemList
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.ComboBoxField

[Class] com.pdf_tools.pdf.ComboBoxFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.ComboBox
New method static ComboBoxcreate(pdf.Document targetDocument). See Creation and copying methods. See ChoiceField for inherited changes.

com.pdf_tools.pdf.CombTextField

[Class] com.pdf_tools.pdf.CombTextFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.CombTextField

com.pdf_tools.pdf.FormField

[Class] com.pdf_tools.pdf.FormFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.Field
See FormFieldNode for inherited changes.

com.pdf_tools.fourheights.pdftoolbox.pdf.forms.FormFieldCopyStrategy

[Enum.] com.pdf_tools.fourheights.pdftoolbox.pdf.forms.FormFieldCopyStrategy
Values:
  • COPY
  • FLATTEN
  • REMOVE
  • COPY_AND_UPDATE_WIDGETS
Substitutes the removedCopyOption. See Copy options.

com.pdf_tools.pdf.FormFieldNode

[Class] com.pdf_tools.pdf.FormFieldNodecom.pdf_tools.fourheights.pdftoolbox.pdf.forms.FieldNode

com.pdf_tools.pdf.FormFieldNodeMap

[Class] com.pdf_tools.pdf.FormFieldNodeMapcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.FieldNodeMap
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.GeneralTextField

[Class] com.pdf_tools.pdf.GeneralTextFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.GeneralTextField

com.pdf_tools.pdf.ListBoxField

[Class] com.pdf_tools.pdf.ListBoxFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.ListBox
New method static ListBox create(pdf.Document targetDocument). See Creation and copying methods. See ChoiceField for inherited changes.

com.pdf_tools.pdf.PushButtonField

[Class] com.pdf_tools.pdf.PushButtonFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.PushButton

com.pdf_tools.pdf.RadioButton

[Class] com.pdf_tools.pdf.RadioButtoncom.pdf_tools.fourheights.pdftoolbox.pdf.forms.RadioButton
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.RadioButtonField

[Class] com.pdf_tools.pdf.RadioButtonFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.RadioButtonGroup
  • Removed methods getCanToggleOff and setCanToggleOff.
  • New method static RadioButtonGroup create(pdf.Document targetDocument). See Creation and copying methods. See FormField for inherited changes.

com.pdf_tools.pdf.RadioButtonList

[Class] com.pdf_tools.pdf.RadioButtonListcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.RadioButtonList
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.SignatureField

[Class] com.pdf_tools.pdf.SignatureFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.SignatureField

com.pdf_tools.pdf.SignatureFieldList

[Class] com.pdf_tools.pdf.SignatureFieldListcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.SignatureFieldList
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.SubForm

[Class] com.pdf_tools.pdf.SubFormcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.SubForm
New method static SubForm create(pdf.Document targetDocument). See Creation and copying methods. See FormFieldNode for inherited changes.

com.pdf_tools.pdf.TextField

[Class] com.pdf_tools.pdf.TextFieldcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.TextField
Removed methods getMaxLength and setMaxLength. SeeMaxLength in text fields. See FormFieldNode for inherited changes.

com.pdf_tools.pdf.Widget

[Class] com.pdf_tools.pdf.Widgetcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.Widget
  • Removed inheritance from class Annotation. See Annotations.
  • Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.
  • Duplicated method geometry.real.Rectangle getBoundingBox() from former base class Annotation.
  • Duplicated method boolean getHidden()from former base class Annotation.
  • Duplicated method boolean getNoPrint() from former base class Annotation.

com.pdf_tools.pdf.WidgetList

[Class] com.pdf_tools.pdf.WidgetListcom.pdf_tools.fourheights.pdftoolbox.pdf.forms.WidgetList
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

pdf.navigation namespace

com.pdf_tools.pdf.Destination

[Class] com.pdf_tools.pdf.Destinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.Destination
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.DirectDestination

[Class] com.pdf_tools.pdf.DirectDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.DirectDestination
See Destination for inherited changes.
[Class] com.pdf_tools.pdf.EmbeddedPdfLinkcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.EmbeddedPdfLink
  • Removed constructor. See Constructors.
  • New method static EmbeddedPdfLink create(pdf.Document targetDocument, geometry.real.Rectangle boundingBox, pdf.FileReference fileReference). See Creation and copying methods.SeeLinkfor inherited changes.

com.pdf_tools.pdf.FitHeightDestination

[Class] com.pdf_tools.pdf.FitHeightDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.FitHeightDestination

com.pdf_tools.pdf.FitPageDestination

[Class] com.pdf_tools.pdf.FitPageDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.FitPageDestination

com.pdf_tools.pdf.FitRectangleDestination

[Class] com.pdf_tools.pdf.FitRectangleDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.FitRectangleDestination

com.pdf_tools.pdf.FitWidthDestination

[Class] com.pdf_tools.pdf.FitWidthDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.FitWidthDestination
[Class] com.pdf_tools.pdf.InternalLinkcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.InternalLink
See Link for inherited changes.
[Class] com.pdf_tools.pdf.Linkcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.Link
  • Removed inheritance from class Annotation. See Annotations.
  • Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.
  • New method static Link copy(pdf.Document targetDocument, Link link). See Creation and copying methods.
  • Duplicated method geometry.real.Rectangle getBoundingBox() from former base class Annotation.
  • Duplicated method boolean getHidden() from former base class Annotation.
  • Duplicated method boolean getNoPrint() from former base class Annotation.
[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.navigation.LinkList
A list that contains Link objects.

com.pdf_tools.pdf.LocationZoomDestination

[Class] com.pdf_tools.pdf.LocationZoomDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.LocationZoomDestination

|

|

com.pdf_tools.pdf.NamedDestination

[Class] com.pdf_tools.pdf.NamedDestinationcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.NamedDestination
New method static NamedDestination create(pdf.Document targetDocument, String name, DirectDestination target). See Creation and copying methods. See Destination for inherited changes.

com.pdf_tools.fourheights.pdftoolbox.pdf.navigation.NamedDestinationCopyStrategy

[Enum] com.pdf_tools.fourheights.pdftoolbox.pdf.navigation.NamedDestinationCopyStrategy
Values:
  • COPY
  • RESOLVE
Substitutes the removed CopyOption. See Copy options.

com.pdf_tools.fourheights.pdftoolbox.pdf.navigation.OutlineCopyOptions

[Class] com.pdf_tools.fourheights.pdftoolbox.pdf.navigation.OutlineCopyOptions
  • constructor OutlineCopyOptions()
  • Methods pdf.navigation.NamedDestinationCopyStrategy getNamedDestinations() and void setNamedDestinations(pdf.navigation.NamedDestinationCopyStrategy NamedDestinations)
    Default: NamedDestinationCopyStrategy.COPY
  • Methods boolean getCopyLogicalStructure() and void setCopyLogicalStructure(boolean CopyLogicalStructure)
    Default: true Substitutes the removed CopyOption. See Copy options.

com.pdf_tools.pdf.OutlineItem

[Class] com.pdf_tools.pdf.OutlineItemcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.OutlineItem

com.pdf_tools.pdf.OutlineItemLists

[Class] com.pdf_tools.pdf.OutlineItemListcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.OutlineItemList
Removed implementation of the AutoCloseable interface. See Removal of AutoCloseable implementation.

com.pdf_tools.pdf.PageDisplay

[Struct] com.pdf_tools.pdf.PageDisplaycom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.PageDisplay
  • New base class com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase. See Structs extend NativeBase.
  • Changed default value of fieldcontinuous from true to false.

com.pdf_tools.pdf.PageLayout

[Enum.] com.pdf_tools.pdf.PageLayoutcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.PageLayout

com.pdf_tools.pdf.ViewerNavigationPane

[Enum.] com.pdf_tools.pdf.ViewerNavigationPanecom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.ViewerNavigationPane

com.pdf_tools.pdf.ViewerSettings

[Class] com.pdf_tools.pdf.ViewerSettingscom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.ViewerSettings
New method static ViewerSettings copy(pdf.Document targetDocument, ViewerSettings viewerSettings). See Creation and copying methods.
[Class] com.pdf_tools.pdf.WebLinkcom.pdf_tools.fourheights.pdftoolbox.pdf.navigation.WebLink

sys namespace

com.pdf_tools.FileStream

[Class] com.pdf_tools.FileStreamcom.pdf_tools.fourheights.pdftoolbox.sys.FileStream

com.pdf_tools.MemoryStream

[Class] com.pdf_tools.MemoryStreamcom.pdf_tools.fourheights.pdftoolbox.sys.MemoryStream

com.pdf_tools.Stream

[Class] com.pdf_tools.Streamcom.pdf_tools.fourheights.pdftoolbox.sys.Stream