Deprecated API
Contents
-
Deprecated ClassesClassDescriptionwas replaced by
FirstMatchFontSelectorStrategy
.replaced byIFontSelectorStrategy
.As of releasev1.14.1
, this class is deprecated in favour ofSafelist
. The name has been changed with the intent of promoting more inclusive language.Safelist
is a drop-in replacement, and no further changes other than updating the name in your code are required to cleanly migrate. This class will be removed inv1.15.1
. Until that release, this class acts as a shim to maintain code compatibility (source and binary).For a clear rationale of the removal of this change, please see Terminology, Power, and Inclusive Language in Internet-Drafts and RFCs
-
Deprecated Enums
-
Deprecated FieldsFieldDescriptionsince 8.0.4, this is not used anymore! Use pdfConformanceLevel instead
-
Deprecated MethodsMethodDescriptionsince 8.0.4 will return
IConformanceLevel
in next major releasesince 8.0.4 will be renamed to getConformanceLevel()since 8.0.4 conformance level param will change toIConformanceLevel
since 8.0.4 will be renamed to setConformanceLevelstarting from 8.0.1.starting from 8.0.1.since 8.0.4 will returnIConformanceLevel
since 8.0.4 will be renamed to getConformanceLevel()useIAccessibleElement.getAccessibilityProperties()
insteadsince 8.0.4 will be returnIConformanceLevel
com.itextpdf.forms.form.renderer.AbstractSelectFieldRenderer.getGenericConformanceLevel(PdfDocument) since 8.0.4 will be renamed to getConformanceLevel()since 8.0.4 will be removedin favour ofCjkResourceLoader
.in favour ofCjkResourceLoader
.in favour ofCjkResourceLoader
.in favour ofCjkResourceLoader
.since 8.0.4 Will be removed in next major releaseRemove rowspansToDeduct parameter which is not used anymore.Will become abstract in the next major release.in favor ofcheckColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream)
This method will be abstract in next major releasein favor ofcheckColorSpace(PdfColorSpace colorSpace, PdfObject object, PdfDictionary currentColorSpaces, boolean checkAlternate, Boolean fill)
Will become abstract in the next major release.in favor ofcheckPageColorsUsages(PdfDictionary pageDict, PdfDictionary pageResources)
Will become abstract in the next major release.Will become abstract in the next major release.in favor ofcheckResources(PdfDictionary resources, PdfObject pdfObject)
Will become abstract in the next major release.Will become abstract in the next major release.This method is an artifact and will be removed.This method is an artifact and will be removed.This method is an artifact and will be removed.in favour ofSignatureFieldAppearance
. Shouldn't be used.in favour ofSignedAppearanceText
that should be used forSignatureFieldAppearance
.UsePdfSigner.getContact()
instead.will be deleted in the next major release. SeePdfSignatureFormField.setBackgroundLayer(PdfFormXObject)
. Note that it should be called for the field retrieved withPdfSigner.getSignatureField()
method.will be deleted in the next major release. SeePdfSignatureFormField.setSignatureAppearanceLayer(PdfFormXObject)
. Note that it should be called for the field retrieved withPdfSigner.getSignatureField()
method.in favour ofSignatureFieldAppearance
.in favour ofSignatureFieldAppearance
.in favour ofSignatureFieldAppearance
.in favour ofSignatureFieldAppearance
.won't be public in the next major release. UsePdfSigner.getLocation()
instead.won't be public in the next major release. UsePdfSigner.getPageNumber()
instead.won't be public in the next major release. UsePdfSigner.getPageRect()
instead.won't be public in the next major release. UsePdfSigner.getReason()
instead.in favour ofSignatureFieldAppearance
, rendering mode will be detected depending on specifiedsetContent
method parameters.UsePdfSigner.getSignatureCreator()
instead.in favour ofSignatureFieldAppearance
.usePdfSigner.getSignDate()
instead.won't be public in the next major release.in favour ofSignedAppearanceText
that should be used forSignatureFieldAppearance
. Specified certificate provides signer name.UsePdfSigner.setContact(String)
instead.in favour ofElementPropertyContainer.setFontFamily(String...)
.in favour ofElementPropertyContainer.setProperty(int, Object)
.in favour ofElementPropertyContainer.setFont(PdfFont)
.in favour ofElementPropertyContainer.setFontColor(Color)
.in favour ofElementPropertyContainer.setFontSize(float)
.in favour ofSignatureFieldAppearance
.won't be public in the next major release. UsePdfSigner.setLocation(java.lang.String)
instead.in favour ofSignedAppearanceText
that should be used forSignatureFieldAppearance
.won't be public in the next major release. UsePdfSigner.setPageNumber(int)
instead.won't be public in the next major release. UsePdfSigner.setPageRect(Rectangle)
instead.won't be public in the next major release. UsePdfSigner.setReason(java.lang.String)
instead.in favour ofSignedAppearanceText
that should be used forSignatureFieldAppearance
.in favour ofSignatureFieldAppearance
, rendering mode will be detected depending on specifiedsetContent
method parameters.in favour ofPdfSignatureFormField.setReuseAppearance(boolean)
. Note that it should be called for the field retrieved withPdfSigner.getSignatureField()
method.UsePdfSigner.setSignatureCreator(String)
instead.usePdfSigner.setSignDate(Calendar)
instead.this behavior is different in Java and .NET, because in Java we use this two-step check: first via #hasUnsupportedCriticalExtension method, and then additionally allowing standard critical extensions; in .NET there's only second step. However, removing first step in Java can be a breaking change for some users and moreover we don't have any means of providing customization for unsupported extensions check as of right now.During major release I'd suggest changing java unsupported extensions check logic to the same as in .NET, but only if it is possible to customize this logic.
as of 1.14.1.as of 1.14.1.as of 1.14.1.as of 1.14.1.Unused, and will be removed in 1.15.1.
-
Deprecated ConstructorsConstructorDescriptionuse
PdfMerger(PdfDocument, PdfMergerProperties)
constructoras of 1.14.1.