| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | Barcode1D. document | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfFormXObject | Barcode1D. createFormXObject(Color barColor, Color textColor, PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| PdfFormXObject | BarcodePDF417. createFormXObject(Color foreground, float moduleWidth, float moduleHeight, PdfDocument document)
             Creates a PdfFormXObject with the barcode with given module width and module height. 
            | 
| PdfFormXObject | BarcodeDataMatrix. createFormXObject(Color foreground, float moduleSide, PdfDocument document)
             Creates a PdfFormXObject with the barcode with given module width and module height. 
            | 
| PdfFormXObject | BarcodeQRCode. createFormXObject(Color foreground, float moduleSize, PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| abstract PdfFormXObject | Barcode2D. createFormXObject(Color foreground, PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| PdfFormXObject | BarcodeDataMatrix. createFormXObject(Color foreground, PdfDocument document) | 
| PdfFormXObject | BarcodePDF417. createFormXObject(Color foreground, PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| PdfFormXObject | BarcodeQRCode. createFormXObject(Color foreground, PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| PdfFormXObject | Barcode1D. createFormXObject(PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| PdfFormXObject | Barcode2D. createFormXObject(PdfDocument document)
             Creates a PdfFormXObject with the barcode. 
            | 
| Constructor and Description | 
|---|
| Barcode128(PdfDocument document)
             Creates new Barcode128. 
            | 
| Barcode128(PdfDocument document, PdfFont font)
             Creates new Barcode128, which will use the provided font 
            | 
| Barcode1D(PdfDocument document) | 
| 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 BarcodeEAN 
            | 
| BarcodeInter25(PdfDocument document)
             Creates new BarcodeInter25. 
            | 
| BarcodeInter25(PdfDocument document, PdfFont font)
             Creates new BarcodeInter25 
            | 
| BarcodeMSI(PdfDocument document)
             Creates a new BarcodeMSI. 
            | 
| BarcodeMSI(PdfDocument document, PdfFont font)
             Creates a new BarcodeMSI 
            | 
| BarcodePostnet(PdfDocument document) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | PdfAcroForm. document
             The PdfDocument to which the PdfAcroForm belongs. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | PdfAcroForm. getPdfDocument()
             Gets the  PdfDocumentthisPdfAcroFormbelongs to. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PdfAcroForm | PdfAcroForm. getAcroForm(PdfDocument document, boolean createIfNotExist)
             Retrieves AcroForm from the document. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PdfDocument | PdfFormField. getDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| static PdfButtonFormField | PdfFormField. createButton(PdfDocument doc, int flags)
             Creates an empty  button form fieldwith custom behavior and layout. | 
| static PdfButtonFormField | PdfFormField. createButton(PdfDocument doc, int flags, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty  button form fieldwith custom behavior and layout. | 
| static PdfButtonFormField | PdfFormField. createButton(PdfDocument doc, Rectangle rect, int flags)
             Creates an empty  button form fieldwith custom behavior and layout, on a specified location. | 
| static PdfButtonFormField | PdfFormField. createButton(PdfDocument doc, Rectangle rect, int flags, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty  button form fieldwith custom behavior and layout, on a specified location. | 
| static PdfButtonFormField | PdfFormField. createCheckBox(PdfDocument doc, Rectangle rect, String name, String value)
             Creates a  PdfButtonFormFieldas a checkbox. | 
| static PdfButtonFormField | PdfFormField. createCheckBox(PdfDocument doc, Rectangle rect, String name, String value, int checkType)
             Creates a  PdfButtonFormFieldas a checkbox. | 
| static PdfButtonFormField | PdfFormField. createCheckBox(PdfDocument doc, Rectangle rect, String name, String value, int checkType, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  PdfButtonFormFieldas a checkbox. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, int flags)
             Creates an empty  choice form field. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, int flags, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty  choice form field. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, Rectangle rect, int flags)
             Creates an empty  choice form fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags)
             Creates a  choice form fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  choice form fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags)
             Creates a  choice form fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  choice form fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[] options)
             Creates a  comboboxwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[][] options)
             Creates a  comboboxwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  comboboxwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  comboboxwith custom behavior and layout, on a specified location. | 
| static PdfFormField | PdfFormField. createEmptyField(PdfDocument doc)
             Creates an empty form field without a predefined set of layout or behavior. 
            | 
| static PdfFormField | PdfFormField. createEmptyField(PdfDocument doc, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty form field without a predefined set of layout or behavior. 
            | 
| static PdfChoiceFormField | PdfFormField. createList(PdfDocument doc, Rectangle rect, String name, String value, String[] options)
             Creates a  list fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createList(PdfDocument doc, Rectangle rect, String name, String value, String[][] options)
             Creates a  list fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createList(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  list fieldwith custom behavior and layout, on a specified location. | 
| static PdfChoiceFormField | PdfFormField. createList(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  list fieldwith custom behavior and layout, on a specified location. | 
| static PdfTextFormField | PdfFormField. createMultilineText(PdfDocument doc, Rectangle rect, String name, String value)
             Creates a named  multiline text form fieldwith an initial value, and the form's default font specified inPdfAcroForm.getDefaultResources(). | 
| static PdfTextFormField | PdfFormField. createMultilineText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize)
             Creates a named  multilined text form fieldwith an initial value, with a specified font and font size. | 
| static PdfButtonFormField | PdfFormField. createPushButton(PdfDocument doc, Rectangle rect, String name, String caption)
             Creates a  PdfButtonFormFieldas a push button without data. | 
| static PdfButtonFormField | PdfFormField. createPushButton(PdfDocument doc, Rectangle rect, String name, String caption, PdfFont font, float fontSize)
             Creates a  PdfButtonFormFieldas a push button without data, with its caption in a custom font. | 
| static PdfButtonFormField | PdfFormField. createPushButton(PdfDocument doc, Rectangle rect, String name, String caption, PdfFont font, float fontSize, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  PdfButtonFormFieldas a push button without data, with its caption in a custom font. | 
| static PdfFormField | PdfFormField. createRadioButton(PdfDocument doc, Rectangle rect, PdfButtonFormField radioGroup, String value)
             Creates a generic  PdfFormFieldthat is added to a radio group. | 
| static PdfFormField | PdfFormField. createRadioButton(PdfDocument doc, Rectangle rect, PdfButtonFormField radioGroup, String value, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a generic  PdfFormFieldthat is added to a radio group. | 
| static PdfButtonFormField | PdfFormField. createRadioGroup(PdfDocument doc, String name, String value)
             Creates a  radio group form field. | 
| static PdfButtonFormField | PdfFormField. createRadioGroup(PdfDocument doc, String name, String value, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a  radio group form field. | 
| static PdfSignatureFormField | PdfFormField. createSignature(PdfDocument doc)
             Creates an empty  signature form field. | 
| static PdfSignatureFormField | PdfFormField. createSignature(PdfDocument doc, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty  signature form field. | 
| static PdfSignatureFormField | PdfFormField. createSignature(PdfDocument doc, Rectangle rect)
             Creates an empty  signature form field. | 
| static PdfSignatureFormField | PdfFormField. createSignature(PdfDocument doc, Rectangle rect, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty  signature form field. | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc)
             Creates an empty  text form field. | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, PdfAConformanceLevel pdfAConformanceLevel)
             Creates an empty  text form field. | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, Rectangle rect)
             Creates an empty  text form field. | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, Rectangle rect, String name)
             Creates a named  text form fieldwith an initial value, and the form's default font specified inPdfAcroForm.getDefaultResources(). | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, Rectangle rect, String name, String value)
             Creates a named  text form fieldwith an initial value, and the form's default font specified inPdfAcroForm.getDefaultResources(). | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize)
             Creates a named  text form fieldwith an initial value, with a specified font and font size. | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, boolean multiline)
             Creates a named  text form fieldwith an initial value, with a specified font and font size. | 
| static PdfTextFormField | PdfFormField. createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, boolean multiline, PdfAConformanceLevel pdfAConformanceLevel)
             Creates a named  text form fieldwith an initial value, with a specified font and font size. | 
| static PdfFormField | PdfFormField. makeFormField(PdfObject pdfObject, PdfDocument document)
             Creates a (subtype of)  PdfFormFieldobject. | 
| Constructor and Description | 
|---|
| PdfButtonFormField(PdfDocument pdfDocument) | 
| PdfButtonFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) | 
| PdfChoiceFormField(PdfDocument pdfDocument) | 
| PdfChoiceFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) | 
| PdfFormField(PdfDocument pdfDocument)
             Creates a minimal  PdfFormField. | 
| PdfFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
             Creates a form field as a parent of a  PdfWidgetAnnotation. | 
| PdfSignatureFormField(PdfDocument pdfDocument) | 
| PdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) | 
| PdfTextFormField(PdfDocument pdfDocument) | 
| PdfTextFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | XfaForm. setXfaForm(XfaForm form, PdfDocument pdfDocument)
             Sets the XFA key from a byte array. 
            | 
| void | XfaForm. write(PdfDocument document)
             Write the XfaForm to the provided  PdfDocument. | 
| Constructor and Description | 
|---|
| XfaForm(PdfDocument pdfDocument)
             A constructor from a  PdfDocument. | 
| Modifier and Type | Method and Description | 
|---|---|
| XfdfObject | XfdfObjectFactory. createXfdfObject(PdfDocument document, String filename)
             Extracts data from pdf document acroform and annotations into XfdfObject. 
            | 
| void | XfdfObject. mergeToPdf(PdfDocument pdfDocument, String pdfDocumentName)
             Merges info from XfdfObject to pdf document. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | PdfDocumentEvent. getDocument()
             Returns the PdfDocument associated with this event. 
            | 
| Constructor and Description | 
|---|
| PdfDocumentEvent(String type, PdfDocument document)
             Creates a PdfDocumentEvent. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PdfDocument | PdfType3Font. getDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| static PdfFont | PdfFontFactory. createFont(String fontProgram, String encoding, PdfDocument cacheTo) | 
| static PdfType3Font | PdfFontFactory. createType3Font(PdfDocument document, boolean colorized)
             Creates a new instance of  PdfType3Font | 
| static PdfType3Font | PdfFontFactory. createType3Font(PdfDocument document, String fontName, String fontFamily, boolean colorized)
             Creates a new instance of  PdfType3Font | 
| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | PdfOutputStream. document
             Document associated with PdfOutputStream. 
            | 
| protected PdfDocument | PdfIndirectReference. pdfDocument
             PdfDocument object belongs to. 
            | 
| protected PdfDocument | PdfReader. pdfDocument | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | PdfCatalog. getDocument() | 
| PdfDocument | PdfIndirectReference. getDocument() | 
| PdfDocument | PdfPage. getDocument()
             Gets the  PdfDocumentthat owns that page, ornullif such document isn't exist. | 
| PdfDocument | PdfDocument. setTagged()
             Specifies that document shall contain tag structure. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfName | PdfResources. addFont(PdfDocument pdfDocument, PdfFont font)
             Adds font to resources and register PdfFont in the document for further flushing. 
            | 
| PdfFormXObject | PdfPage. copyAsFormXObject(PdfDocument toDocument)
             Copies page as FormXObject to the specified document. 
            | 
| protected void | PdfArray. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfBoolean. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfDictionary. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfIndirectReference. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfLiteral. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfName. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfNull. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfNumber. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfObject. copyContent(PdfObject from, PdfDocument document)
             Copies object content from object 'from'. 
            | 
| protected void | PdfPrimitiveObject. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfStream. copyContent(PdfObject from, PdfDocument document) | 
| protected void | PdfString. copyContent(PdfObject from, PdfDocument document) | 
| protected PdfObject | PdfWriter. copyObject(PdfObject obj, PdfDocument documentTo, boolean allowDuplicating) | 
| List<PdfPage> | PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument)
             Copies a range of pages from current document to  toDocumentappending copied pages to the end. | 
