Uses of Class
com.itextpdf.kernel.pdf.PdfDocument
Packages that use PdfDocument
Package
Description
-
Uses of PdfDocument in com.itextpdf.barcodes
Fields in com.itextpdf.barcodes declared as PdfDocumentMethods in com.itextpdf.barcodes with parameters of type PdfDocumentModifier and TypeMethodDescriptionBarcode1D.createFormXObject(Color barColor, Color textColor, PdfDocument document) Creates a PdfFormXObject with the barcode.Barcode1D.createFormXObject(PdfDocument document) Creates a PdfFormXObject with the barcode.abstract PdfFormXObjectBarcode2D.createFormXObject(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.Barcode2D.createFormXObject(PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodeDataMatrix.createFormXObject(Color foreground, float moduleSide, PdfDocument document) Creates a PdfFormXObject with the barcode with given module width and module height.BarcodeDataMatrix.createFormXObject(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodePDF417.createFormXObject(Color foreground, float moduleWidth, float moduleHeight, PdfDocument document) Creates a PdfFormXObject with the barcode with given module width and module height.BarcodePDF417.createFormXObject(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodeQRCode.createFormXObject(Color foreground, float moduleSize, PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodeQRCode.createFormXObject(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.Constructors in com.itextpdf.barcodes with parameters of type PdfDocumentModifierConstructorDescriptionBarcode128(PdfDocument document) Creates new Barcode128.Barcode128(PdfDocument document, PdfFont font) Creates new Barcode128, which will use the provided fontprotectedBarcode1D(PdfDocument document) Creates newBarcode1Dinstance.Barcode39(PdfDocument document) Creates a new Barcode39.Barcode39(PdfDocument document, PdfFont font) Creates a new Barcode39.BarcodeCodabar(PdfDocument document) Creates a new BarcodeCodabar.BarcodeCodabar(PdfDocument document, PdfFont font) Creates a new BarcodeCodabar.BarcodeEAN(PdfDocument document) Creates new BarcodeEAN.BarcodeEAN(PdfDocument document, PdfFont font) Creates new BarcodeEANBarcodeInter25(PdfDocument document) Creates new BarcodeInter25.BarcodeInter25(PdfDocument document, PdfFont font) Creates new BarcodeInter25BarcodeMSI(PdfDocument document) Creates a new BarcodeMSI.BarcodeMSI(PdfDocument document, PdfFont font) Creates a new BarcodeMSIBarcodePostnet(PdfDocument document) Creates newBarcodePostnetinstance. -
Uses of PdfDocument in com.itextpdf.forms
Fields in com.itextpdf.forms declared as PdfDocumentModifier and TypeFieldDescriptionprotected PdfDocumentPdfAcroForm.documentThe PdfDocument to which the PdfAcroForm belongs.private PdfDocumentPdfPageFormCopier.documentFromprivate PdfDocumentPdfPageFormCopier.documentToMethods in com.itextpdf.forms that return PdfDocumentModifier and TypeMethodDescriptionPdfAcroForm.getPdfDocument()Gets thePdfDocumentthisPdfAcroFormbelongs to.Methods in com.itextpdf.forms with parameters of type PdfDocumentModifier and TypeMethodDescriptionprivate PdfFormFieldPdfPageFormCopier.createParentFieldCopy(PdfDictionary fieldDict, PdfDocument pdfDoc) static PdfAcroFormPdfAcroForm.getAcroForm(PdfDocument document, boolean createIfNotExist) Retrieves AcroForm from the document.static PdfAcroFormPdfAcroForm.getAcroForm(PdfDocument document, boolean createIfNotExist, OnDuplicateFormFieldNameStrategy onDuplicateFieldNameStrategy) Retrieves AcroForm from the document.private static PdfFormFieldPdfPageFormCopier.getParentField(PdfDictionary parent, PdfDocument pdfDoc) voidPdfPageFormCopier.recreateAcroformToProcessCopiedFields(PdfDocument documentTo) Constructors in com.itextpdf.forms with parameters of type PdfDocumentModifierConstructorDescriptionprivatePdfAcroForm(PdfDictionary pdfObject, PdfDocument pdfDocument) Creates a PdfAcroForm as a wrapper of a dictionary. -
Uses of PdfDocument in com.itextpdf.forms.fields
Fields in com.itextpdf.forms.fields declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentFormFieldBuilder.documentDocument to be used for form field creation.Methods in com.itextpdf.forms.fields that return PdfDocumentModifier and TypeMethodDescriptionAbstractPdfFormField.getDocument()Gets thePdfDocumentthat owns that form field.FormFieldBuilder.getDocument()Gets document to be used for form field creation.Methods in com.itextpdf.forms.fields with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic voidPdfFormField.applyAccessibilityProperties(PdfFormField formField, IAccessibleElement modelElement, PdfDocument pdfDocument) AppliesAccessibilityPropertiesfor provided form field and its annotation children.static PdfButtonFormFieldPdfFormCreator.createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a button form field as a parent of aPdfWidgetAnnotationusing provided factory.static PdfButtonFormFieldPdfFormCreator.createButtonFormField(PdfDocument document) Create a minimal, emptyPdfButtonFormFieldusing provided factory.PdfFormFactory.createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a button form field as a parent of aPdfWidgetAnnotation.PdfFormFactory.createButtonFormField(PdfDocument document) Create a minimal, emptyPdfButtonFormField.static PdfChoiceFormFieldPdfFormCreator.createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a choice form field as a parent of aPdfWidgetAnnotationusing provided factory.static PdfChoiceFormFieldPdfFormCreator.createChoiceFormField(PdfDocument document) Create a minimal, emptyPdfChoiceFormFieldusing provided factory.PdfFormFactory.createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a choice form field as a parent of aPdfWidgetAnnotation.PdfFormFactory.createChoiceFormField(PdfDocument document) Create a minimal, emptyPdfChoiceFormField.static PdfFormAnnotationPdfFormCreator.createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document) Creates a form field annotation as a wrapper of aPdfWidgetAnnotationusing provided factory.PdfFormFactory.createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document) Creates a form field annotation as a wrapper of aPdfWidgetAnnotation.static PdfFormFieldPdfFormCreator.createFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a form field as a parent of aPdfWidgetAnnotationusing provided factory.static PdfFormFieldPdfFormCreator.createFormField(PdfDocument document) Create a minimal, emptyPdfFormFieldusing provided factory.PdfFormFactory.createFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a form field as a parent of aPdfWidgetAnnotation.PdfFormFactory.createFormField(PdfDocument document) Create a minimal, emptyPdfFormField.static PdfSignatureFormFieldPdfFormCreator.createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a signature form field as a parent of aPdfWidgetAnnotationusing provided factory.static PdfSignatureFormFieldPdfFormCreator.createSignatureFormField(PdfDocument document) Create a minimal, emptyPdfSignatureFormFieldusing provided factory.PdfFormFactory.createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a signature form field as a parent of aPdfWidgetAnnotation.PdfFormFactory.createSignatureFormField(PdfDocument document) Create a minimal, emptyPdfSignatureFormField.static PdfTextFormFieldPdfFormCreator.createTextFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a text form field as a parent of aPdfWidgetAnnotationusing provided factory.static PdfTextFormFieldPdfFormCreator.createTextFormField(PdfDocument document) Create a minimal, emptyPdfTextFormFieldusing provided factory.PdfFormFactory.createTextFormField(PdfWidgetAnnotation widget, PdfDocument document) Creates a text form field as a parent of aPdfWidgetAnnotation.PdfFormFactory.createTextFormField(PdfDocument document) Create a minimal, emptyPdfTextFormField.static PdfAcroFormPdfFormCreator.getAcroForm(PdfDocument document, boolean createIfNotExist) Retrieves AcroForm from the document using provided factory.PdfFormFactory.getAcroForm(PdfDocument document, boolean createIfNotExist) Retrieves AcroForm from the document.static PdfFormAnnotationPdfFormAnnotation.makeFormAnnotation(PdfObject pdfObject, PdfDocument document) Creates aPdfFormAnnotationobject.static PdfFormFieldPdfFormField.makeFormField(PdfObject pdfObject, PdfDocument document) Creates a (subtype of)PdfFormFieldobject.static AbstractPdfFormFieldPdfFormField.makeFormFieldOrAnnotation(PdfObject pdfObject, PdfDocument document) Constructors in com.itextpdf.forms.fields with parameters of type PdfDocumentModifierConstructorDescriptionCheckBoxFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder forPdfButtonFormFieldcreation.ChoiceFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder forPdfChoiceFormFieldcreation.protectedFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder forPdfFormFieldcreation.NonTerminalFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder for non-terminalPdfFormFieldcreation.protectedPdfButtonFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) Creates a button form field as a parent of aPdfWidgetAnnotation.protectedPdfButtonFormField(PdfDocument pdfDocument) Creates a minimalPdfButtonFormField.protectedPdfChoiceFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) Creates a choice form field as a parent of aPdfWidgetAnnotation.protectedPdfChoiceFormField(PdfDocument pdfDocument) Creates a minimalPdfChoiceFormField.protectedPdfFormAnnotation(PdfWidgetAnnotation widget, PdfDocument pdfDocument) Creates a form field annotation as a wrapper of aPdfWidgetAnnotation.protectedPdfFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) Creates a form field as a parent of aPdfWidgetAnnotation.protectedPdfFormField(PdfDocument pdfDocument) Creates a minimalPdfFormField.protectedPdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) Creates a signature form field as a parent of aPdfWidgetAnnotation.protectedPdfSignatureFormField(PdfDocument pdfDocument) Creates a minimalPdfSignatureFormField.protectedPdfTextFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) Creates a text form field as a parent of aPdfWidgetAnnotation.protectedPdfTextFormField(PdfDocument pdfDocument) Creates a minimalPdfTextFormField.PushButtonFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder forPdfButtonFormFieldcreation.RadioFormFieldBuilder(PdfDocument document, String radioGroupFormFieldName) Creates builder for radio form field creation.SignatureFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder forPdfSignatureFormFieldcreation.protectedTerminalFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder for terminal form field creation.TextFormFieldBuilder(PdfDocument document, String formFieldName) Creates builder forPdfTextFormFieldcreation. -
Uses of PdfDocument in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer with parameters of type PdfDocumentModifier and TypeMethodDescriptionprotected voidAbstractFormFieldRenderer.applyAccessibilityProperties(PdfFormField formField, PdfDocument pdfDocument) Applies the accessibility properties to the form field.protected voidAbstractSelectFieldRenderer.applyAccessibilityProperties(PdfFormField formField, PdfDocument pdfDocument) Applies the accessibility properties to the form field.protected PdfConformanceAbstractFormFieldRenderer.getConformance(PdfDocument document) Gets the conformance.protected PdfConformanceAbstractSelectFieldRenderer.getConformance(PdfDocument document) Gets the conformance.protected voidAbstractFormFieldRenderer.writeAcroFormFieldLangAttribute(PdfDocument pdfDoc) Sets the form accessibility language identifier of the form element in case the document is tagged.protected voidAbstractSelectFieldRenderer.writeAcroFormFieldLangAttribute(PdfDocument pdfDoc) Sets the form accessibility language identifier of the form element in case the document is tagged. -
Uses of PdfDocument in com.itextpdf.forms.xfa
Methods in com.itextpdf.forms.xfa with parameters of type PdfDocumentModifier and TypeMethodDescriptionprivate static PdfObjectXfaForm.getXfaObject(PdfDocument pdfDocument) Return the XFA Object, could be an array, could be a Stream.static voidXfaForm.setXfaForm(XfaForm form, PdfDocument pdfDocument) Sets the XFA key from a byte array.voidXfaForm.write(PdfDocument document) Write the XfaForm to the providedPdfDocument.Constructors in com.itextpdf.forms.xfa with parameters of type PdfDocument -
Uses of PdfDocument in com.itextpdf.forms.xfdf
Methods in com.itextpdf.forms.xfdf with parameters of type PdfDocumentModifier and TypeMethodDescriptionprivate static voidXfdfObjectFactory.addAnnotations(PdfDocument pdfDoc, XfdfObject resultXfdf) private voidXfdfReader.addAnnotationToPdf(AnnotObject annotObject, PdfDocument pdfDocument) XfdfObjectFactory.createXfdfObject(PdfDocument document, String filename) Extracts data from pdf document acroform and annotations into XfdfObject.private voidXfdfReader.mergeAnnotations(AnnotsObject annotsObject, PdfDocument pdfDocument) Merges existing XfdfObject into pdf document associated with it.voidXfdfObject.mergeToPdf(PdfDocument pdfDocument, String pdfDocumentName) Merges info from XfdfObject to pdf document.(package private) voidXfdfReader.mergeXfdfIntoPdf(XfdfObject xfdfObject, PdfDocument pdfDocument, String pdfDocumentName) Merges existing XfdfObject into pdf document associated with it.private voidXfdfReader.setInReplyTo(PdfDocument pdfDocument) -
Uses of PdfDocument in com.itextpdf.kernel.actions.events
Fields in com.itextpdf.kernel.actions.events with type parameters of type PdfDocumentModifier and TypeFieldDescriptionprivate final WeakReference<PdfDocument> AddFingerPrintEvent.documentprivate final WeakReference<PdfDocument> FlushPdfDocumentEvent.documentprivate final WeakReference<PdfDocument> LinkDocumentIdEvent.documentConstructors in com.itextpdf.kernel.actions.events with parameters of type PdfDocumentModifierConstructorDescriptionAddFingerPrintEvent(PdfDocument document) Creates a new instance of the AddFingerPrintEvent.FlushPdfDocumentEvent(PdfDocument document) Creates a new instance of the flushing event.LinkDocumentIdEvent(PdfDocument document, AbstractIdentifiableElement identifiableElement) Creates a new instance of the event associating providedPdfDocumentwith the appropriateAbstractIdentifiableElement.LinkDocumentIdEvent(PdfDocument document, SequenceId sequenceId) Creates a new instance of the event associating providedPdfDocumentwith the appropriateSequenceId. -
Uses of PdfDocument in com.itextpdf.kernel.colors.gradients
Methods in com.itextpdf.kernel.colors.gradients with parameters of type PdfDocumentModifier and TypeMethodDescriptionAbstractLinearGradientBuilder.buildColor(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document) Builds theColorobject representing the linear gradient with specified configuration that fills the target bounding box. -
Uses of PdfDocument in com.itextpdf.kernel.font
Methods in com.itextpdf.kernel.font that return PdfDocumentMethods in com.itextpdf.kernel.font with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic PdfFontPdfFontFactory.createFont(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, PdfDocument cacheTo) Creates aPdfFontinstance by the path of the font program file and given encoding and place it inside thePdfDocument.static PdfFontPdfFontFactory.createFont(String fontProgram, String encoding, PdfDocument cacheTo) Creates aPdfFontinstance by the path of the font program file and given encoding and place it inside thePdfDocument.static PdfType3FontPdfFontFactory.createType3Font(PdfDocument document, boolean colorized) Creates a new instance ofPdfType3Fontstatic PdfType3FontPdfFontFactory.createType3Font(PdfDocument document, String fontName, String fontFamily, boolean colorized) Creates a new instance ofPdfType3FontConstructors in com.itextpdf.kernel.font with parameters of type PdfDocumentModifierConstructorDescription(package private)PdfType3Font(PdfDocument document, boolean colorized) Creates a Type 3 font.(package private)PdfType3Font(PdfDocument document, String fontName, String fontFamily, boolean colorized) Creates a Type 3 font.(package private)Type3Glyph(PdfDocument pdfDocument, float wx, float llx, float lly, float urx, float ury, boolean isColor) Creates a Type3Glyph canvas with a new Content Stream.(package private)Type3Glyph(PdfStream pdfStream, PdfDocument document) Creates a Type3Glyph canvas with a non-empty Content Stream. -
Uses of PdfDocument in com.itextpdf.kernel.mac
Fields in com.itextpdf.kernel.mac declared as PdfDocumentModifier and TypeFieldDescriptionprotected final PdfDocumentAbstractMacIntegrityProtector.documentMethods in com.itextpdf.kernel.mac with parameters of type PdfDocumentModifier and TypeMethodDescriptionIMacContainerLocator.createMacIntegrityProtector(PdfDocument document, MacProperties macProperties) CreatesAbstractMacIntegrityProtectorfrom explicitly provided MAC properties.IMacContainerLocator.createMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary) CreatesAbstractMacIntegrityProtectorfrom already existing AuthCode dictionary.StandaloneMacContainerLocator.createMacIntegrityProtector(PdfDocument document, MacProperties macProperties) CreatesAbstractMacIntegrityProtectorfrom explicitly provided MAC properties.StandaloneMacContainerLocator.createMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary) CreatesAbstractMacIntegrityProtectorfrom already existing AuthCode dictionary.Constructors in com.itextpdf.kernel.mac with parameters of type PdfDocumentModifierConstructorDescriptionprotectedAbstractMacIntegrityProtector(PdfDocument document, MacProperties macProperties) CreatesAbstractMacIntegrityProtectorinstance from the providedMacProperties.protectedAbstractMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary) CreatesAbstractMacIntegrityProtectorinstance from the Auth dictionary.(package private)StandaloneMacIntegrityProtector(PdfDocument document, MacProperties macProperties) (package private)StandaloneMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary) -
Uses of PdfDocument in com.itextpdf.kernel.pdf
Fields in com.itextpdf.kernel.pdf declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentEncryptedEmbeddedStreamsHandler.documentprotected PdfDocumentPdfOutputStream.documentDocument associated with PdfOutputStream.private final PdfDocumentPdfPagesTree.documentprivate final PdfDocumentDestinationResolverCopyFilter.fromDocumentprivate final PdfDocumentGenericNameTree.pdfDocprivate PdfDocumentPageFlushingHelper.pdfDocprivate PdfDocumentPdfOutline.pdfDocprivate final PdfDocumentDefaultFontStrategy.pdfDocumentprotected PdfDocumentPdfIndirectReference.pdfDocumentPdfDocument object belongs to.protected PdfDocumentPdfReader.pdfDocumentprivate final PdfDocumentDestinationResolverCopyFilter.targetDocumentMethods in com.itextpdf.kernel.pdf that return PdfDocumentModifier and TypeMethodDescriptionPdfCatalog.getDocument()GetPdfDocumentwith indirect reference associated with the object.PdfIndirectReference.getDocument()PdfPage.getDocument()Gets thePdfDocumentthat owns that page, ornullif such document isn't exist.PdfDocument.setTagged()Specifies that document shall contain tag structure.Methods in com.itextpdf.kernel.pdf with parameters of type PdfDocumentModifier and TypeMethodDescriptionPdfResources.addFont(PdfDocument pdfDocument, PdfFont font) Adds font to resources and registers PdfFont in the document for further flushing.private static voidOcgPropertiesCopier.attemptToAddObjectToArray(Set<PdfIndirectReference> fromOcgsToCopy, PdfObject fromObj, PdfArray toArray, PdfDocument toDocument) (package private) voidPdfEncryption.checkEncryptionRequirements(PdfDocument document) private voidPdfDocument.cloneOutlines(Set<PdfOutline> outlinesToCopy, PdfOutline newParent, PdfOutline oldParent, Map<PdfPage, PdfPage> page2page, PdfDocument toDocument) This method copies create new outlines in the Document to copy.(package private) voidPdfEncryption.configureEncryptionParametersFromReader(PdfDocument document, PdfDictionary trailer) (package private) voidPdfEncryption.configureEncryptionParametersFromWriter(PdfDocument document) private voidPdfPage.copyAnnotations(PdfDocument toDocument, PdfPage page, ICopyFilter copyFilter) PdfPage.copyAsFormXObject(PdfDocument toDocument) Copies page as FormXObject to the specified document.protected voidPdfArray.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfBoolean.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfDictionary.copyContent(PdfObject from, PdfDocument document) Copies object content from object 'from'.protected voidPdfDictionary.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) Copies object content from object 'from'.protected voidPdfIndirectReference.copyContent(PdfObject from, PdfDocument document) protected voidPdfIndirectReference.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfLiteral.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfName.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfNull.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfNumber.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfObject.copyContent(PdfObject from, PdfDocument document) Copies object content from object 'from'.protected voidPdfObject.copyContent(PdfObject from, PdfDocument document, ICopyFilter filter) Copies object content from object 'from'.protected voidPdfPrimitiveObject.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfStream.copyContent(PdfObject from, PdfDocument document) protected voidPdfStream.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) protected voidPdfString.copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) private static voidOcgPropertiesCopier.copyDArrayField(PdfName fieldToCopy, Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary fromDict, PdfDictionary toDict, PdfDocument toDocument) private static voidOcgPropertiesCopier.copyDDictionary(Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary fromDDict, PdfDictionary toOcProperties, PdfDocument toDocument) (package private) PdfDestinationPdfCatalog.copyDestination(PdfObject dest, Map<PdfPage, PdfPage> page2page, PdfDocument toDocument) private voidPdfPage.copyInheritedProperties(PdfPage copyPdfPage, PdfDocument pdfDocument, ICopyFilter copyFilter) protected PdfObjectPdfWriter.copyObject(PdfObject obj, PdfDocument documentTo, boolean allowDuplicating) Copies a PdfObject either stand alone or as part of the PdfDocument passed as documentTo.protected PdfObjectPdfWriter.copyObject(PdfObject obj, PdfDocument documentTo, boolean allowDuplicating, ICopyFilter copyFilter) Copies a PdfObject either stand alone or as part of the PdfDocument passed as documentTo.static voidOcgPropertiesCopier.copyOCGProperties(PdfDocument sourceDocument, PdfDocument destinationDocument, Map<PdfPage, PdfPage> sourceToDestPageMapping) Copy unique page OCGs stored inside annotations/xobjects/resources from source pages to destination pages.private static voidOcgPropertiesCopier.copyOCGs(Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary toOcProperties, PdfDocument toDocument) private voidPdfDocument.copyOutlines(Set<PdfOutline> outlines, PdfDocument toDocument, Map<PdfPage, PdfPage> page2page) This method copies all given outlinesPdfDocument.copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument) Copies a range of pages from current document totoDocumentappending copied pages to the end.PdfDocument.copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage) Copies a range of pages from current document totoDocument.PdfDocument.copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocument.PdfDocument.copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocumentappending copied pages to the end.PdfDocument.copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument) Copies a range of pages from current document totoDocumentappending copied pages to the end.PdfDocument.copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage) Copies a range of pages from current document totoDocument.PdfDocument.copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocument.PdfDocument.copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocumentappending copied pages to the end.PdfDictionary.copyTo(PdfDocument document, List<PdfName> excludeKeys, boolean allowDuplicating) Copies dictionary to specified document.PdfDictionary.copyTo(PdfDocument document, List<PdfName> excludeKeys, boolean allowDuplicating, ICopyFilter copyFilter) Copies dictionary to specified document.PdfObject.copyTo(PdfDocument document) Copies object to a specified document.PdfObject.copyTo(PdfDocument document, boolean allowDuplicating) Copies object to a specified document.PdfObject.copyTo(PdfDocument document, boolean allowDuplicating, ICopyFilter copyFilter) Copies object to a specified document.PdfObject.copyTo(PdfDocument document, ICopyFilter copyFilter) Copies object to a specified document.PdfPage.copyTo(PdfDocument toDocument) Copies page to the specified document.PdfPage.copyTo(PdfDocument toDocument, IPdfPageExtraCopier copier) Copies page to the specified document.PdfPage.copyTo(PdfDocument toDocument, IPdfPageExtraCopier copier, boolean addPageToDocument, int pageInsertIndex) Copies page and adds it to the specified document to the end or by index if the corresponding parameter is true.private PdfPagePdfPage.copyTo(PdfPage page, PdfDocument toDocument, IPdfPageExtraCopier copier) private PdfDestinationPdfCatalog.createDestinationFromPageNum(PdfObject dest, PdfDocument toDocument) private static PdfDestinationPdfCatalog.createDestinationFromPageRef(PdfObject dest, Map<PdfPage, PdfPage> page2page, PdfDocument toDocument, PdfObject pageObject) (package private) PdfIndirectReferencePdfXrefTable.createNewIndirectReference(PdfDocument document) Method is used for object streams to avoid reuse existed references.protected PdfIndirectReferencePdfXrefTable.createNextIndirectReference(PdfDocument document) Creates next available indirect reference.IPdfPageFactory.createPdfPage(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPagewith given page size and add it to thePdfDocument.PdfPageFactory.createPdfPage(PdfDocument pdfDocument, PageSize pageSize) PdfXrefTable.createSections(PdfDocument document, boolean dropObjectsFromObjectStream) voidPdfDocument.flushCopiedObjects(PdfDocument sourceDoc) Flush all copied objects and remove them from copied cache.private voidPageFlushingHelper.initCurrentLayers(PdfDocument pdfDoc) (package private) voidPdfXrefTable.initFreeReferencesList(PdfDocument pdfDocument) Set up appropriate state for the free references list.private booleanPdfCatalog.isEqualSameNameDestExist(Map<PdfPage, PdfPage> page2page, PdfDocument toDocument, PdfString srcDestName, PdfArray srcDestArray, PdfPage oldPage) PdfObject.makeIndirect(PdfDocument document) Marks object to be saved as indirect.PdfObject.makeIndirect(PdfDocument document, PdfIndirectReference reference) Marks object to be saved as indirect.PdfObjectWrapper.makeIndirect(PdfDocument document) Marks object behind wrapper to be saved as indirect.PdfObjectWrapper.makeIndirect(PdfDocument document, PdfIndirectReference reference) Marks object behind wrapper to be saved as indirect.PdfPrimitiveObject.makeIndirect(PdfDocument document, PdfIndirectReference reference) private static booleanOcgPropertiesCopier.orderBranchContainsSetElements(PdfObject arrayObj, PdfArray array, int currentIndex, Set<PdfIndirectReference> ocgs, PdfArray toOcgs, PdfDocument toDocument) (package private) PdfObjectPdfObject.processCopying(PdfDocument documentTo, boolean allowDuplicating) Processes two cases of object copying: copying to the other document cloning inside of the current document(package private) PdfObjectPdfObject.processCopying(PdfDocument documentTo, boolean allowDuplicating, ICopyFilter filter) Processes two cases of object copying: copying to the other document cloning inside of the current documentprivate voidPdfPage.rebuildFormFieldParent(PdfDictionary field, PdfDictionary newField, PdfDocument toDocument) private voidPdfPage.rebuildFormFieldParent(PdfDictionary field, PdfDictionary newField, PdfDocument toDocument, Set<PdfDictionary> visitedForms) voidIPdfPageFormCopier.recreateAcroformToProcessCopiedFields(PdfDocument documentTo) Create Acroform from its PDF object to process form field objects added to the Acroform during copying.private voidPdfDocument.resolveDestinations(PdfDocument toDocument, Map<PdfPage, PdfPage> page2page) static booleanVersionConforming.validatePdfVersionForDeprecatedFeatureLogError(PdfDocument document, PdfVersion expectedVersion, String deprecatedFeatureLogMessage) static booleanVersionConforming.validatePdfVersionForDeprecatedFeatureLogWarn(PdfDocument document, PdfVersion expectedVersion, String deprecatedFeatureLogMessage) static booleanVersionConforming.validatePdfVersionForDictEntry(PdfDocument document, PdfVersion expectedVersion, PdfName entryKey, PdfName dictType) static booleanVersionConforming.validatePdfVersionForNotSupportedFeatureLogError(PdfDocument document, PdfVersion expectedStartVersion, String notSupportedFeatureLogMessage) Logs error message in case provided PDF document version is earlier than specified expected starting version.protected voidPdfXrefTable.writeXrefTableAndTrailer(PdfDocument document, PdfObject fileId, PdfObject crypto) Writes cross reference table and trailer to PDF.Method parameters in com.itextpdf.kernel.pdf with type arguments of type PdfDocumentModifier and TypeMethodDescriptionprotected voidGenericNameTree.addEntry(PdfString key, PdfObject value, Consumer<PdfDocument> onErrorAction) Add an entry to the name tree.Constructors in com.itextpdf.kernel.pdf with parameters of type PdfDocumentModifierConstructorDescriptionDefaultFontStrategy(PdfDocument pdfDocument) Instantiates a new instance ofDefaultFontStrategywhich will be used for passedPdfDocumentinstance.DestinationResolverCopyFilter(PdfDocument fromDocument, PdfDocument targetDocument) Initilazes a copy filter that will set all needed information aside to handle objects with a page destination after all pages are copied.(package private)EncryptedEmbeddedStreamsHandler(PdfDocument document) CreatesEncryptedEmbeddedStreamsHandlerinstance.protectedGenericNameTree(PdfDocument pdfDoc) Creates a name tree structure in the current document.PageFlushingHelper(PdfDocument pdfDoc) protectedPdfCatalog(PdfDocument pdfDocument) CreatePdfCatalogtoPdfDocument.(package private)PdfDocumentInfo(PdfDictionary pdfObject, PdfDocument pdfDocument) Create a PdfDocumentInfo based on the passed PdfDictionary.protectedPdfIndirectReference(PdfDocument doc, int objNr) protectedPdfIndirectReference(PdfDocument doc, int objNr, int genNr) protectedPdfIndirectReference(PdfDocument doc, int objNr, int genNr, long offset) privatePdfObjectStream(PdfDocument doc, OutputStream outputStream) (package private)PdfOutline(PdfDocument doc) This constructor creates root outline in the document.(package private)PdfOutline(String title, PdfDictionary content, PdfDocument pdfDocument) Create instance of document outline.protectedPdfPage(PdfDocument pdfDocument) protectedPdfPage(PdfDocument pdfDocument, PageSize pageSize) PdfPages(int from, PdfDocument pdfDocument) PdfPages(int from, PdfDocument pdfDocument, PdfPages parent) PdfStream(PdfDocument doc, InputStream inputStream) Creates an efficient stream.PdfStream(PdfDocument doc, InputStream inputStream, int compressionLevel) Creates an efficient stream. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.action
Methods in com.itextpdf.kernel.pdf.action with parameters of type PdfDocumentModifier and TypeMethodDescriptionPdfTarget.getAnnotation(PdfDocument pdfDocument) Gets the annotation specified by /A and /P entry values.PdfTarget.setAnnotation(PdfFileAttachmentAnnotation pdfAnnotation, PdfDocument pdfDocument) Sets the /P and /A values corresponding to provided annotation, which is already added to a page. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.annot
Constructors in com.itextpdf.kernel.pdf.annot with parameters of type PdfDocumentModifierConstructorDescriptionPdfSoundAnnotation(PdfDocument document, Rectangle rect, InputStream soundStream, float sampleRate, PdfName encoding, int channels, int sampleSizeInBits) Creates a sound annotation. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.canvas
Fields in com.itextpdf.kernel.pdf.canvas declared as PdfDocumentModifier and TypeFieldDescriptionprotected PdfDocumentPdfCanvas.documentthe document that the resulting content stream of this canvas will be written to.Methods in com.itextpdf.kernel.pdf.canvas that return PdfDocumentModifier and TypeMethodDescriptionPdfCanvas.getDocument()Get the document this canvas belongs toMethods in com.itextpdf.kernel.pdf.canvas with parameters of type PdfDocumentModifier and TypeMethodDescription(package private) voidCanvasGraphicsState.updateFromExtGState(PdfExtGState extGState, PdfDocument pdfDocument) Updates current graphic state with values from extended graphic state dictionary.Constructors in com.itextpdf.kernel.pdf.canvas with parameters of type PdfDocumentModifierConstructorDescriptionPdfCanvas(PdfDocument doc, int pageNum) Convenience method for fast PdfCanvas creation by a certain page.PdfCanvas(PdfStream contentStream, PdfResources resources, PdfDocument document) Creates PdfCanvas from content stream of page, form XObject, pattern etc.PdfCanvas(PdfFormXObject xObj, PdfDocument document) Creates a PdfCanvas from a PdfFormXObject.PdfPatternCanvas(PdfPattern.Tiling pattern, PdfDocument document) Creates PdfPatternCanvas for a document from a provided Tiling patternPdfPatternCanvas(PdfStream contentStream, PdfResources resources, PdfDocument document) Creates PdfPatternCanvas from content stream of page, form XObject, pattern etc. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.canvas.parser
Fields in com.itextpdf.kernel.pdf.canvas.parser declared as PdfDocumentConstructors in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfDocument -
Uses of PdfDocument in com.itextpdf.kernel.pdf.canvas.wmf
Methods in com.itextpdf.kernel.pdf.canvas.wmf with parameters of type PdfDocumentModifier and TypeMethodDescriptionWmfImageHelper.createFormXObject(PdfDocument document) Create a PdfXObject based on the WMF image. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.event
Fields in com.itextpdf.kernel.pdf.event declared as PdfDocumentMethods in com.itextpdf.kernel.pdf.event that return PdfDocumentModifier and TypeMethodDescriptionAbstractPdfDocumentEvent.getDocument()Retrieves the document associated with this event.Methods in com.itextpdf.kernel.pdf.event with parameters of type PdfDocumentModifier and TypeMethodDescriptionAbstractPdfDocumentEvent.setDocument(PdfDocument document) Sets the document associated with this event. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.filespec
Methods in com.itextpdf.kernel.pdf.filespec with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfDictionary fileParameter) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, InputStream is, PdfEncryptedPayload encryptedPayload) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, InputStream is, PdfEncryptedPayload encryptedPayload, PdfName mimeType) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, InputStream is, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfEncryptedPayloadFileSpecFactory.create(PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter) Embed a encrypted payload to a PdfDocument.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String fileDisplay, PdfDictionary fileParameter, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String fileDisplay, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String description, String fileDisplay, PdfDictionary fileParameter, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String description, String fileDisplay, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String description, String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue) Create an embedded file specification.private static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, String description, String fileDisplay, PdfName afRelationshipValue) Create an embedded file specification.private static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, String description, String fileDisplay, PdfName mimeType, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, InputStream is, String description, String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, InputStream is, String description, String fileDisplay, PdfName mimeType, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, String filePath, String fileDisplay, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, String filePath, String description, String fileDisplay, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, String filePath, String description, String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createEmbeddedFileSpec(PdfDocument doc, String filePath, String description, String fileDisplay, PdfName mimeType, PdfName afRelationshipValue) Create an embedded file specification.static PdfFileSpecPdfFileSpec.createExternalFileSpec(PdfDocument doc, String filePath) Create an external file specification.static PdfFileSpecPdfFileSpec.createExternalFileSpec(PdfDocument doc, String filePath, PdfName afRelationshipValue) Create an external file specification. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.layer
Methods in com.itextpdf.kernel.pdf.layer that return PdfDocumentModifier and TypeMethodDescriptionprotected PdfDocumentPdfLayer.getDocument()Gets thePdfDocumentthat owns that layer.protected PdfDocumentPdfLayerMembership.getDocument()Gets thePdfDocumentthat owns that layer membership.protected PdfDocumentPdfOCProperties.getDocument()Gets thePdfDocumentthat owns that OCProperties.Methods in com.itextpdf.kernel.pdf.layer with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic voidPdfLayer.addOCGRadioGroup(PdfDocument document, List<PdfLayer> group) Use this method to set a collection of optional content groups whose states are intended to follow a "radio button" paradigm.static PdfLayerPdfLayer.createTitle(String title, PdfDocument document) Creates a title layer.protected static PdfLayerPdfLayer.createTitleSilent(String title, PdfDocument document) Creates a title layer without registering it in PdfOCProperties.Constructors in com.itextpdf.kernel.pdf.layer with parameters of type PdfDocumentModifierConstructorDescriptionprivatePdfLayer(PdfDocument document) PdfLayer(String name, PdfDocument document) Creates a new layer by its name and document.Creates a new, empty membership layer.PdfOCProperties(PdfDocument document) Creates a new PdfOCProperties instance. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.tagging
Fields in com.itextpdf.kernel.pdf.tagging declared as PdfDocumentModifier and TypeFieldDescriptionprivate PdfDocumentPdfStructTreeRoot.documentprivate final PdfDocumentStructureTreeCopier.StructElemCopyingParams.toDocumentMethods in com.itextpdf.kernel.pdf.tagging that return PdfDocumentModifier and TypeMethodDescriptionprivate PdfDocumentPdfStructElem.getDocEnsureIndirectForKids()protected PdfDocumentPdfStructElem.getDocument()PdfStructTreeRoot.getDocument()StructureTreeCopier.StructElemCopyingParams.getToDocument()Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfDocumentModifier and TypeMethodDescriptionprivate static voidStructureTreeCopier.cloneParents(PdfDictionary structElem, StructureTreeCopier.LastClonedAncestor lastCloned, PdfDocument document) private static StructureTreeCopier.CopyStructureResultStructureTreeCopier.copyStructure(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument) voidPdfStructTreeRoot.copyTo(PdfDocument destDocument, int insertBeforePage, Map<PdfPage, PdfPage> page2page) Copies structure to adestDocumentand insert it in a specified position in the document.voidPdfStructTreeRoot.copyTo(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page) Copies structure to adestDocument.static voidStructureTreeCopier.copyTo(PdfDocument destDocument, int insertBeforePage, Map<PdfPage, PdfPage> page2page, PdfDocument callingDocument) Copies structure to adestDocumentand insert it in a specified position in the document.private static voidStructureTreeCopier.copyTo(PdfDocument destDocument, int insertBeforePage, Map<PdfPage, PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument) static voidStructureTreeCopier.copyTo(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page, PdfDocument callingDocument) Copies structure to adestDocument.private static voidStructureTreeCopier.copyTo(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument) Copies structure to adestDocument.private static voidStructureTreeCopier.copyTo(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument, int insertIndex) static voidStructureTreeCopier.move(PdfDocument document, PdfPage from, int insertBefore) Move tag structure of page to other place in the same document(package private) static PdfStructIdTreePdfStructIdTree.readFromDictionary(PdfDocument pdfDoc, PdfDictionary dict) Parse a structure element ID tree into its in-memory representation.private static voidStructureTreeCopier.separateKids(PdfDictionary structElem, Set<PdfObject> firstPartElems, StructureTreeCopier.LastClonedAncestor lastCloned, PdfDocument document) private static intStructureTreeCopier.separateStructure(PdfDocument document, int beforePage) private static intStructureTreeCopier.separateStructure(PdfDocument document, int startPage, int beforePage, int startPageStructTopIndex) Constructors in com.itextpdf.kernel.pdf.tagging with parameters of type PdfDocumentModifierConstructorDescriptionPdfStructElem(PdfDocument document, PdfName role) PdfStructElem(PdfDocument document, PdfName role, PdfAnnotation annot) PdfStructElem(PdfDocument document, PdfName role, PdfPage page) (package private)PdfStructIdTree(PdfDocument pdfDoc) PdfStructTreeRoot(PdfDictionary structTreeRootDict, PdfDocument document) Creates wrapper instance for already existing logical structure tree root in the document.PdfStructTreeRoot(PdfDocument document) Creates a new structure tree root instance, this initializes empty logical structure in the document.StructElemCopyingParams(Set<PdfObject> objectsToCopy, PdfDocument toDocument, Map<PdfDictionary, PdfDictionary> page2page, boolean copyFromDestDocument) -
Uses of PdfDocument in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as PdfDocumentModifier and TypeFieldDescriptionprivate PdfDocumentRootTagNormalizer.documentprivate final PdfDocumentTagStructureContext.documentMethods in com.itextpdf.kernel.pdf.tagutils that return PdfDocumentModifier and TypeMethodDescription(package private) PdfDocumentTagStructureContext.getDocument()TagTreePointer.getDocument()Constructors in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfDocumentModifierConstructorDescription(package private)RoleMappingResolver(String role, PdfDocument document) (package private)RoleMappingResolverPdf2(String role, PdfNamespace namespace, PdfDocument document) (package private)RootTagNormalizer(TagStructureContext context, PdfStructElem rootTagElement, PdfDocument document) TagStructureContext(PdfDocument document) Do not use this constructor, instead usePdfDocument.getTagStructureContext()method.TagStructureContext(PdfDocument document, PdfVersion tagStructureTargetVersion) Do not use this constructor, instead usePdfDocument.getTagStructureContext()method.TagTreePointer(PdfDocument document) CreatesTagTreePointerinstance.(package private)TagTreePointer(PdfStructElem structElem, PdfDocument document) -
Uses of PdfDocument in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfDocumentModifier and TypeMethodDescriptionPdfImageXObject.copyTo(PdfDocument document) Copy Image XObject to the specified document.Constructors in com.itextpdf.kernel.pdf.xobject with parameters of type PdfDocumentModifierConstructorDescriptionPdfFormXObject(WmfImageData image, PdfDocument pdfDocument) Creates a form XObject fromWmfImageData. -
Uses of PdfDocument in com.itextpdf.kernel.utils
Fields in com.itextpdf.kernel.utils declared as PdfDocumentModifier and TypeFieldDescriptionprotected PdfDocumentTaggedPdfReaderTool.documentprivate PdfDocumentPdfMerger.pdfDocumentprivate PdfDocumentPdfSplitter.pdfDocumentFields in com.itextpdf.kernel.utils with type parameters of type PdfDocumentModifier and TypeFieldDescriptionprivate List<PdfDocument> PdfSplitter.SplitReadyListener.splitDocumentsMethods in com.itextpdf.kernel.utils that return PdfDocumentModifier and TypeMethodDescriptionprivate PdfDocumentPdfSplitter.createPdfDocument(PageRange currentPageRange) PdfSplitter.extractPageRange(PageRange pageRange) Extracts the specified page ranges from a document.PdfSplitter.getPdfDocument()Gets the document to be split.private PdfDocumentPdfSplitter.splitByOutline(String outlineTitle) Methods in com.itextpdf.kernel.utils that return types with arguments of type PdfDocumentModifier and TypeMethodDescriptionPdfSplitter.extractPageRanges(List<PageRange> pageRanges) Extracts the specified page ranges from a document.PdfSplitter.splitByOutlines(List<String> outlineTitles) Split a document by outline title (bookmark name), find outline by name and places the entire hierarchy in a separate document ( outlines and pages ) .PdfSplitter.splitByPageCount(int pageCount) Splits a document into smaller documents with no more than @pageCount pages each.PdfSplitter.splitByPageNumbers(List<Integer> pageNumbers) Splits the document by page numbers.PdfSplitter.splitBySize(long size) Splits the document basing on the given size specified in bytes.Methods in com.itextpdf.kernel.utils with parameters of type PdfDocumentModifier and TypeMethodDescriptionCompareTool.compareByCatalog(PdfDocument outDocument, PdfDocument cmpDocument) Compares two PDF documents by content starting from Catalog dictionary and then recursively comparing corresponding objects which are referenced from it.private voidCompareTool.compareDocumentsEncryption(PdfDocument outDocument, PdfDocument cmpDocument, CompareTool.CompareResult compareResult) private voidCompareTool.compareDocumentsMac(PdfDocument outDocument, PdfDocument cmpDocument, CompareTool.CompareResult compareResult) private booleanCompareTool.compareLinkAnnotations(PdfLinkAnnotation cmpLink, PdfLinkAnnotation outLink, PdfDocument cmpDocument, PdfDocument outDocument) private static PdfDictionaryPdfScriptMerger.copyECMAScriptActionsDictionary(PdfDocument destination, PdfDictionary actions) voidPdfSplitter.IDocumentReadyListener.documentReady(PdfDocument pdfDocument, PageRange pageRange) Performs some action in case document is ready, e.g.voidPdfSplitter.SplitReadyListener.documentReady(PdfDocument pdfDocument, PageRange pageRange) PdfAnnotationFlattener.flatten(PdfDocument document) Flattens the annotations on the page according to the defined implementation ofIAnnotationFlattener.private List<PdfLinkAnnotation> CompareTool.getLinkAnnotations(int pageNum, PdfDocument document) private voidCompareTool.loadPagesFromReader(PdfDocument doc, List<PdfDictionary> pages, List<PdfIndirectReference> pagesRef) PdfMerger.merge(PdfDocument from, int fromPage, int toPage) This method merges pages from the source document to the current one.PdfMerger.merge(PdfDocument from, List<Integer> pages) This method merges pages from the source document to the current one.PdfMerger.merge(PdfDocument from, List<Integer> pages, IPdfPageExtraCopier copier) This method merges pages from the source document to the current one.static voidPdfScriptMerger.mergeAdditionalActionsScripts(PdfDocument source, PdfDocument destination) Copies AA catalog entry ECMA scripts, it only copies first action in chainstatic voidPdfScriptMerger.mergeNamesScripts(PdfDocument source, PdfDocument destination) Copies ECMA scripts from Names catalog entrystatic voidPdfScriptMerger.mergeOpenActionsScripts(PdfDocument source, PdfDocument destination) Copies open actions catalog entry ECMA scripts, it only copies first action in chainstatic voidPdfScriptMerger.mergeScripts(PdfDocument source, PdfDocument destination) Merges ECMA scripts from source to destinations from all possible places for them, it only copies first action in chain for AA and OpenAction entriesConstructors in com.itextpdf.kernel.utils with parameters of type PdfDocumentModifierConstructorDescriptionPdfMerger(PdfDocument pdfDocument) This class is used to merge a number of existing documents into one.PdfMerger(PdfDocument pdfDocument, PdfMergerProperties properties) This class is used to merge a number of existing documents into one.PdfSplitter(PdfDocument pdfDocument) Creates a new instance of PdfSplitter class.TaggedPdfReaderTool(PdfDocument document) Constructs aTaggedPdfReaderToolvia a givenPdfDocument.Constructor parameters in com.itextpdf.kernel.utils with type arguments of type PdfDocument -
Uses of PdfDocument in com.itextpdf.kernel.utils.objectpathitems
Fields in com.itextpdf.kernel.utils.objectpathitems declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentTrailerPath.cmpDocumentprivate final PdfDocumentTrailerPath.outDocumentMethods in com.itextpdf.kernel.utils.objectpathitems that return PdfDocumentModifier and TypeMethodDescriptionTrailerPath.getCmpDocument()Method returns current cmpPdfDocumentobject.TrailerPath.getOutDocument()Method returns current outPdfDocumentobject.Constructors in com.itextpdf.kernel.utils.objectpathitems with parameters of type PdfDocumentModifierConstructorDescriptionTrailerPath(PdfDocument cmpDoc, PdfDocument outDoc) Creates newTrailerPathinstance with corresponding base objects in two documents.TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc, Stack<LocalPathItem> path) Creates newTrailerPathinstance with corresponding base objects in two documents. -
Uses of PdfDocument in com.itextpdf.kernel.validation
Constructors in com.itextpdf.kernel.validation with parameters of type PdfDocumentModifierConstructorDescriptionPdf20Checker(PdfDocument pdfDocument) Creates newPdf20Checkerinstance to validate PDF document against PDF 2.0 standard. -
Uses of PdfDocument in com.itextpdf.kernel.validation.context
Fields in com.itextpdf.kernel.validation.context declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentPdfDocumentValidationContext.pdfDocumentMethods in com.itextpdf.kernel.validation.context that return PdfDocumentModifier and TypeMethodDescriptionPdfDocumentValidationContext.getPdfDocument()Gets the pdf document.Constructors in com.itextpdf.kernel.validation.context with parameters of type PdfDocumentModifierConstructorDescriptionPdfDocumentValidationContext(PdfDocument pdfDocument, Collection<PdfFont> documentFonts) Instantiates a newPdfDocumentValidationContextbased on document and document fonts. -
Uses of PdfDocument in com.itextpdf.layout
Fields in com.itextpdf.layout declared as PdfDocumentMethods in com.itextpdf.layout that return PdfDocumentModifier and TypeMethodDescriptionCanvas.getPdfDocument()Gets thePdfDocumentfor this canvas.Document.getPdfDocument()Gets PDF document.Methods in com.itextpdf.layout with parameters of type PdfDocumentModifier and TypeMethodDescriptionprivate static voidRootElement.traverseAndCallIso(PdfDocument pdfDocument, IRenderer renderer) Constructors in com.itextpdf.layout with parameters of type PdfDocumentModifierConstructorDescriptionCanvas(PdfFormXObject formXObject, PdfDocument pdfDocument) Creates a new Canvas to manipulate a specificPdfFormXObject.Document(PdfDocument pdfDoc) Creates a document from aPdfDocument.Document(PdfDocument pdfDoc, PageSize pageSize) Creates a document from aPdfDocumentwith a manually setPageSize.Document(PdfDocument pdfDoc, PageSize pageSize, boolean immediateFlush) Creates a document from aPdfDocumentwith a manually setPageSize. -
Uses of PdfDocument in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as PdfDocumentMethods in com.itextpdf.layout.renderer that return PdfDocumentModifier and TypeMethodDescriptionDrawContext.getDocument()Get pdf document.(package private) PdfDocumentAbstractRenderer.getPdfDocument()Gets pdf document from root renderers.Methods in com.itextpdf.layout.renderer with parameters of type PdfDocumentModifier and TypeMethodDescriptionprotected voidAbstractRenderer.applyAction(PdfDocument document) protected voidAbstractRenderer.applyDestination(PdfDocument document) protected voidAbstractRenderer.applyLinkAnnotation(PdfDocument document) static PdfFormXObjectAbstractRenderer.createXObject(AbstractLinearGradientBuilder linearGradientBuilder, Rectangle xObjectArea, PdfDocument document) Create aPdfFormXObjectwith the given area and containing a linear gradient inside.private static PdfStructElemAbstractRenderer.getCurrentStructElem(PdfDocument document) protected PdfFontBlockRenderer.getResolvedFont(PdfDocument pdfDocument) Get the font set in properties, if it is not set, then resolves the firstPdfFontfromFontProvider.(package private) final voidRootRenderer.linkRenderToDocument(IRenderer renderer, PdfDocument pdfDocument) Constructors in com.itextpdf.layout.renderer with parameters of type PdfDocumentModifierConstructorDescriptionDrawContext(PdfDocument document, PdfCanvas canvas) Create drawing context by setting document and pdf canvas on which drawing will be performed.DrawContext(PdfDocument document, PdfCanvas canvas, boolean enableTagging) Create drawing context by setting document and pdf canvas on which drawing will be performed. -
Uses of PdfDocument in com.itextpdf.layout.tagging
Fields in com.itextpdf.layout.tagging declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentLayoutTaggingHelper.documentprivate final PdfDocumentProhibitedTagRelationsResolver.pdfDocumentMethods in com.itextpdf.layout.tagging that return PdfDocumentConstructors in com.itextpdf.layout.tagging with parameters of type PdfDocumentModifierConstructorDescriptionLayoutTaggingHelper(PdfDocument document, boolean immediateFlush) ProhibitedTagRelationsResolver(PdfDocument pdfDocument) Creates a new instance ofProhibitedTagRelationsResolver. -
Uses of PdfDocument in com.itextpdf.pdfa
Subclasses of PdfDocument in com.itextpdf.pdfaModifier and TypeClassDescriptionclassThis class extendsPdfDocumentand is in charge of creating files that comply with the PDF/A standard.Fields in com.itextpdf.pdfa declared as PdfDocumentMethods in com.itextpdf.pdfa with parameters of type PdfDocumentModifier and TypeMethodDescriptionPdfAPageFactory.createPdfPage(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPagewith given page size and add it to thePdfDocument.Constructors in com.itextpdf.pdfa with parameters of type PdfDocumentModifierConstructorDescriptionPdfADefaultFontStrategy(PdfDocument pdfDocument) Instantiates a newPdfADefaultFontStrategyinstance based on the document which will use that strategy.PdfADocumentInfoHelper(PdfDocument pdfDocument) Instantiates a newPdfADocumentInfoHelperinstance based on the document.(package private)PdfAPage(PdfDocument pdfDocument, PageSize pageSize, PdfAChecker checker) -
Uses of PdfDocument in com.itextpdf.pdfa.checker
Methods in com.itextpdf.pdfa.checker with parameters of type PdfDocument -
Uses of PdfDocument in com.itextpdf.pdfua
Subclasses of PdfDocument in com.itextpdf.pdfuaMethods in com.itextpdf.pdfua with parameters of type PdfDocumentModifier and TypeMethodDescriptionPdfUAPageFactory.createPdfPage(PdfDocument pdfDocument, PageSize pageSize) Constructors in com.itextpdf.pdfua with parameters of type PdfDocumentModifierConstructorDescriptionprotectedPdfUAPage(PdfDocument pdfDocument, PageSize pageSize, PdfUA1Checker checker) Deprecated.protectedPdfUAPage(PdfDocument pdfDocument, PageSize pageSize, PdfUAChecker checker) Creates newPdfUAPageinstance. -
Uses of PdfDocument in com.itextpdf.pdfua.checkers
Fields in com.itextpdf.pdfua.checkers declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentPdfUA1Checker.pdfDocumentprivate final PdfDocumentPdfUA2Checker.pdfDocumentMethods in com.itextpdf.pdfua.checkers with parameters of type PdfDocumentModifier and TypeMethodDescription(package private) voidPdfUAChecker.checkContentInCanvas(Stack<Tuple2<PdfName, PdfDictionary>> tagStack, PdfDocument document) Checks if content is neither marked as Artifact nor tagged as real content.(package private) voidPdfUA1Checker.checkLogicalStructureInBMC(Stack<Tuple2<PdfName, PdfDictionary>> stack, Tuple2<PdfName, PdfDictionary> currentBmc, PdfDocument document) (package private) voidPdfUAChecker.checkLogicalStructureInBMC(Stack<Tuple2<PdfName, PdfDictionary>> stack, Tuple2<PdfName, PdfDictionary> currentBmc, PdfDocument document) Checks if content marked as Artifact resides in Artifact content, but real content does not.private static booleanPdfUAChecker.isInsideRealContent(Stack<Tuple2<PdfName, PdfDictionary>> tagStack, PdfDocument document) private static booleanPdfUAChecker.isRealContent(Tuple2<PdfName, PdfDictionary> tag, PdfDocument document) private static PdfMcrPdfUAChecker.mcrExists(PdfDocument document, int mcid) Constructors in com.itextpdf.pdfua.checkers with parameters of type PdfDocumentModifierConstructorDescriptionPdfUA1Checker(PdfDocument pdfDocument) Creates PdfUA1Checker instance with PDF document which will be validated against PDF/UA-1 standard.PdfUA2Checker(PdfDocument pdfDocument) CreatesPdfUA2Checkerinstance with PDF document which will be validated against PDF/UA-2 standard. -
Uses of PdfDocument in com.itextpdf.pdfua.checkers.utils
Fields in com.itextpdf.pdfua.checkers.utils declared as PdfDocumentMethods in com.itextpdf.pdfua.checkers.utils with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic voidXfaCheckUtil.check(PdfDocument pdfDocument) Deprecated.Checks XFA form of the document if exists.Constructors in com.itextpdf.pdfua.checkers.utils with parameters of type PdfDocumentModifierConstructorDescriptionPdfUAValidationContext(PdfDocument pdfDocument) Creates a new instance ofPdfUAValidationContext. -
Uses of PdfDocument in com.itextpdf.pdfua.checkers.utils.ua1
Methods in com.itextpdf.pdfua.checkers.utils.ua1 with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic voidPdfUA1XfaCheckUtil.check(PdfDocument pdfDocument) Checks XFA form of the document if exists. -
Uses of PdfDocument in com.itextpdf.pdfua.checkers.utils.ua2
Fields in com.itextpdf.pdfua.checkers.utils.ua2 declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentPdfUA2DestinationsChecker.documentprivate final PdfDocumentPdfUA2LinkChecker.pdfDocMethods in com.itextpdf.pdfua.checkers.utils.ua2 with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic voidPdfUA2XfaChecker.check(PdfDocument pdfDocument) Checks if XFA form of the document exists.static voidPdfUA2AnnotationChecker.checkAnnotations(PdfDocument pdfDocument) Checks PDF/UA-2 compliance of the annotations.voidPdfUA2CanvasTextChecker.checkCollectedContexts(PdfDocument document) Checks previously collected data according to Replacements and Alternatives UA-2 rules.static voidPdfUA2LinkChecker.checkLinkAnnotations(PdfDocument document) Verifies that each link annotation present in the document is tagged.voidPdfUA2FormChecker.checkWidgetAnnotations(PdfDocument document) Verifies the conformity of the widget annotation present in the document.private static PdfMcrPdfUA2CanvasTextChecker.findMcrByMcId(PdfDocument document, PdfNumber mcId, PdfStream contentStream) private static booleanPdfUA2DestinationsChecker.isActionAllowed(PdfAction action, PdfDocument document, int counter) private static booleanPdfUA2DestinationsChecker.isDestinationAllowed(PdfDestination destination, PdfDocument document, int counter) private static booleanPdfUA2DestinationsChecker.isDestinationAllowed(PdfNamedDestination namedDestination, PdfDocument document, int counter) private static booleanPdfUA2DestinationsChecker.isDestinationAllowed(PdfStringDestination stringDestination, PdfDocument document, int counter) private static booleanPdfUA2DestinationsChecker.isDestinationAllowed(PdfDictionary destDictionary, PdfDocument document, int counter) private static booleanPdfUA2DestinationsChecker.isDestinationAllowed(PdfObject destinationObject, PdfDocument document, int counter) Constructors in com.itextpdf.pdfua.checkers.utils.ua2 with parameters of type PdfDocumentModifierConstructorDescriptionPdfUA2DestinationsChecker(PdfDocument document) CreatesPdfUA2DestinationsCheckerinstance.PdfUA2DestinationsChecker(PdfDestinationAdditionContext context, PdfDocument document) CreatesPdfUA2DestinationsCheckerinstance.PdfUA2LinkAnnotationHandler(PdfUAValidationContext context, PdfDocument document) Creates a new instance of thePdfUA2LinkChecker.PdfUA2LinkAnnotationHandler.privatePdfUA2LinkChecker(PdfUAValidationContext context, PdfDocument pdfDoc) -
Uses of PdfDocument in com.itextpdf.signatures
Subclasses of PdfDocument in com.itextpdf.signaturesFields in com.itextpdf.signatures declared as PdfDocumentModifier and TypeFieldDescriptionprivate final PdfDocumentLtvVerification.documentprotected PdfDocumentLtvVerifier.documentDeprecated.A document object for the revision that is being verified.protected PdfDocumentPdfSigner.documentThe PdfDocument.private final PdfDocumentPdfSigner.SignatureApplier.documentprivate final PdfDocumentSignatureUtil.documentMethods in com.itextpdf.signatures that return PdfDocumentModifier and TypeMethodDescriptionPdfSigner.getDocument()Gets the PdfDocument associated with this instance.protected PdfDocumentPdfSigner.initDocument(PdfReader reader, PdfWriter writer, StampingProperties properties) Initialize newPdfDocumentinstance by using provided parameters.Methods in com.itextpdf.signatures with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic voidPdfTwoPhaseSigner.addSignatureToPreparedDocument(PdfDocument document, String fieldName, OutputStream outs, byte[] signedContent) Deprecated.PdfTwoPhaseSigner.addSignatureToPreparedDocument(PdfReader, String, OutputStream, byte[])should be used instead.static voidPdfTwoPhaseSigner.addSignatureToPreparedDocument(PdfDocument document, String fieldName, OutputStream outs, CMSContainer cmsContainer) Deprecated.PdfTwoPhaseSigner.addSignatureToPreparedDocument(PdfReader, String, OutputStream, CMSContainer)should be used instead.(package private) voidPdfSigner.SignatureApplier.apply(PdfDocument document, PdfSigner.ISignatureDataProvider signatureDataProvider) protected voidPdfSigner.applyAccessibilityProperties(PdfFormField formField, IAccessibleElement modelElement, PdfDocument pdfDocument) AppliesAccessibilityPropertiesfor provided signature field.(package private) static byte[]PdfSigner.embedMacTokenIntoSignatureContainer(byte[] signatureContainer, InputStream rangeStream, PdfDocument document) protected voidLtvVerifier.initLtvVerifier(PdfDocument document) Deprecated.InitializeLtvVerifierobject by using provided document.(package private) voidPdfPadesSigner.performLtvVerification(PdfDocument pdfDocument, List<String> signatureNames, LtvVerification.RevocationDataNecessity revocationDataNecessity) (package private) voidPdfPadesSigner.performTimestamping(PdfDocument document, OutputStream outputStream, ITSAClient tsaClient) protected voidPdfSigner.setDocument(PdfDocument document) Sets the PdfDocument.static voidPdfSigner.signDeferred(PdfDocument document, String fieldName, OutputStream outs, IExternalSignatureContainer externalSignatureContainer) Deprecated.PdfSigner.signDeferred(PdfReader, String, OutputStream, IExternalSignatureContainer)should be used instead.Constructors in com.itextpdf.signatures with parameters of type PdfDocumentModifierConstructorDescriptionContentsChecker(IRandomAccessSource byteSource, PdfDocument doc) LtvVerification(PdfDocument document) The verification constructor.LtvVerification(PdfDocument document, String securityProviderCode) The verification constructor.LtvVerifier(PdfDocument document) Deprecated.Creates a VerificationData object for a PdfReaderLtvVerifier(PdfDocument document, String securityProviderCode) Deprecated.CreateLtvVerifierclass instance from thePdfDocumentand security provider code.(package private)PdfSigner(PdfDocument document, OutputStream outputStream, ByteArrayOutputStream temporaryOS, File tempFile) SignatureApplier(PdfDocument document, String fieldName, OutputStream outs) SignatureUtil(PdfDocument document) Creates a SignatureUtil instance. -
Uses of PdfDocument in com.itextpdf.signatures.mac
Methods in com.itextpdf.signatures.mac with parameters of type PdfDocumentModifier and TypeMethodDescriptionSignatureMacContainerLocator.createMacIntegrityProtector(PdfDocument document, MacProperties macProperties) CreatesAbstractMacIntegrityProtectorfrom explicitly provided MAC properties.SignatureMacContainerLocator.createMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary) CreatesAbstractMacIntegrityProtectorfrom already existing AuthCode dictionary.Constructors in com.itextpdf.signatures.mac with parameters of type PdfDocumentModifierConstructorDescription(package private)SignatureMacIntegrityProtector(PdfDocument document, MacProperties macProperties) (package private)SignatureMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary) -
Uses of PdfDocument in com.itextpdf.signatures.validation
Fields in com.itextpdf.signatures.validation declared as PdfDocumentMethods in com.itextpdf.signatures.validation with parameters of type PdfDocumentModifier and TypeMethodDescriptionValidatorChainBuilder.buildSignatureValidator(PdfDocument document) Create a newSignatureValidatorinstance with the current configuration.private booleanDocumentRevisionsValidator.checkAllowedReferences(Set<PdfIndirectReference> currentAllowedReferences, Set<PdfIndirectReference> previousAllowedReferences, PdfIndirectReference indirectReference, PdfDocument documentWithoutRevision) private booleanDocumentRevisionsValidator.compareAcroFormsWithFieldMDP(PdfDocument documentWithoutRevision, PdfDocument documentWithRevision, ValidationReport report) private booleanDocumentRevisionsValidator.compareCatalogs(PdfDocument documentWithoutRevision, PdfDocument documentWithRevision, ValidationReport report, ValidationContext context) private Set<PdfIndirectReference> DocumentRevisionsValidator.createAllowedDssEntries(PdfDocument document) private Set<PdfIndirectReference> DocumentRevisionsValidator.createAllowedReferences(PdfDocument document) private booleanDocumentRevisionsValidator.createDocumentAndPerformOperation(DocumentRevision revision, PdfDocument originalDocument, ValidationReport report, Function<PdfDocument, Boolean> operation) private static InputStreamDocumentRevisionsValidator.createInputStreamFromRevision(PdfDocument originalDocument, DocumentRevision revision) private Set<PdfIndirectReference> DocumentRevisionsValidator.createUsuallyModifiedObjectsSet(PdfDocument document) private List<Certificate> SignatureValidator.getCertificatesFromDss(ValidationReport validationReport, PdfDocument document) private booleanDocumentRevisionsValidator.isAllowedStreamObj(PdfIndirectReference indirectReference, PdfDocument document) private static booleanDocumentRevisionsValidator.isLinearizedPdf(PdfDocument originalDocument) private voidDocumentRevisionsValidator.lockAllFormFields(DocumentRevision revision, List<String> excludedFields, PdfDocument originalDocument, ValidationReport report) private PdfPKCS7SignatureValidator.mathematicallyVerifySignature(ValidationReport validationReport, PdfDocument document) private voidDocumentRevisionsValidator.mergeRevisionsInLinearizedDocument(PdfDocument document, List<DocumentRevision> documentRevisions) private voidSignatureValidator.retrieveCrlResponsesFromDss(ValidationReport validationReport, ValidationContext context, PdfDocument document) private voidSignatureValidator.retrieveOcspResponsesFromDss(ValidationReport validationReport, ValidationContext context, PdfDocument document) private booleanDocumentRevisionsValidator.revisionContainsSignature(DocumentRevision revision, String signature, PdfDocument originalDocument, ValidationReport report) private voidDocumentRevisionsValidator.updateApprovalSignatureFieldLock(DocumentRevision revision, PdfDictionary signatureField, PdfDocument document, ValidationReport report) private voidSignatureValidator.updateValidationClients(PdfPKCS7 pkcs7, ValidationReport validationReport, ValidationContext validationContext, PdfDocument document) DocumentRevisionsValidator.validateAllDocumentRevisions(ValidationContext context, PdfDocument document) Validate all document revisions according to docMDP and fieldMDP transform methods.(package private) ValidationReportDocumentRevisionsValidator.validateAllDocumentRevisions(ValidationContext context, PdfDocument document, String signatureName) Validate all document revisions according to docMDP and fieldMDP transform methods and collect validation report related to the single signature field checks if specified.(package private) ValidationReportSignatureValidator.validateLatestSignature(PdfDocument document) (package private) voidDocumentRevisionsValidator.validateRevision(DocumentRevision previousRevision, DocumentRevision currentRevision, PdfDocument originalDocument, ValidationReport validationReport, ValidationContext context) private booleanDocumentRevisionsValidator.validateRevision(ValidationReport validationReport, ValidationContext context, PdfDocument documentWithoutRevision, PdfDocument documentWithRevision, DocumentRevision currentRevision) Method parameters in com.itextpdf.signatures.validation with type arguments of type PdfDocumentModifier and TypeMethodDescriptionprivate booleanDocumentRevisionsValidator.createDocumentAndPerformOperation(DocumentRevision revision, PdfDocument originalDocument, ValidationReport report, Function<PdfDocument, Boolean> operation) Constructors in com.itextpdf.signatures.validation with parameters of type PdfDocumentModifierConstructorDescriptionprotectedSignatureValidator(PdfDocument originalDocument, ValidatorChainBuilder builder) Creates new instance ofSignatureValidator. -
Uses of PdfDocument in com.itextpdf.svg.converter
Methods in com.itextpdf.svg.converter with parameters of type PdfDocumentModifier and TypeMethodDescriptionstatic ImageSvgConverter.convertToImage(InputStream stream, PdfDocument document) Converts a String containing valid SVG content to anXObjectthat can then be used on the passedPdfDocument.static ImageSvgConverter.convertToImage(InputStream stream, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to animagethat can then be used on the passedPdfDocument.private static PdfFormXObjectSvgConverter.convertToXObject(ISvgProcessorResult processorResult, PdfDocument document, ISvgConverterProperties props) static PdfFormXObjectSvgConverter.convertToXObject(ISvgNodeRenderer topSvgRenderer, PdfDocument document) This method draws a NodeRenderer tree to a canvas that is tied to the passed document.private static PdfFormXObjectSvgConverter.convertToXObject(ISvgNodeRenderer topSvgRenderer, PdfDocument document, SvgDrawContext context) This method draws a NodeRenderer tree to a canvas that is tied to the passed document.static PdfFormXObjectSvgConverter.convertToXObject(InputStream stream, PdfDocument document) Converts a String containing valid SVG content to anXObjectthat can then be used on the passedPdfDocument.static PdfFormXObjectSvgConverter.convertToXObject(InputStream stream, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to anXObjectthat can then be used on the passedPdfDocument.static PdfFormXObjectSvgConverter.convertToXObject(String content, PdfDocument document) Converts a String containing valid SVG content to anXObjectthat can then be used on the passedPdfDocument.static PdfFormXObjectSvgConverter.convertToXObject(String content, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to anXObjectthat can then be used on the passedPdfDocument.static voidSvgConverter.drawOnDocument(InputStream stream, PdfDocument document, int pageNo) Draws a Stream containing valid SVG to a document, on a given page number ate the origni of the page.static voidSvgConverter.drawOnDocument(InputStream stream, PdfDocument document, int pageNo, float x, float y) Draws a Stream containing valid SVG to a document, on a given page number on the provided x and y coordinate.static voidSvgConverter.drawOnDocument(InputStream stream, PdfDocument document, int pageNo, float x, float y, ISvgConverterProperties props) Draws a Stream containing valid SVG to a document, on a given page number on the provided x and y coordinate.static voidSvgConverter.drawOnDocument(InputStream stream, PdfDocument document, int pageNo, ISvgConverterProperties props) Draws a Stream containing valid SVG to a document, on a given page number on the provided x and y coordinate.static voidSvgConverter.drawOnDocument(String content, PdfDocument document, int pageNo) Draws a String containing valid SVG to a document, on a given page number at the origin of the page.static voidSvgConverter.drawOnDocument(String content, PdfDocument document, int pageNo, float x, float y) Draws a String containing valid SVG to a document, on a given page number on the provided x and y coordinate.static voidSvgConverter.drawOnDocument(String content, PdfDocument document, int pageNo, float x, float y, ISvgConverterProperties props) Draws a String containing valid SVG to a document, on a given page number on the provided x and y coordinate.static voidSvgConverter.drawOnDocument(String content, PdfDocument document, int pageNo, ISvgConverterProperties props) Draws a String containing valid SVG to a document, on a given page number on the provided x and y coordinate.private static voidSvgConverter.withTaggingIfNeeded(PdfDocument document, PdfCanvas canvas, PdfPage page, ISvgConverterProperties props, IOThrowingAction function) -
Uses of PdfDocument in com.itextpdf.svg.element
Methods in com.itextpdf.svg.element with parameters of type PdfDocumentModifier and TypeMethodDescriptionvoidSvgImage.generate(PdfDocument document) Deprecated.was replaced bygetSvgImageXObject().generate(PdfDocument) -
Uses of PdfDocument in com.itextpdf.svg.xobject
Methods in com.itextpdf.svg.xobject with parameters of type PdfDocumentModifier and TypeMethodDescriptionvoidSvgImageXObject.generate(PdfDocument document) Processes xObject before first image generation to avoid drawing it twice or more.Constructors in com.itextpdf.svg.xobject with parameters of type PdfDocumentModifierConstructorDescriptionSvgImageXObject(ISvgProcessorResult result, SvgDrawContext svgContext, float em, PdfDocument pdfDocument) Creates a new instance of Form XObject for the relative sized SVG image.
PdfUAPage(PdfDocument, PageSize, PdfUAChecker)