Uses of Class
com.itextpdf.kernel.pdf.PdfDocument
-
-
Uses of PdfDocument in com.itextpdf.barcodes
Fields in com.itextpdf.barcodes declared as PdfDocument Modifier and Type Field Description protected PdfDocument
Barcode1D. document
Methods in com.itextpdf.barcodes with parameters of type PdfDocument Modifier and Type Method Description PdfFormXObject
Barcode1D. createFormXObject(Color barColor, Color textColor, PdfDocument document)
Creates a PdfFormXObject with the barcode.PdfFormXObject
Barcode1D. createFormXObject(PdfDocument document)
Creates a PdfFormXObject with the barcode.abstract PdfFormXObject
Barcode2D. createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.PdfFormXObject
Barcode2D. createFormXObject(PdfDocument document)
Creates a PdfFormXObject with the barcode.PdfFormXObject
BarcodeDataMatrix. createFormXObject(Color foreground, float moduleSide, PdfDocument document)
Creates a PdfFormXObject with the barcode with given module width and module height.PdfFormXObject
BarcodeDataMatrix. createFormXObject(Color foreground, 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
BarcodePDF417. createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.PdfFormXObject
BarcodeQRCode. createFormXObject(Color foreground, float moduleSize, PdfDocument document)
Creates a PdfFormXObject with the barcode.PdfFormXObject
BarcodeQRCode. createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.Constructors in com.itextpdf.barcodes with parameters of type PdfDocument Constructor Description Barcode128(PdfDocument document)
Creates new Barcode128.Barcode128(PdfDocument document, PdfFont font)
Creates new Barcode128, which will use the provided fontBarcode1D(PdfDocument document)
Creates newBarcode1D
instance.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 newBarcodePostnet
instance. -
Uses of PdfDocument in com.itextpdf.forms
Fields in com.itextpdf.forms declared as PdfDocument Modifier and Type Field Description protected PdfDocument
PdfAcroForm. document
The PdfDocument to which the PdfAcroForm belongs.private PdfDocument
PdfPageFormCopier. documentFrom
private PdfDocument
PdfPageFormCopier. documentTo
Methods in com.itextpdf.forms that return PdfDocument Modifier and Type Method Description PdfDocument
PdfAcroForm. getPdfDocument()
Gets thePdfDocument
thisPdfAcroForm
belongs to.Methods in com.itextpdf.forms with parameters of type PdfDocument Modifier and Type Method Description private PdfFormField
PdfPageFormCopier. createParentFieldCopy(PdfDictionary fieldDict, PdfDocument pdfDoc)
static PdfAcroForm
PdfAcroForm. getAcroForm(PdfDocument document, boolean createIfNotExist)
Retrieves AcroForm from the document.static PdfAcroForm
PdfAcroForm. getAcroForm(PdfDocument document, boolean createIfNotExist, OnDuplicateFormFieldNameStrategy onDuplicateFieldNameStrategy)
Retrieves AcroForm from the document.private static PdfFormField
PdfPageFormCopier. getParentField(PdfDictionary parent, PdfDocument pdfDoc)
void
PdfPageFormCopier. recreateAcroformToProcessCopiedFields(PdfDocument documentTo)
Constructors in com.itextpdf.forms with parameters of type PdfDocument Constructor Description PdfAcroForm(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 PdfDocument Modifier and Type Field Description private PdfDocument
FormFieldBuilder. document
Document to be used for form field creation.Methods in com.itextpdf.forms.fields that return PdfDocument Modifier and Type Method Description PdfDocument
AbstractPdfFormField. getDocument()
Gets thePdfDocument
that owns that form field.PdfDocument
FormFieldBuilder. getDocument()
Gets document to be used for form field creation.Methods in com.itextpdf.forms.fields with parameters of type PdfDocument Modifier and Type Method Description static PdfButtonFormField
PdfFormCreator. createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a button form field as a parent of aPdfWidgetAnnotation
using provided factory.static PdfButtonFormField
PdfFormCreator. createButtonFormField(PdfDocument document)
Create a minimal, emptyPdfButtonFormField
using provided factory.PdfButtonFormField
PdfFormFactory. createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a button form field as a parent of aPdfWidgetAnnotation
.PdfButtonFormField
PdfFormFactory. createButtonFormField(PdfDocument document)
Create a minimal, emptyPdfButtonFormField
.static PdfChoiceFormField
PdfFormCreator. createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a choice form field as a parent of aPdfWidgetAnnotation
using provided factory.static PdfChoiceFormField
PdfFormCreator. createChoiceFormField(PdfDocument document)
Create a minimal, emptyPdfChoiceFormField
using provided factory.PdfChoiceFormField
PdfFormFactory. createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a choice form field as a parent of aPdfWidgetAnnotation
.PdfChoiceFormField
PdfFormFactory. createChoiceFormField(PdfDocument document)
Create a minimal, emptyPdfChoiceFormField
.static PdfFormAnnotation
PdfFormCreator. createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
using provided factory.PdfFormAnnotation
PdfFormFactory. createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
.static PdfFormField
PdfFormCreator. createFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field as a parent of aPdfWidgetAnnotation
using provided factory.static PdfFormField
PdfFormCreator. createFormField(PdfDocument document)
Create a minimal, emptyPdfFormField
using provided factory.PdfFormField
PdfFormFactory. createFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field as a parent of aPdfWidgetAnnotation
.PdfFormField
PdfFormFactory. createFormField(PdfDocument document)
Create a minimal, emptyPdfFormField
.static PdfSignatureFormField
PdfFormCreator. createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a signature form field as a parent of aPdfWidgetAnnotation
using provided factory.static PdfSignatureFormField
PdfFormCreator. createSignatureFormField(PdfDocument document)
Create a minimal, emptyPdfSignatureFormField
using provided factory.PdfSignatureFormField
PdfFormFactory. createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a signature form field as a parent of aPdfWidgetAnnotation
.PdfSignatureFormField
PdfFormFactory. createSignatureFormField(PdfDocument document)
Create a minimal, emptyPdfSignatureFormField
.static PdfTextFormField
PdfFormCreator. createTextFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a text form field as a parent of aPdfWidgetAnnotation
using provided factory.static PdfTextFormField
PdfFormCreator. createTextFormField(PdfDocument document)
Create a minimal, emptyPdfTextFormField
using provided factory.PdfTextFormField
PdfFormFactory. createTextFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a text form field as a parent of aPdfWidgetAnnotation
.PdfTextFormField
PdfFormFactory. createTextFormField(PdfDocument document)
Create a minimal, emptyPdfTextFormField
.static PdfAcroForm
PdfFormCreator. getAcroForm(PdfDocument document, boolean createIfNotExist)
Retrieves AcroForm from the document using provided factory.PdfAcroForm
PdfFormFactory. getAcroForm(PdfDocument document, boolean createIfNotExist)
Retrieves AcroForm from the document.static PdfFormAnnotation
PdfFormAnnotation. makeFormAnnotation(PdfObject pdfObject, PdfDocument document)
Creates aPdfFormAnnotation
object.static PdfFormField
PdfFormField. makeFormField(PdfObject pdfObject, PdfDocument document)
Creates a (subtype of)PdfFormField
object.static AbstractPdfFormField
PdfFormField. makeFormFieldOrAnnotation(PdfObject pdfObject, PdfDocument document)
Constructors in com.itextpdf.forms.fields with parameters of type PdfDocument Constructor Description CheckBoxFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder forPdfButtonFormField
creation.ChoiceFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder forPdfChoiceFormField
creation.FormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder forPdfFormField
creation.NonTerminalFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder for non-terminalPdfFormField
creation.PdfButtonFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a button form field as a parent of aPdfWidgetAnnotation
.PdfButtonFormField(PdfDocument pdfDocument)
Creates a minimalPdfButtonFormField
.PdfChoiceFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a choice form field as a parent of aPdfWidgetAnnotation
.PdfChoiceFormField(PdfDocument pdfDocument)
Creates a minimalPdfChoiceFormField
.PdfFormAnnotation(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
.PdfFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a form field as a parent of aPdfWidgetAnnotation
.PdfFormField(PdfDocument pdfDocument)
Creates a minimalPdfFormField
.PdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a signature form field as a parent of aPdfWidgetAnnotation
.PdfSignatureFormField(PdfDocument pdfDocument)
Creates a minimalPdfSignatureFormField
.PdfTextFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a text form field as a parent of aPdfWidgetAnnotation
.PdfTextFormField(PdfDocument pdfDocument)
Creates a minimalPdfTextFormField
.PushButtonFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder forPdfButtonFormField
creation.RadioFormFieldBuilder(PdfDocument document, java.lang.String radioGroupFormFieldName)
Creates builder for radio form field creation.SignatureFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder forPdfSignatureFormField
creation.TerminalFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder for terminal form field creation.TextFormFieldBuilder(PdfDocument document, java.lang.String formFieldName)
Creates builder forPdfTextFormField
creation. -
Uses of PdfDocument in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer with parameters of type PdfDocument Modifier and Type Method Description protected void
AbstractFormFieldRenderer. applyAccessibilityProperties(PdfFormField formField, PdfDocument pdfDocument)
Applies the accessibility properties to the form field.protected void
AbstractSelectFieldRenderer. applyAccessibilityProperties(PdfFormField formField, PdfDocument pdfDocument)
Applies the accessibility properties to the form field.protected PdfAConformanceLevel
AbstractFormFieldRenderer. getConformanceLevel(PdfDocument document)
Deprecated.since 8.0.4 will returnIConformanceLevel
protected PdfAConformanceLevel
AbstractSelectFieldRenderer. getConformanceLevel(PdfDocument document)
Deprecated.since 8.0.4 will be returnIConformanceLevel
protected IConformanceLevel
AbstractFormFieldRenderer. getGenericConformanceLevel(PdfDocument document)
Deprecated.since 8.0.4 will be renamed to getConformanceLevel()protected IConformanceLevel
AbstractSelectFieldRenderer. getGenericConformanceLevel(PdfDocument document)
Deprecated.since 8.0.4 will be renamed to getConformanceLevel()protected void
AbstractFormFieldRenderer. writeAcroFormFieldLangAttribute(PdfDocument pdfDoc)
Sets the form accessibility language identifier of the form element in case the document is tagged.protected void
AbstractSelectFieldRenderer. 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 PdfDocument Modifier and Type Method Description private static PdfObject
XfaForm. getXfaObject(PdfDocument pdfDocument)
Return the XFA Object, could be an array, could be a Stream.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 providedPdfDocument
.Constructors in com.itextpdf.forms.xfa with parameters of type PdfDocument Constructor Description XfaForm(PdfDocument pdfDocument)
A constructor from aPdfDocument
. -
Uses of PdfDocument in com.itextpdf.forms.xfdf
Methods in com.itextpdf.forms.xfdf with parameters of type PdfDocument Modifier and Type Method Description private static void
XfdfObjectFactory. addAnnotations(PdfDocument pdfDoc, XfdfObject resultXfdf)
private void
XfdfReader. addAnnotationToPdf(AnnotObject annotObject, PdfDocument pdfDocument)
XfdfObject
XfdfObjectFactory. createXfdfObject(PdfDocument document, java.lang.String filename)
Extracts data from pdf document acroform and annotations into XfdfObject.private void
XfdfReader. mergeAnnotations(AnnotsObject annotsObject, PdfDocument pdfDocument)
Merges existing XfdfObject into pdf document associated with it.void
XfdfObject. mergeToPdf(PdfDocument pdfDocument, java.lang.String pdfDocumentName)
Merges info from XfdfObject to pdf document.(package private) void
XfdfReader. mergeXfdfIntoPdf(XfdfObject xfdfObject, PdfDocument pdfDocument, java.lang.String pdfDocumentName)
Merges existing XfdfObject into pdf document associated with it.private void
XfdfReader. setInReplyTo(PdfDocument pdfDocument)
-
Uses of PdfDocument in com.itextpdf.kernel.actions.events
Fields in com.itextpdf.kernel.actions.events with type parameters of type PdfDocument Modifier and Type Field Description private java.lang.ref.WeakReference<PdfDocument>
FlushPdfDocumentEvent. document
private java.lang.ref.WeakReference<PdfDocument>
LinkDocumentIdEvent. document
Constructors in com.itextpdf.kernel.actions.events with parameters of type PdfDocument Constructor Description FlushPdfDocumentEvent(PdfDocument document)
Creates a new instance of the flushing event.LinkDocumentIdEvent(PdfDocument document, AbstractIdentifiableElement identifiableElement)
Creates a new instance of the event associating providedPdfDocument
with the appropriateAbstractIdentifiableElement
.LinkDocumentIdEvent(PdfDocument document, SequenceId sequenceId)
Creates a new instance of the event associating providedPdfDocument
with the appropriateSequenceId
. -
Uses of PdfDocument in com.itextpdf.kernel.colors.gradients
Methods in com.itextpdf.kernel.colors.gradients with parameters of type PdfDocument Modifier and Type Method Description Color
AbstractLinearGradientBuilder. buildColor(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document)
Builds theColor
object representing the linear gradient with specified configuration that fills the target bounding box. -
Uses of PdfDocument in com.itextpdf.kernel.events
Fields in com.itextpdf.kernel.events declared as PdfDocument Modifier and Type Field Description private PdfDocument
PdfDocumentEvent. document
The PdfDocument associated with this event.Methods in com.itextpdf.kernel.events that return PdfDocument Modifier and Type Method Description PdfDocument
PdfDocumentEvent. getDocument()
Returns the PdfDocument associated with this event.Constructors in com.itextpdf.kernel.events with parameters of type PdfDocument Constructor Description PdfDocumentEvent(java.lang.String type, PdfDocument document)
Creates a PdfDocumentEvent. -
Uses of PdfDocument in com.itextpdf.kernel.font
Methods in com.itextpdf.kernel.font that return PdfDocument Modifier and Type Method Description protected PdfDocument
PdfType3Font. getDocument()
Methods in com.itextpdf.kernel.font with parameters of type PdfDocument Modifier and Type Method Description static PdfFont
PdfFontFactory. createFont(java.lang.String fontProgram, java.lang.String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, PdfDocument cacheTo)
Creates aPdfFont
instance by the path of the font program file and given encoding and place it inside thePdfDocument
.static PdfFont
PdfFontFactory. createFont(java.lang.String fontProgram, java.lang.String encoding, PdfDocument cacheTo)
Creates aPdfFont
instance by the path of the font program file and given encoding and place it inside thePdfDocument
.static PdfType3Font
PdfFontFactory. createType3Font(PdfDocument document, boolean colorized)
Creates a new instance ofPdfType3Font
static PdfType3Font
PdfFontFactory. createType3Font(PdfDocument document, java.lang.String fontName, java.lang.String fontFamily, boolean colorized)
Creates a new instance ofPdfType3Font
Constructors in com.itextpdf.kernel.font with parameters of type PdfDocument Constructor Description PdfType3Font(PdfDocument document, boolean colorized)
Creates a Type 3 font.PdfType3Font(PdfDocument document, java.lang.String fontName, java.lang.String fontFamily, boolean colorized)
Creates a Type 3 font.Type3Glyph(PdfDocument pdfDocument, float wx, float llx, float lly, float urx, float ury, boolean isColor)
Creates a Type3Glyph canvas with a new Content Stream.Type3Glyph(PdfStream pdfStream, PdfDocument document)
Creates a Type3Glyph canvas with a non-empty Content Stream. -
Uses of PdfDocument in com.itextpdf.kernel.pdf
Fields in com.itextpdf.kernel.pdf declared as PdfDocument Modifier and Type Field Description private PdfDocument
EncryptedEmbeddedStreamsHandler. document
protected PdfDocument
PdfOutputStream. document
Document associated with PdfOutputStream.private PdfDocument
PdfPagesTree. document
private PdfDocument
DestinationResolverCopyFilter. fromDocument
private PdfDocument
GenericNameTree. pdfDoc
private PdfDocument
PageFlushingHelper. pdfDoc
private PdfDocument
PdfOutline. pdfDoc
protected PdfDocument
PdfIndirectReference. pdfDocument
PdfDocument object belongs to.protected PdfDocument
PdfReader. pdfDocument
private PdfDocument
DestinationResolverCopyFilter. targetDocument
Methods in com.itextpdf.kernel.pdf that return PdfDocument Modifier and Type Method Description PdfDocument
PdfCatalog. getDocument()
GetPdfDocument
with indirect reference associated with the object.PdfDocument
PdfIndirectReference. getDocument()
PdfDocument
PdfPage. getDocument()
Gets thePdfDocument
that owns that page, ornull
if such document isn't exist.PdfDocument
PdfDocument. setTagged()
Specifies that document shall contain tag structure.Methods in com.itextpdf.kernel.pdf with parameters of type PdfDocument Modifier and Type Method Description PdfName
PdfResources. addFont(PdfDocument pdfDocument, PdfFont font)
Adds font to resources and registers PdfFont in the document for further flushing.private static void
OcgPropertiesCopier. attemptToAddObjectToArray(java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfObject fromObj, PdfArray toArray, PdfDocument toDocument)
private void
PdfDocument. cloneOutlines(java.util.Set<PdfOutline> outlinesToCopy, PdfOutline newParent, PdfOutline oldParent, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument toDocument)
This method copies create new outlines in the Document to copy.private void
PdfPage. copyAnnotations(PdfDocument toDocument, PdfPage page, ICopyFilter copyFilter)
PdfFormXObject
PdfPage. copyAsFormXObject(PdfDocument toDocument)
Copies page as FormXObject to the specified document.protected void
PdfArray. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfBoolean. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfDictionary. copyContent(PdfObject from, PdfDocument document)
Copies object content from object 'from'.protected void
PdfDictionary. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
Copies object content from object 'from'.protected void
PdfIndirectReference. copyContent(PdfObject from, PdfDocument document)
protected void
PdfIndirectReference. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfLiteral. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfName. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfNull. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfNumber. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfObject. copyContent(PdfObject from, PdfDocument document)
Copies object content from object 'from'.protected void
PdfObject. copyContent(PdfObject from, PdfDocument document, ICopyFilter filter)
Copies object content from object 'from'.protected void
PdfPrimitiveObject. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfStream. copyContent(PdfObject from, PdfDocument document)
protected void
PdfStream. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
protected void
PdfString. copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
private static void
OcgPropertiesCopier. copyDArrayField(PdfName fieldToCopy, java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary fromDict, PdfDictionary toDict, PdfDocument toDocument)
private static void
OcgPropertiesCopier. copyDDictionary(java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary fromDDict, PdfDictionary toOcProperties, PdfDocument toDocument)
(package private) PdfDestination
PdfCatalog. copyDestination(PdfObject dest, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument toDocument)
private void
PdfPage. copyInheritedProperties(PdfPage copyPdfPage, PdfDocument pdfDocument, ICopyFilter copyFilter)
protected PdfObject
PdfWriter. copyObject(PdfObject obj, PdfDocument documentTo, boolean allowDuplicating)
Copies a PdfObject either stand alone or as part of the PdfDocument passed as documentTo.protected PdfObject
PdfWriter. 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 void
OcgPropertiesCopier. copyOCGProperties(PdfDocument fromDocument, PdfDocument toDocument, java.util.Map<PdfPage,PdfPage> page2page)
private static void
OcgPropertiesCopier. copyOCGs(java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary toOcProperties, PdfDocument toDocument)
private void
PdfDocument. copyOutlines(java.util.Set<PdfOutline> outlines, PdfDocument toDocument, java.util.Map<PdfPage,PdfPage> page2page)
This method copies all given outlinesjava.util.List<PdfPage>
PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument)
Copies a range of pages from current document totoDocument
appending copied pages to the end.java.util.List<PdfPage>
PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage)
Copies a range of pages from current document totoDocument
.java.util.List<PdfPage>
PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier)
Copies a range of pages from current document totoDocument
.java.util.List<PdfPage>
PdfDocument. copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocument, IPdfPageExtraCopier copier)
Copies a range of pages from current document totoDocument
appending copied pages to the end.java.util.List<PdfPage>
PdfDocument. copyPagesTo(java.util.List<java.lang.Integer> pagesToCopy, PdfDocument toDocument)
Copies a range of pages from current document totoDocument
appending copied pages to the end.java.util.List<PdfPage>
PdfDocument. copyPagesTo(java.util.List<java.lang.Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage)
Copies a range of pages from current document totoDocument
.java.util.List<PdfPage>
PdfDocument. copyPagesTo(java.util.List<java.lang.Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier)
Copies a range of pages from current document totoDocument
.java.util.List<PdfPage>
PdfDocument. copyPagesTo(java.util.List<java.lang.Integer> pagesToCopy, PdfDocument toDocument, IPdfPageExtraCopier copier)
Copies a range of pages from current document totoDocument
appending copied pages to the end.PdfDictionary
PdfDictionary. copyTo(PdfDocument document, java.util.List<PdfName> excludeKeys, boolean allowDuplicating)
Copies dictionary to specified document.PdfDictionary
PdfDictionary. copyTo(PdfDocument document, java.util.List<PdfName> excludeKeys, boolean allowDuplicating, ICopyFilter copyFilter)
Copies dictionary to specified document.PdfObject
PdfObject. copyTo(PdfDocument document)
Copies object to a specified document.PdfObject
PdfObject. copyTo(PdfDocument document, boolean allowDuplicating)
Copies object to a specified document.PdfObject
PdfObject. copyTo(PdfDocument document, boolean allowDuplicating, ICopyFilter copyFilter)
Copies object to a specified document.PdfObject
PdfObject. copyTo(PdfDocument document, ICopyFilter copyFilter)
Copies object to a specified document.PdfPage
PdfPage. copyTo(PdfDocument toDocument)
Copies page to the specified document.PdfPage
PdfPage. copyTo(PdfDocument toDocument, IPdfPageExtraCopier copier)
Copies page to the specified document.PdfPage
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 PdfPage
PdfPage. copyTo(PdfPage page, PdfDocument toDocument, IPdfPageExtraCopier copier)
(package private) PdfIndirectReference
PdfXrefTable. createNewIndirectReference(PdfDocument document)
Method is used for object streams to avoid reuse existed references.protected PdfIndirectReference
PdfXrefTable. createNextIndirectReference(PdfDocument document)
Creates next available indirect reference.PdfPage
IPdfPageFactory. createPdfPage(PdfDocument pdfDocument, PageSize pageSize)
CreatePdfPage
with given page size and add it to thePdfDocument
.PdfPage
PdfPageFactory. createPdfPage(PdfDocument pdfDocument, PageSize pageSize)
private java.util.List<java.lang.Integer>
PdfXrefTable. createSections(PdfDocument document, boolean dropObjectsFromObjectStream)
void
PdfDocument. flushCopiedObjects(PdfDocument sourceDoc)
Flush all copied objects and remove them from copied cache.static PdfAConformanceLevel
PdfAConformanceLevel. getPDFAConformance(IConformanceLevel possibleConformance, PdfDocument document)
Deprecated.since 8.0.4 Will be removed in next major releaseprivate void
PageFlushingHelper. initCurrentLayers(PdfDocument pdfDoc)
(package private) void
PdfXrefTable. initFreeReferencesList(PdfDocument pdfDocument)
Set up appropriate state for the free references list.private boolean
PdfCatalog. isEqualSameNameDestExist(java.util.Map<PdfPage,PdfPage> page2page, PdfDocument toDocument, PdfString srcDestName, PdfArray srcDestArray, PdfPage oldPage)
PdfObject
PdfObject. makeIndirect(PdfDocument document)
Marks object 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)
Marks object behind wrapper 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)
private static boolean
OcgPropertiesCopier. orderBranchContainsSetElements(PdfObject arrayObj, PdfArray array, int currentIndex, java.util.Set<PdfIndirectReference> ocgs, PdfArray toOcgs, PdfDocument toDocument)
(package private) PdfObject
PdfObject. processCopying(PdfDocument documentTo, boolean allowDuplicating)
Processes two cases of object copying: copying to the other document cloning inside of the current document(package private) PdfObject
PdfObject. processCopying(PdfDocument documentTo, boolean allowDuplicating, ICopyFilter filter)
Processes two cases of object copying: copying to the other document cloning inside of the current documentprivate void
PdfPage. rebuildFormFieldParent(PdfDictionary field, PdfDictionary newField, PdfDocument toDocument)
void
IPdfPageFormCopier. recreateAcroformToProcessCopiedFields(PdfDocument documentTo)
Create Acroform from its PDF object to process form field objects added to the Acroform during copying.private void
PdfDocument. resolveDestinations(PdfDocument toDocument, java.util.Map<PdfPage,PdfPage> page2page)
static boolean
VersionConforming. validatePdfVersionForDeprecatedFeatureLogError(PdfDocument document, PdfVersion expectedVersion, java.lang.String deprecatedFeatureLogMessage)
static boolean
VersionConforming. validatePdfVersionForDeprecatedFeatureLogWarn(PdfDocument document, PdfVersion expectedVersion, java.lang.String deprecatedFeatureLogMessage)
static boolean
VersionConforming. validatePdfVersionForDictEntry(PdfDocument document, PdfVersion expectedVersion, PdfName entryKey, PdfName dictType)
protected static void
PdfXrefTable. writeKeyInfo(PdfDocument document)
Convenience method to write the fingerprint preceding the trailer.protected void
PdfXrefTable. 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 PdfDocument Modifier and Type Method Description protected void
GenericNameTree. addEntry(PdfString key, PdfObject value, java.util.function.Consumer<PdfDocument> onErrorAction)
Add an entry to the name tree.Constructors in com.itextpdf.kernel.pdf with parameters of type PdfDocument Constructor Description 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.EncryptedEmbeddedStreamsHandler(PdfDocument document)
CreatesEncryptedEmbeddedStreamsHandler
instance.GenericNameTree(PdfDocument pdfDoc)
Creates a name tree structure in the current document.PageFlushingHelper(PdfDocument pdfDoc)
PdfCatalog(PdfDocument pdfDocument)
CreatePdfCatalog
toPdfDocument
.PdfDocumentInfo(PdfDictionary pdfObject, PdfDocument pdfDocument)
Create a PdfDocumentInfo based on the passed PdfDictionary.PdfDocumentInfo(PdfDocument pdfDocument)
Create a default, empty PdfDocumentInfo and link it to the passed PdfDocumentPdfIndirectReference(PdfDocument doc, int objNr)
PdfIndirectReference(PdfDocument doc, int objNr, int genNr)
PdfIndirectReference(PdfDocument doc, int objNr, int genNr, long offset)
PdfObjectStream(PdfDocument doc)
PdfObjectStream(PdfDocument doc, java.io.OutputStream outputStream)
PdfOutline(PdfDocument doc)
This constructor creates root outline in the document.PdfOutline(java.lang.String title, PdfDictionary content, PdfDocument pdfDocument)
Create instance of document outline.PdfPage(PdfDocument pdfDocument)
PdfPage(PdfDocument pdfDocument, PageSize pageSize)
PdfPages(int from, PdfDocument pdfDocument)
PdfPages(int from, PdfDocument pdfDocument, PdfPages parent)
PdfStream(PdfDocument doc, java.io.InputStream inputStream)
Creates an efficient stream.PdfStream(PdfDocument doc, java.io.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 PdfDocument Modifier and Type Method 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. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.annot
Constructors in com.itextpdf.kernel.pdf.annot with parameters of type PdfDocument Constructor Description PdfSoundAnnotation(PdfDocument document, Rectangle rect, java.io.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 PdfDocument Modifier and Type Field Description protected PdfDocument
PdfCanvas. document
the document that the resulting content stream of this canvas will be written to.Methods in com.itextpdf.kernel.pdf.canvas that return PdfDocument Modifier and Type Method Description PdfDocument
PdfCanvas. getDocument()
Get the document this canvas belongs toMethods in com.itextpdf.kernel.pdf.canvas with parameters of type PdfDocument Modifier and Type Method Description (package private) void
CanvasGraphicsState. 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 PdfDocument Constructor Description PdfCanvas(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 PdfDocument Modifier and Type Field Description private PdfDocument
PdfDocumentContentParser. pdfDocument
Constructors in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfDocument Constructor Description PdfDocumentContentParser(PdfDocument pdfDocument)
-
Uses of PdfDocument in com.itextpdf.kernel.pdf.canvas.wmf
Methods in com.itextpdf.kernel.pdf.canvas.wmf with parameters of type PdfDocument Modifier and Type Method Description PdfXObject
WmfImageHelper. createFormXObject(PdfDocument document)
Create a PdfXObject based on the WMF image. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.filespec
Methods in com.itextpdf.kernel.pdf.filespec with parameters of type PdfDocument Modifier and Type Method 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, java.io.InputStream is, PdfEncryptedPayload encryptedPayload)
Embed a encrypted payload to a PdfDocument.static PdfFileSpec
PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, java.io.InputStream is, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
Embed a encrypted payload to a PdfDocument.static PdfFileSpec
PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, java.io.InputStream is, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
Embed a encrypted payload to a PdfDocument.static PdfFileSpec
PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, java.lang.String filePath, PdfEncryptedPayload encryptedPayload)
Embed a encrypted payload to a PdfDocument.static PdfFileSpec
PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, java.lang.String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
Embed a encrypted payload to a PdfDocument.static PdfFileSpec
PdfEncryptedPayloadFileSpecFactory. create(PdfDocument doc, java.lang.String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
Embed a encrypted payload to a PdfDocument.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, java.lang.String fileDisplay, PdfDictionary fileParameter, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, java.lang.String fileDisplay, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, java.lang.String description, java.lang.String fileDisplay, PdfDictionary fileParameter, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, java.lang.String description, java.lang.String fileDisplay, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, byte[] fileStore, java.lang.String description, java.lang.String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue)
Create an embedded file specification.private static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, java.lang.String description, java.lang.String fileDisplay, PdfName afRelationshipValue)
Create an embedded file specification.private static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, java.lang.String description, java.lang.String fileDisplay, PdfName mimeType, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, java.io.InputStream is, java.lang.String description, java.lang.String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, java.io.InputStream is, java.lang.String description, java.lang.String fileDisplay, PdfName mimeType, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, java.lang.String filePath, java.lang.String fileDisplay, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, java.lang.String filePath, java.lang.String description, java.lang.String fileDisplay, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, java.lang.String filePath, java.lang.String description, java.lang.String fileDisplay, PdfName mimeType, PdfDictionary fileParameter, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, java.lang.String filePath, java.lang.String description, java.lang.String fileDisplay, PdfName mimeType, PdfName afRelationshipValue)
Create an embedded file specification.static PdfFileSpec
PdfFileSpec. createExternalFileSpec(PdfDocument doc, java.lang.String filePath)
Create an external file specification.static PdfFileSpec
PdfFileSpec. createExternalFileSpec(PdfDocument doc, java.lang.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 PdfDocument Modifier and Type Method Description protected PdfDocument
PdfLayer. getDocument()
Gets thePdfDocument
that owns that layer.protected PdfDocument
PdfLayerMembership. getDocument()
Gets thePdfDocument
that owns that layer membership.protected PdfDocument
PdfOCProperties. getDocument()
Gets thePdfDocument
that owns that OCProperties.Methods in com.itextpdf.kernel.pdf.layer with parameters of type PdfDocument Modifier and Type Method Description static void
PdfLayer. addOCGRadioGroup(PdfDocument document, java.util.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(java.lang.String title, PdfDocument document)
Creates a title layer.protected static PdfLayer
PdfLayer. createTitleSilent(java.lang.String title, PdfDocument document)
Creates a title layer without registering it in PdfOCProperties.Constructors in com.itextpdf.kernel.pdf.layer with parameters of type PdfDocument Constructor Description PdfLayer(PdfDocument document)
PdfLayer(java.lang.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. -
Uses of PdfDocument in com.itextpdf.kernel.pdf.tagging
Fields in com.itextpdf.kernel.pdf.tagging declared as PdfDocument Modifier and Type Field Description private PdfDocument
PdfStructTreeRoot. document
private PdfDocument
StructureTreeCopier.StructElemCopyingParams. toDocument
Methods in com.itextpdf.kernel.pdf.tagging that return PdfDocument Modifier and Type Method Description private PdfDocument
PdfStructElem. getDocEnsureIndirectForKids()
protected PdfDocument
PdfStructElem. getDocument()
PdfDocument
PdfStructTreeRoot. getDocument()
PdfDocument
StructureTreeCopier.StructElemCopyingParams. getToDocument()
Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfDocument Modifier and Type Method Description private static void
StructureTreeCopier. cloneParents(PdfDictionary structElem, StructureTreeCopier.LastClonedAncestor lastCloned, PdfDocument document)
private static StructureTreeCopier.CopyStructureResult
StructureTreeCopier. copyStructure(PdfDocument destDocument, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument)
void
PdfStructTreeRoot. copyTo(PdfDocument destDocument, int insertBeforePage, java.util.Map<PdfPage,PdfPage> page2page)
Copies structure to adestDocument
and insert it in a specified position in the document.void
PdfStructTreeRoot. copyTo(PdfDocument destDocument, java.util.Map<PdfPage,PdfPage> page2page)
Copies structure to adestDocument
.static void
StructureTreeCopier. copyTo(PdfDocument destDocument, int insertBeforePage, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument callingDocument)
Copies structure to adestDocument
and insert it in a specified position in the document.private static void
StructureTreeCopier. copyTo(PdfDocument destDocument, int insertBeforePage, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument)
static void
StructureTreeCopier. copyTo(PdfDocument destDocument, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument callingDocument)
Copies structure to adestDocument
.private static void
StructureTreeCopier. copyTo(PdfDocument destDocument, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument)
Copies structure to adestDocument
.private static void
StructureTreeCopier. copyTo(PdfDocument destDocument, java.util.Map<PdfPage,PdfPage> page2page, PdfDocument callingDocument, boolean copyFromDestDocument, int insertIndex)
PdfMcr
PdfStructTreeRoot. findMcrByMcid(PdfDocument document, int mcid)
static void
StructureTreeCopier. move(PdfDocument document, PdfPage from, int insertBefore)
Move tag structure of page to other place in the same document(package private) static PdfStructIdTree
PdfStructIdTree. readFromDictionary(PdfDocument pdfDoc, PdfDictionary dict)
Parse a structure element ID tree into its in-memory representation.private static void
StructureTreeCopier. separateKids(PdfDictionary structElem, java.util.Set<PdfObject> firstPartElems, StructureTreeCopier.LastClonedAncestor lastCloned, PdfDocument document)
private static int
StructureTreeCopier. separateStructure(PdfDocument document, int beforePage)
private static int
StructureTreeCopier. separateStructure(PdfDocument document, int startPage, int beforePage, int startPageStructTopIndex)
Constructors in com.itextpdf.kernel.pdf.tagging with parameters of type PdfDocument Constructor Description PdfStructElem(PdfDocument document, PdfName role)
PdfStructElem(PdfDocument document, PdfName role, PdfAnnotation annot)
PdfStructElem(PdfDocument document, PdfName role, PdfPage page)
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(java.util.Set<PdfObject> objectsToCopy, PdfDocument toDocument, java.util.Map<PdfDictionary,PdfDictionary> page2page, boolean copyFromDestDocument)
-
Uses of PdfDocument in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as PdfDocument Modifier and Type Field Description private PdfDocument
RootTagNormalizer. document
private PdfDocument
TagStructureContext. document
Methods in com.itextpdf.kernel.pdf.tagutils that return PdfDocument Modifier and Type Method Description (package private) PdfDocument
TagStructureContext. getDocument()
PdfDocument
TagTreePointer. getDocument()
Constructors in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfDocument Constructor Description RoleMappingResolver(java.lang.String role, PdfDocument document)
RoleMappingResolverPdf2(java.lang.String role, PdfNamespace namespace, PdfDocument document)
RootTagNormalizer(TagStructureContext context, PdfStructElem rootTagElement, PdfDocument document)
TagStructureContext(PdfDocument document)
Do not use this constructor, instead usegetTagStructureContext()
method.TagStructureContext(PdfDocument document, PdfVersion tagStructureTargetVersion)
Do not use this constructor, instead usegetTagStructureContext()
method.TagTreePointer(PdfDocument document)
CreatesTagTreePointer
instance.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 PdfDocument Modifier and Type Method Description PdfImageXObject
PdfImageXObject. copyTo(PdfDocument document)
Copy Image XObject to the specified document.Constructors in com.itextpdf.kernel.pdf.xobject with parameters of type PdfDocument Constructor Description PdfFormXObject(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 PdfDocument Modifier and Type Field Description protected PdfDocument
TaggedPdfReaderTool. document
private PdfDocument
PdfMerger. pdfDocument
private PdfDocument
PdfSplitter. pdfDocument
private PdfDocument
ValidationContext. PdfDocument
Fields in com.itextpdf.kernel.utils with type parameters of type PdfDocument Modifier and Type Field Description private java.util.List<PdfDocument>
PdfSplitter.SplitReadyListener. splitDocuments
Methods in com.itextpdf.kernel.utils that return PdfDocument Modifier and Type Method Description private PdfDocument
PdfSplitter. createPdfDocument(PageRange currentPageRange)
PdfDocument
PdfSplitter. extractPageRange(PageRange pageRange)
Extracts the specified page ranges from a document.PdfDocument
PdfSplitter. getPdfDocument()
Gets the document to be split.PdfDocument
ValidationContext. getPdfDocument()
GetsPdfDocument
related to thisValidationContext
.private PdfDocument
PdfSplitter. splitByOutline(java.lang.String outlineTitle)
Methods in com.itextpdf.kernel.utils that return types with arguments of type PdfDocument Modifier and Type Method Description java.util.List<PdfDocument>
PdfSplitter. extractPageRanges(java.util.List<PageRange> pageRanges)
Extracts the specified page ranges from a document.java.util.List<PdfDocument>
PdfSplitter. splitByOutlines(java.util.List<java.lang.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 ) .java.util.List<PdfDocument>
PdfSplitter. splitByPageCount(int pageCount)
Splits a document into smaller documents with no more than @pageCount pages each.java.util.List<PdfDocument>
PdfSplitter. splitByPageNumbers(java.util.List<java.lang.Integer> pageNumbers)
Splits the document by page numbers.java.util.List<PdfDocument>
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 PdfDocument Modifier and Type Method 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.private void
CompareTool. compareDocumentsEncryption(PdfDocument outDocument, PdfDocument cmpDocument, CompareTool.CompareResult compareResult)
private boolean
CompareTool. compareLinkAnnotations(PdfLinkAnnotation cmpLink, PdfLinkAnnotation outLink, PdfDocument cmpDocument, PdfDocument outDocument)
private static PdfDictionary
PdfScriptMerger. copyECMAScriptActionsDictionary(PdfDocument destination, PdfDictionary actions)
void
PdfSplitter.IDocumentReadyListener. documentReady(PdfDocument pdfDocument, PageRange pageRange)
Performs some action in case document is ready, e.g.void
PdfSplitter.SplitReadyListener. documentReady(PdfDocument pdfDocument, PageRange pageRange)
java.util.List<PdfAnnotation>
PdfAnnotationFlattener. flatten(PdfDocument document)
Flattens the annotations on the page according to the defined implementation ofIAnnotationFlattener
.private java.util.List<PdfLinkAnnotation>
CompareTool. getLinkAnnotations(int pageNum, PdfDocument document)
private void
CompareTool. loadPagesFromReader(PdfDocument doc, java.util.List<PdfDictionary> pages, java.util.List<PdfIndirectReference> pagesRef)
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, java.util.List<java.lang.Integer> pages)
This method merges pages from the source document to the current one.PdfMerger
PdfMerger. merge(PdfDocument from, java.util.List<java.lang.Integer> pages, IPdfPageExtraCopier copier)
This method merges pages from the source document to the current one.static void
PdfScriptMerger. mergeAdditionalActionsScripts(PdfDocument source, PdfDocument destination)
Copies AA catalog entry ECMA scripts, it only copies first action in chainstatic void
PdfScriptMerger. mergeNamesScripts(PdfDocument source, PdfDocument destination)
Copies ECMA scripts from Names catalog entrystatic void
PdfScriptMerger. mergeOpenActionsScripts(PdfDocument source, PdfDocument destination)
Copies open actions catalog entry ECMA scripts, it only copies first action in chainstatic void
PdfScriptMerger. 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 entriesValidationContext
ValidationContext. withPdfDocument(PdfDocument pdfDocument)
SetsPdfDocument
for thisValidationContext
instance.Constructors in com.itextpdf.kernel.utils with parameters of type PdfDocument Constructor Description PdfMerger(PdfDocument pdfDocument)
This class is used to merge a number of existing documents into one.PdfMerger(PdfDocument pdfDocument, boolean mergeTags, boolean mergeOutlines)
Deprecated.usePdfMerger(PdfDocument, PdfMergerProperties)
constructorPdfMerger(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 aTaggedPdfReaderTool
via a givenPdfDocument
.Constructor parameters in com.itextpdf.kernel.utils with type arguments of type PdfDocument Constructor Description SplitReadyListener(java.util.List<PdfDocument> splitDocuments)
-
Uses of PdfDocument in com.itextpdf.kernel.utils.objectpathitems
Fields in com.itextpdf.kernel.utils.objectpathitems declared as PdfDocument Modifier and Type Field Description private PdfDocument
TrailerPath. cmpDocument
private PdfDocument
TrailerPath. outDocument
Methods in com.itextpdf.kernel.utils.objectpathitems that return PdfDocument Modifier and Type Method Description PdfDocument
TrailerPath. getCmpDocument()
Method returns current cmpPdfDocument
object.PdfDocument
TrailerPath. getOutDocument()
Method returns current outPdfDocument
object.Constructors in com.itextpdf.kernel.utils.objectpathitems with parameters of type PdfDocument Constructor Description TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc)
Creates newTrailerPath
instance with corresponding base objects in two documents.TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc, java.util.Stack<LocalPathItem> path)
Creates newTrailerPath
instance with corresponding base objects in two documents. -
Uses of PdfDocument in com.itextpdf.layout
Fields in com.itextpdf.layout declared as PdfDocument Modifier and Type Field Description protected PdfDocument
RootElement. pdfDocument
Methods in com.itextpdf.layout that return PdfDocument Modifier and Type Method Description PdfDocument
Canvas. getPdfDocument()
Gets thePdfDocument
for this canvas.PdfDocument
Document. getPdfDocument()
Gets PDF document.Methods in com.itextpdf.layout with parameters of type PdfDocument Modifier and Type Method Description private static void
RootElement. traverseAndCallIso(PdfDocument pdfDocument, IRenderer renderer)
Constructors in com.itextpdf.layout with parameters of type PdfDocument Constructor Description Canvas(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 aPdfDocument
with a manually setPageSize
.Document(PdfDocument pdfDoc, PageSize pageSize, boolean immediateFlush)
Creates a document from aPdfDocument
with a manually setPageSize
. -
Uses of PdfDocument in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as PdfDocument Modifier and Type Field Description private PdfDocument
DrawContext. document
Methods in com.itextpdf.layout.renderer that return PdfDocument Modifier and Type Method Description PdfDocument
DrawContext. getDocument()
Get pdf document.(package private) PdfDocument
AbstractRenderer. getPdfDocument()
Gets pdf document from root renderers.Methods in com.itextpdf.layout.renderer with parameters of type PdfDocument Modifier and Type Method Description protected void
AbstractRenderer. applyAction(PdfDocument document)
protected void
AbstractRenderer. applyDestination(PdfDocument document)
protected void
AbstractRenderer. applyLinkAnnotation(PdfDocument document)
static PdfFormXObject
AbstractRenderer. createXObject(AbstractLinearGradientBuilder linearGradientBuilder, Rectangle xObjectArea, PdfDocument document)
Create aPdfFormXObject
with the given area and containing a linear gradient inside.private static PdfStructElem
AbstractRenderer. getCurrentStructElem(PdfDocument document)
protected PdfFont
BlockRenderer. getResolvedFont(PdfDocument pdfDocument)
Get the font set in properties, if it is not set, then resolves the firstPdfFont
fromFontProvider
.(package private) void
RootRenderer. linkRenderToDocument(IRenderer renderer, PdfDocument pdfDocument)
Constructors in com.itextpdf.layout.renderer with parameters of type PdfDocument Constructor Description DrawContext(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 PdfDocument Modifier and Type Field Description private PdfDocument
LayoutTaggingHelper. document
Methods in com.itextpdf.layout.tagging that return PdfDocument Modifier and Type Method Description PdfDocument
LayoutTaggingHelper. getPdfDocument()
Constructors in com.itextpdf.layout.tagging with parameters of type PdfDocument Constructor Description LayoutTaggingHelper(PdfDocument document, boolean immediateFlush)
-
Uses of PdfDocument in com.itextpdf.pdfa
Subclasses of PdfDocument in com.itextpdf.pdfa Modifier and Type Class Description class
PdfAAgnosticPdfDocument
This class extendsPdfADocument
and serves asPdfADocument
for PDF/A compliant documents and asPdfDocument
for non PDF/A documents.class
PdfADocument
This class extendsPdfDocument
and is in charge of creating files that comply with the PDF/A standard.Methods in com.itextpdf.pdfa with parameters of type PdfDocument Modifier and Type Method Description PdfPage
PdfAPageFactory. createPdfPage(PdfDocument pdfDocument, PageSize pageSize)
Constructors in com.itextpdf.pdfa with parameters of type PdfDocument Constructor Description PdfAPage(PdfDocument pdfDocument, PageSize pageSize)
-
Uses of PdfDocument in com.itextpdf.pdfa.checker
Methods in com.itextpdf.pdfa.checker with parameters of type PdfDocument Modifier and Type Method Description private void
PdfAChecker. checkPages(PdfDocument document)
-
Uses of PdfDocument in com.itextpdf.pdfua
Subclasses of PdfDocument in com.itextpdf.pdfua Modifier and Type Class Description class
PdfUADocument
Creates a Pdf/UA document.Methods in com.itextpdf.pdfua with parameters of type PdfDocument Modifier and Type Method Description PdfPage
PdfUAPageFactory. createPdfPage(PdfDocument pdfDocument, PageSize pageSize)
Constructors in com.itextpdf.pdfua with parameters of type PdfDocument Constructor Description PdfUAPage(PdfDocument pdfDocument, PageSize pageSize)
-
Uses of PdfDocument in com.itextpdf.pdfua.checkers
Fields in com.itextpdf.pdfua.checkers declared as PdfDocument Modifier and Type Field Description private PdfDocument
PdfUA1Checker. pdfDocument
Constructors in com.itextpdf.pdfua.checkers with parameters of type PdfDocument Constructor Description PdfUA1Checker(PdfDocument pdfDocument)
Creates PdfUA1Checker instance with PDF document which will be validated against PDF/UA-1 standard. -
Uses of PdfDocument in com.itextpdf.pdfua.checkers.utils
Fields in com.itextpdf.pdfua.checkers.utils declared as PdfDocument Modifier and Type Field Description private PdfDocument
PdfUAValidationContext. pdfDocument
Methods in com.itextpdf.pdfua.checkers.utils with parameters of type PdfDocument Modifier and Type Method Description static void
XfaCheckUtil. check(PdfDocument pdfDocument)
Checks XFA form of the document if exists.Constructors in com.itextpdf.pdfua.checkers.utils with parameters of type PdfDocument Constructor Description PdfUAValidationContext(PdfDocument pdfDocument)
Creates a new instance ofPdfUAValidationContext
. -
Uses of PdfDocument in com.itextpdf.signatures
Fields in com.itextpdf.signatures declared as PdfDocument Modifier and Type Field Description private PdfDocument
LtvVerification. document
protected PdfDocument
LtvVerifier. document
Deprecated.A document object for the revision that is being verified.private PdfDocument
PdfSignatureAppearance. document
The document to be signed.protected PdfDocument
PdfSigner. document
The PdfDocument.private PdfDocument
PdfSigner.SignatureApplier. document
private PdfDocument
SignatureUtil. document
Methods in com.itextpdf.signatures that return PdfDocument Modifier and Type Method Description PdfDocument
PdfSigner. getDocument()
Gets the PdfDocument associated with this instance.protected PdfDocument
PdfSigner. initDocument(PdfReader reader, PdfWriter writer, StampingProperties properties)
Initialize newPdfDocument
instance by using provided parameters.Methods in com.itextpdf.signatures with parameters of type PdfDocument Modifier and Type Method Description static void
PdfTwoPhaseSigner. addSignatureToPreparedDocument(PdfDocument document, java.lang.String fieldName, java.io.OutputStream outs, byte[] signedContent)
Adds an existing signature to a PDF where space was already reserved.static void
PdfTwoPhaseSigner. addSignatureToPreparedDocument(PdfDocument document, java.lang.String fieldName, java.io.OutputStream outs, CMSContainer cmsContainer)
Adds an existing signature to a PDF where space was already reserved.protected void
LtvVerifier. initLtvVerifier(PdfDocument document)
Deprecated.InitializeLtvVerifier
object by using provided document.(package private) void
PdfPadesSigner. performLtvVerification(PdfDocument pdfDocument, java.util.List<java.lang.String> signatureNames, LtvVerification.RevocationDataNecessity revocationDataNecessity)
(package private) void
PdfPadesSigner. performTimestamping(PdfDocument document, java.io.OutputStream outputStream, ITSAClient tsaClient)
protected void
PdfSigner. setDocument(PdfDocument document)
Sets the PdfDocument.static void
PdfSigner. signDeferred(PdfDocument document, java.lang.String fieldName, java.io.OutputStream outs, IExternalSignatureContainer externalSignatureContainer)
Signs a PDF where space was already reserved.Constructors in com.itextpdf.signatures with parameters of type PdfDocument Constructor Description ContentsChecker(IRandomAccessSource byteSource, PdfDocument doc)
LtvVerification(PdfDocument document)
The verification constructor.LtvVerification(PdfDocument document, java.lang.String securityProviderCode)
The verification constructor.LtvVerifier(PdfDocument document)
Deprecated.Creates a VerificationData object for a PdfReaderLtvVerifier(PdfDocument document, java.lang.String securityProviderCode)
Deprecated.CreateLtvVerifier
class instance from thePdfDocument
and security provider code.PdfSignatureAppearance(PdfDocument document, Rectangle pageRect, int pageNumber)
Creates a PdfSignatureAppearance.PdfSigner(PdfDocument document, java.io.OutputStream outputStream, java.io.ByteArrayOutputStream temporaryOS, java.io.File tempFile)
SignatureApplier(PdfDocument document, java.lang.String fieldName, java.io.OutputStream outs)
SignatureUtil(PdfDocument document)
Creates a SignatureUtil instance. -
Uses of PdfDocument in com.itextpdf.signatures.validation.v1
Fields in com.itextpdf.signatures.validation.v1 declared as PdfDocument Modifier and Type Field Description private PdfDocument
SignatureValidator. originalDocument
Methods in com.itextpdf.signatures.validation.v1 with parameters of type PdfDocument Modifier and Type Method Description SignatureValidator
ValidatorChainBuilder. buildSignatureValidator(PdfDocument document)
Create a newSignatureValidator
instance with the current configuration.private boolean
DocumentRevisionsValidator. checkAllowedReferences(java.util.Set<PdfIndirectReference> currentAllowedReferences, java.util.Set<PdfIndirectReference> previousAllowedReferences, PdfIndirectReference indirectReference, PdfDocument documentWithoutRevision)
private boolean
DocumentRevisionsValidator. compareAcroFormsWithFieldMDP(PdfDocument documentWithoutRevision, PdfDocument documentWithRevision, ValidationReport report)
private boolean
DocumentRevisionsValidator. compareCatalogs(PdfDocument documentWithoutRevision, PdfDocument documentWithRevision, ValidationReport report, ValidationContext context)
private java.util.Set<PdfIndirectReference>
DocumentRevisionsValidator. createAllowedDssEntries(PdfDocument document)
private java.util.Set<PdfIndirectReference>
DocumentRevisionsValidator. createAllowedReferences(PdfDocument document)
private boolean
DocumentRevisionsValidator. createDocumentAndPerformOperation(DocumentRevision revision, PdfDocument originalDocument, ValidationReport report, java.util.function.Function<PdfDocument,java.lang.Boolean> operation)
private static java.io.InputStream
DocumentRevisionsValidator. createInputStreamFromRevision(PdfDocument originalDocument, DocumentRevision revision)
private java.util.List<java.security.cert.Certificate>
SignatureValidator. getCertificatesFromDss(ValidationReport validationReport, PdfDocument document)
private boolean
DocumentRevisionsValidator. isAllowedStreamObj(PdfIndirectReference indirectReference, PdfDocument document)
private static boolean
DocumentRevisionsValidator. isLinearizedPdf(PdfDocument originalDocument)
private void
DocumentRevisionsValidator. lockAllFormFields(DocumentRevision revision, java.util.List<java.lang.String> excludedFields, PdfDocument originalDocument, ValidationReport report)
private PdfPKCS7
SignatureValidator. mathematicallyVerifySignature(ValidationReport validationReport, PdfDocument document)
private void
SignatureValidator. retrieveCrlResponsesFromDss(ValidationReport validationReport, ValidationContext context, PdfDocument document)
private void
SignatureValidator. retrieveOcspResponsesFromDss(ValidationReport validationReport, ValidationContext context, PdfDocument document)
private boolean
DocumentRevisionsValidator. revisionContainsSignature(DocumentRevision revision, java.lang.String signature, PdfDocument originalDocument, ValidationReport report)
private void
DocumentRevisionsValidator. updateApprovalSignatureFieldLock(DocumentRevision revision, PdfDictionary signatureField, PdfDocument document, ValidationReport report)
private void
SignatureValidator. updateValidationClients(PdfPKCS7 pkcs7, ValidationReport validationReport, ValidationContext validationContext, PdfDocument document)
ValidationReport
DocumentRevisionsValidator. validateAllDocumentRevisions(ValidationContext context, PdfDocument document)
Validate all document revisions according to docMDP and fieldMDP transform methods.(package private) ValidationReport
SignatureValidator. validateLatestSignature(PdfDocument document)
(package private) void
DocumentRevisionsValidator. validateRevision(DocumentRevision previousRevision, DocumentRevision currentRevision, PdfDocument originalDocument, ValidationReport validationReport, ValidationContext context)
private boolean
DocumentRevisionsValidator. validateRevision(ValidationReport validationReport, ValidationContext context, PdfDocument documentWithoutRevision, PdfDocument documentWithRevision, DocumentRevision currentRevision)
Method parameters in com.itextpdf.signatures.validation.v1 with type arguments of type PdfDocument Modifier and Type Method Description private boolean
DocumentRevisionsValidator. createDocumentAndPerformOperation(DocumentRevision revision, PdfDocument originalDocument, ValidationReport report, java.util.function.Function<PdfDocument,java.lang.Boolean> operation)
Constructors in com.itextpdf.signatures.validation.v1 with parameters of type PdfDocument Constructor Description SignatureValidator(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 PdfDocument Modifier and Type Method Description static Image
SvgConverter. convertToImage(java.io.InputStream stream, PdfDocument document)
Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static Image
SvgConverter. convertToImage(java.io.InputStream stream, PdfDocument document, ISvgConverterProperties props)
Converts a String containing valid SVG content to animage
that can then be used on the passedPdfDocument
.private static PdfFormXObject
SvgConverter. convertToXObject(ISvgProcessorResult processorResult, PdfDocument document, ISvgConverterProperties props)
static PdfFormXObject
SvgConverter. convertToXObject(ISvgNodeRenderer topSvgRenderer, PdfDocument document)
This method draws a NodeRenderer tree to a canvas that is tied to the passed document.private static PdfFormXObject
SvgConverter. convertToXObject(ISvgNodeRenderer topSvgRenderer, PdfDocument document, SvgDrawContext context)
This method draws a NodeRenderer tree to a canvas that is tied to the passed document.static PdfFormXObject
SvgConverter. convertToXObject(java.io.InputStream stream, PdfDocument document)
Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static PdfFormXObject
SvgConverter. convertToXObject(java.io.InputStream stream, PdfDocument document, ISvgConverterProperties props)
Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static PdfFormXObject
SvgConverter. convertToXObject(java.lang.String content, PdfDocument document)
Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static PdfFormXObject
SvgConverter. convertToXObject(java.lang.String content, PdfDocument document, ISvgConverterProperties props)
Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static void
SvgConverter. drawOnDocument(java.io.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(java.io.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(java.io.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(java.io.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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. -
Uses of PdfDocument in com.itextpdf.svg.element
Methods in com.itextpdf.svg.element with parameters of type PdfDocument Modifier and Type Method Description void
SvgImage. generate(PdfDocument document)
Draws SVG image to a canvas-like object maintained in theSvgDrawContext
. -
Uses of PdfDocument in com.itextpdf.svg.xobject
Methods in com.itextpdf.svg.xobject with parameters of type PdfDocument Modifier and Type Method Description void
SvgImageXObject. generate(PdfDocument document)
Processes xObject before first image generation to avoid drawing it twice or more.
-