| List<PdfPage> | PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage)
             Copies a range of pages from current document to  toDocument. | 
| List<PdfPage> | PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier)
             Copies a range of pages from current document to  toDocument. | 
| List<PdfPage> | PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, IPdfPageExtraCopier copier)
             Copies a range of pages from current document to  toDocumentappending copied pages to the end. | 
| List<PdfPage> | PdfDocument. copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument)
             Copies a range of pages from current document to  toDocumentappending copied pages to the end. | 
| List<PdfPage> | PdfDocument. copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage)
             Copies a range of pages from current document to  toDocument. | 
| List<PdfPage> | PdfDocument. copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier)
             Copies a range of pages from current document to  toDocument. | 
| List<PdfPage> | PdfDocument. copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocument, IPdfPageExtraCopier copier)
             Copies a range of pages from current document to  toDocumentappending copied pages to the end. | 
| PdfObject | PdfObject. copyTo(PdfDocument document)
             Copies object to a specified document. 
            | 
| PdfPage | PdfPage. copyTo(PdfDocument toDocument)
             Copies page to the specified document. 
            | 
| PdfObject | PdfObject. copyTo(PdfDocument document, boolean allowDuplicating)
             Copies object to a specified document. 
            | 
| PdfPage | PdfPage. copyTo(PdfDocument toDocument, IPdfPageExtraCopier copier)
             Copies page to the specified document. 
            | 
