Package com.itextpdf.pdfa
Class PdfAAgnosticPdfDocument
java.lang.Object
com.itextpdf.kernel.pdf.PdfDocument
com.itextpdf.pdfa.PdfADocument
com.itextpdf.pdfa.PdfAAgnosticPdfDocument
- All Implemented Interfaces:
-
IEventDispatcher
,Closeable
,AutoCloseable
This class extends
PdfADocument
and serves as PdfADocument
for PDF/A compliant documents and as PdfDocument
for non PDF/A documents.
This class can throw various exceptions like PdfException
as well as PdfAConformanceException
for PDF/A documents.
-
Field Summary
Fields inherited from class com.itextpdf.pdfa.PdfADocument
checker
Fields inherited from class com.itextpdf.kernel.pdf.PdfDocument
catalog, closed, closeReader, closeWriter, eventDispatcher, fingerPrint, flushUnusedObjects, info, isClosing, pdfVersion, properties, reader, serializeOptions, structParentIndex, structTreeRoot, tagStructureContext, trailer, writer, xmpMetadata
-
Constructor Summary
ConstructorDescriptionPdfAAgnosticPdfDocument
(PdfReader reader, PdfWriter writer) Opens a PDF/A document in stamping mode.PdfAAgnosticPdfDocument
(PdfReader reader, PdfWriter writer, StampingProperties properties) Opens a PDF/A document in stamping mode. -
Method Summary
Methods inherited from class com.itextpdf.pdfa.PdfADocument
addCustomMetadataExtensions, checkIsoConformance, checkIsoConformance, checkIsoConformance, flushFonts, flushObject, getConformanceLevel, getPageFactory, initTagStructureContext, setChecker, updateXmpMetadata
Methods inherited from class com.itextpdf.kernel.pdf.PdfDocument
addAssociatedFile, addEventHandler, addFileAttachment, addFont, addNamedDestination, addNewPage, addNewPage, addNewPage, addNewPage, addOutputIntent, addPage, addPage, checkAndAddPage, checkAndAddPage, checkClosingStatus, checkShowTextIsoConformance, close, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, createNextIndirectReference, dispatchEvent, dispatchEvent, findFont, flushCopiedObjects, getAssociatedFiles, getCatalog, getDefaultFont, getDefaultPageSize, getDocumentFonts, getDocumentId, getDocumentIdWrapper, getDocumentInfo, getEncryptedPayloadDocument, getFingerPrint, getFirstPage, getFont, getLastPage, getModifiedDocumentId, getNextStructParentIndex, getNumberOfPages, getNumberOfPdfObjects, getOriginalDocumentId, getOutlines, getPage, getPage, getPageLabels, getPageNumber, getPageNumber, getPdfObject, getPdfVersion, getReader, getSerializeOptions, getStructTreeRoot, getTagStructureContext, getTrailer, getWriter, getXmpMetadata, getXmpMetadata, hasEventHandler, hasOutlines, initializeOutlines, isAppendMode, isClosed, isCloseReader, isCloseWriter, isFlushUnusedObjects, isTagged, listIndirectReferences, markObjectAsMustBeFlushed, markStreamAsEmbeddedFile, movePage, movePage, open, registerProduct, removeAllHandlers, removeEventHandler, removePage, removePage, setCloseReader, setCloseWriter, setDefaultPageSize, setEncryptedPayload, setFlushUnusedObjects, setSerializeOptions, setTagged, setUserProperties, setXmpMetadata, setXmpMetadata, setXmpMetadata, storeDestinationToReaddress, storeLinkAnnotation, tryInitTagStructure, updateDefaultXmpMetadata
-
Constructor Details
-
PdfAAgnosticPdfDocument
Opens a PDF/A document in stamping mode. -
PdfAAgnosticPdfDocument
Opens a PDF/A document in stamping mode.- Parameters:
-
reader
- thePdfReader
-
writer
- thePdfWriter
object to write to -
properties
-StampingProperties
of the stamping process
-