| PdfDictionary | PdfDictionary. copyTo(PdfDocument document, List<PdfName> excludeKeys, boolean allowDuplicating)
             Copies dictionary to specified document. 
            | 
| void | PdfDocument. flushCopiedObjects(PdfDocument sourceDoc)
             Flush all copied objects and remove them from copied cache. 
            | 
| PdfObject | PdfObject. makeIndirect(PdfDocument document)
             Marks object to be saved as indirect. 
            | 
| PdfObjectWrapper<T> | PdfObjectWrapper. makeIndirect(PdfDocument document)
             Marks object behind wrapper to be saved as indirect. 
            | 
| PdfObject | PdfObject. makeIndirect(PdfDocument document, PdfIndirectReference reference)
             Marks object to be saved as indirect. 
            | 
| PdfObjectWrapper<T> | PdfObjectWrapper. makeIndirect(PdfDocument document, PdfIndirectReference reference)
             Marks object behind wrapper to be saved as indirect. 
            | 
| PdfObject | PdfPrimitiveObject. makeIndirect(PdfDocument document, PdfIndirectReference reference) | 
| static boolean | VersionConforming. validatePdfVersionForDeprecatedFeatureLogError(PdfDocument document, PdfVersion expectedVersion, String deprecatedFeatureLogMessage) | 
| static boolean | VersionConforming. validatePdfVersionForDeprecatedFeatureLogWarn(PdfDocument document, PdfVersion expectedVersion, String deprecatedFeatureLogMessage) | 
| static boolean | VersionConforming. validatePdfVersionForDictEntry(PdfDocument document, PdfVersion expectedVersion, PdfName entryKey, PdfName dictType) | 
| Constructor and Description | 
|---|
| PageFlushingHelper(PdfDocument pdfDoc) | 
| PdfCatalog(PdfDocument pdfDocument) | 
| PdfIndirectReference(PdfDocument doc, int objNr) | 
| PdfIndirectReference(PdfDocument doc, int objNr, int genNr) | 
| PdfIndirectReference(PdfDocument doc, int objNr, int genNr, long offset) | 
| PdfPage(PdfDocument pdfDocument) | 
| PdfPage(PdfDocument pdfDocument, PageSize pageSize) | 
| PdfStream(PdfDocument doc, InputStream inputStream)
             Creates an efficient stream. 
            | 
| PdfStream(PdfDocument doc, InputStream inputStream, int compressionLevel)
             Creates an efficient stream. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfFileAttachmentAnnotation | PdfTarget. getAnnotation(PdfDocument pdfDocument)
             Gets the annotation specified by /A and /P entry values. 
            | 
| PdfTarget | PdfTarget. setAnnotation(PdfFileAttachmentAnnotation pdfAnnotation, PdfDocument pdfDocument)
             Sets the /P and /A values corresponding to provided annotation, which is already added to a page. 
            | 
| Constructor and Description | 
|---|
| PdfSoundAnnotation(PdfDocument document, Rectangle rect, InputStream soundStream, float sampleRate, PdfName encoding, int channels, int sampleSizeInBits)
             Creates a sound annotation. 
            | 
| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | PdfCanvas. document
             the document that the resulting content stream of this canvas will be written to. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | PdfCanvas. getDocument()
             Get the document this canvas belongs to 
            | 
| Constructor and Description | 
|---|
| PdfCanvas(PdfDocument doc, int pageNum)
             Convenience method for fast PdfCanvas creation by a certain page. 
            | 
| PdfCanvas(PdfFormXObject xObj, PdfDocument document)
             Creates a PdfCanvas from a PdfFormXObject. 
            | 
| PdfCanvas(PdfStream contentStream, PdfResources resources, PdfDocument document)
             Creates PdfCanvas from content stream of page, form XObject, pattern etc. 
            | 
| PdfPatternCanvas(PdfPattern.Tiling pattern, PdfDocument document)
             Creates PdfPatternCanvas for a document from a provided Tiling pattern 
            | 
| PdfPatternCanvas(PdfStream contentStream, PdfResources resources, PdfDocument document)
             Creates PdfPatternCanvas from content stream of page, form XObject, pattern etc. 
            | 
| Constructor and Description | 
|---|
| PdfDocumentContentParser(PdfDocument pdfDocument) | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfXObject | WmfImageHelper. createFormXObject(PdfDocument document)
             Create a PdfXObject based on the WMF image. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfDictionary fileParameter)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, InputStream is, PdfEncryptedPayload encryptedPayload)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, InputStream is, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, InputStream is, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
             Embed a encrypted payload to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String fileDisplay, PdfDictionary fileParameter, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String fileDisplay, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String description, String fileDisplay, PdfDictionary fileParameter, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String description, String fileDisplay, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, String description, String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, InputStream is, String description, String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, InputStream is, String description, String fileDisplay, PdfName mimeType, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, String filePath, String fileDisplay, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, String filePath, String description, String fileDisplay, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, String filePath, String description, String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, String filePath, String description, String fileDisplay, PdfName mimeType, PdfName afRelationshipValue)
             Embed a file to a PdfDocument. 
            | 
| static PdfFileSpec | PdfFileSpec. createExternalFileSpec(PdfDocument doc, String filePath) | 
| static PdfFileSpec | PdfFileSpec. createExternalFileSpec(PdfDocument doc, String filePath, PdfName afRelationshipValue) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PdfDocument | PdfLayer. getDocument() | 
| protected PdfDocument | PdfLayerMembership. getDocument() | 
| protected PdfDocument | PdfOCProperties. getDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | PdfLayer. 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 PdfLayer | PdfLayer. createTitle(String title, PdfDocument document)
             Creates a title layer. 
            | 
| protected static PdfLayer | PdfLayer. createTitleSilent(String title, PdfDocument document)
             Creates a title layer without registering it in PdfOCProperties. 
            | 
| Constructor and Description | 
|---|
| PdfLayer(String name, PdfDocument document)
             Creates a new layer by its name and document. 
            | 
| PdfLayerMembership(PdfDocument doc)
             Creates a new, empty membership layer. 
            | 
| PdfOCProperties(PdfDocument document)
             Creates a new PdfOCProperties instance. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PdfDocument | PdfStructElem. getDocument() | 
| PdfDocument | PdfStructTreeRoot. getDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PdfStructTreeRoot. copyTo(PdfDocument destDocument, int insertBeforePage, Map<PdfPage,PdfPage> page2page)
             Copies structure to a  destDocumentand insert it in a specified position in the document. | 
| void | PdfStructTreeRoot. copyTo(PdfDocument destDocument, Map<PdfPage,PdfPage> page2page)
             Copies structure to a  destDocument. | 
| Constructor and Description | 
|---|
| PdfStructElem(PdfDocument document, PdfName role) | 
| PdfStructElem(PdfDocument document, PdfName role, PdfAnnotation annot) | 
| PdfStructElem(PdfDocument document, PdfName role, PdfPage page) | 
| PdfStructTreeRoot(PdfDictionary pdfObject, PdfDocument document) | 
| PdfStructTreeRoot(PdfDocument document) | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | TagTreePointer. getDocument() | 
| Constructor and Description | 
|---|
| TagStructureContext(PdfDocument document)
             Do not use this constructor, instead use  getTagStructureContext()method. | 
| TagStructureContext(PdfDocument document, PdfVersion tagStructureTargetVersion)
             Do not use this constructor, instead use  getTagStructureContext()method. | 
| TagTreePointer(PdfDocument document)
             Creates  TagTreePointerinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfImageXObject | PdfImageXObject. copyTo(PdfDocument document)
             Copy Image XObject to the specified document. 
            | 
| Constructor and Description | 
|---|
| PdfFormXObject(WmfImageData image, PdfDocument pdfDocument)
             Creates a form XObject from  WmfImageData. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | TaggedPdfReaderTool. document | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | PdfSplitter. extractPageRange(PageRange pageRange)
             Extracts the specified page ranges from a document. 
            | 
| PdfDocument | PdfSplitter. getPdfDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PdfDocument> | PdfSplitter. extractPageRanges(List<PageRange> pageRanges)
             Extracts the specified page ranges from a document. 
            | 
| List<PdfDocument> | 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 ) . 
            | 
| List<PdfDocument> | PdfSplitter. splitByPageCount(int pageCount)
             Splits a document into smaller documents with no more than @pageCount pages each. 
            | 
| List<PdfDocument> | PdfSplitter. splitByPageNumbers(List<Integer> pageNumbers)
             Splits the document by page numbers. 
            | 
| List<PdfDocument> | PdfSplitter. splitBySize(long size)
             Splits the document basing on the given size. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| CompareTool.CompareResult | CompareTool. 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. 
            | 
| void | PdfSplitter.IDocumentReadyListener. documentReady(PdfDocument pdfDocument, PageRange pageRange) | 
| PdfMerger | PdfMerger. merge(PdfDocument from, int fromPage, int toPage)
             This method merges pages from the source document to the current one. 
            | 
| PdfMerger | PdfMerger. merge(PdfDocument from, List<Integer> pages)
             This method merges pages from the source document to the current one. 
            | 
| Constructor and Description | 
|---|
| PdfMerger(PdfDocument pdfDocument)
             This class is used to merge a number of existing documents into one. 
            | 
| PdfMerger(PdfDocument pdfDocument, boolean mergeTags, boolean mergeOutlines)
             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 a  TaggedPdfReaderToolvia a givenPdfDocument. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | RootElement. pdfDocument | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | Canvas. getPdfDocument()
             Gets the  PdfDocumentfor this canvas. | 
| PdfDocument | Document. getPdfDocument()
             Gets PDF document. 
            | 
| Constructor and Description | 
|---|
| Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea)
             Creates a new Canvas to manipulate a specific document and content stream, which might be for example a page or  PdfFormXObjectstream. | 
| Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea, boolean immediateFlush)
             Creates a new Canvas to manipulate a specific document and page. 
            | 
| Canvas(PdfFormXObject formXObject, PdfDocument pdfDocument)
             Creates a new Canvas to manipulate a specific  PdfFormXObject. | 
| Document(PdfDocument pdfDoc)
             Creates a document from a  PdfDocument. | 
| Document(PdfDocument pdfDoc, PageSize pageSize)
             Creates a document from a  PdfDocumentwith a manually setPageSize. | 
| Document(PdfDocument pdfDoc, PageSize pageSize, boolean immediateFlush)
             Creates a document from a  PdfDocumentwith a manually setPageSize. | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | DrawContext. getDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AbstractRenderer. applyAction(PdfDocument document) | 
| protected void | AbstractRenderer. applyDestination(PdfDocument document) | 
| protected void | AbstractRenderer. applyLinkAnnotation(PdfDocument document) | 
| Constructor and Description | 
|---|
| DrawContext(PdfDocument document, PdfCanvas canvas) | 
| DrawContext(PdfDocument document, PdfCanvas canvas, boolean enableTagging) | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | LayoutTaggingHelper. getPdfDocument() | 
| Constructor and Description | 
|---|
| LayoutTaggingHelper(PdfDocument document, boolean immediateFlush) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PdfADocument
             This class extends  PdfDocumentand is in charge of creating files that comply with the PDF/A standard. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected PdfDocument | LtvVerifier. document
             A document object for the revision that is being verified. 
            | 
| protected PdfDocument | PdfSigner. document
             The PdfDocument. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfDocument | PdfSigner. getDocument()
             Gets the PdfDocument associated with this instance. 
            | 
| protected PdfDocument | PdfSigner. initDocument(PdfReader reader, PdfWriter writer, StampingProperties properties) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | LtvVerifier. initLtvVerifier(PdfDocument document) | 
| protected void | PdfSigner. setDocument(PdfDocument document)
             Sets the PdfDocument. 
            | 
| static void | PdfSigner. signDeferred(PdfDocument document, String fieldName, OutputStream outs, IExternalSignatureContainer externalSignatureContainer)
             Signs a PDF where space was already reserved. 
            | 
| Constructor and Description | 
|---|
| LtvVerification(PdfDocument document)
             The verification constructor. 
            | 
| LtvVerification(PdfDocument document, String securityProviderCode)
             The verification constructor. 
            | 
| LtvVerifier(PdfDocument document)
             Creates a VerificationData object for a PdfReader 
            | 
| LtvVerifier(PdfDocument document, String securityProviderCode) | 
| PdfSignatureAppearance(PdfDocument document, Rectangle pageRect, int pageNumber)
             Creates a PdfSignatureAppearance. 
            | 
| SignatureUtil(PdfDocument document)
             Creates a SignatureUtil instance. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| static Image | SvgConverter. convertToImage(InputStream stream, PdfDocument document)
             Converts a String containing valid SVG content to an  XObjectthat can then be used on the passedPdfDocument. | 
| static Image | SvgConverter. convertToImage(InputStream stream, PdfDocument document, ISvgConverterProperties props)
             Converts a String containing valid SVG content to an  imagethat can then be used on the passedPdfDocument. | 
| static PdfFormXObject | SvgConverter. convertToXObject(InputStream stream, PdfDocument document)
             Converts a String containing valid SVG content to an  XObjectthat can then be used on the passedPdfDocument. | 
| static PdfFormXObject | SvgConverter. convertToXObject(InputStream stream, PdfDocument document, ISvgConverterProperties props)
             Converts a String containing valid SVG content to an  XObjectthat can then be used on the passedPdfDocument. | 
| static PdfFormXObject | SvgConverter. convertToXObject(ISvgNodeRenderer topSvgRenderer, PdfDocument document)
             This method draws a NodeRenderer tree to a canvas that is tied to the passed document. 
            | 
| static PdfFormXObject | SvgConverter. convertToXObject(String content, PdfDocument document)
             Converts a String containing valid SVG content to an  XObjectthat can then be used on the passedPdfDocument. | 
| static PdfFormXObject | SvgConverter. convertToXObject(String content, PdfDocument document, ISvgConverterProperties props)
             Converts a String containing valid SVG content to an  XObjectthat can then be used on the passedPdfDocument. | 
| static void | SvgConverter. 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 void | SvgConverter. 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 void | SvgConverter. 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 void | SvgConverter. 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 void | SvgConverter. 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 void | SvgConverter. 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 void | SvgConverter. 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 void | SvgConverter. 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. 
            | 
Copyright © 1998–2019 iText Group NV. All rights reserved.