public class PdfADocument extends PdfDocument
PdfDocument and is in charge of creating files
that comply with the PDF/A standard.
Client code is still responsible for making sure the file is actually PDF/A
compliant: multiple steps must be undertaken (depending on the
PdfConformance) to ensure that the PDF/A standard is followed.
This class will throw exceptions, mostly PdfAConformanceException,
and thus refuse to output a PDF/A file if at any point the document does not
adhere to the PDF/A guidelines specified by the PdfConformance.
catalog, closed, closeReader, closeWriter, defaultFontStrategy, documentInfoHelper, fingerPrint, flushUnusedObjects, isClosing, pdfConformance, pdfPageFactory, pdfVersion, properties, reader, serializeOptions, structParentIndex, structTreeRoot, tagStructureContext, trailer, writer| Constructor and Description |
|---|
PdfADocument(PdfReader reader,
PdfWriter writer)
Opens a PDF/A document in the stamping mode.
|
PdfADocument(PdfReader reader,
PdfWriter writer,
StampingProperties properties)
Opens a PDF/A document in stamping mode.
|
PdfADocument(PdfWriter writer,
PdfAConformance aConformance,
PdfOutputIntent outputIntent)
Constructs a new PdfADocument for writing purposes, i.e.
|
PdfADocument(PdfWriter writer,
PdfAConformance aConformance,
PdfOutputIntent outputIntent,
DocumentProperties properties)
Constructs a new PdfADocument for writing purposes, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static PdfAChecker |
getCorrectCheckerFromConformance(PdfAConformance aConformance)
Gets correct
PdfAChecker for specified PDF/A conformance. |
addAssociatedFile, addEventHandler, addFileAttachment, addFont, addNamedDestination, addNamedDestination, addNewPage, addNewPage, addNewPage, addNewPage, addOutputIntent, addPage, addPage, checkAndAddPage, checkAndAddPage, checkClosingStatus, checkIsoConformance, close, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, copyPagesTo, createNextIndirectReference, dispatchEvent, findFont, flushCopiedObjects, flushFonts, flushObject, getAssociatedFiles, getCatalog, getConformance, getDefaultFont, getDefaultPageSize, getDiContainer, getDocumentFonts, getDocumentId, getDocumentIdWrapper, getDocumentInfo, getEncryptedPayloadDocument, getFingerPrint, getFirstPage, getFont, getLastPage, getMemoryLimitsAwareHandler, getModifiedDocumentId, getNextStructParentIndex, getNumberOfPages, getNumberOfPdfObjects, getOriginalDocumentId, getOutlines, getPage, getPage, getPageFactory, getPageLabels, getPageNumber, getPageNumber, getPdfObject, getPdfVersion, getReader, getSerializeOptions, getStructTreeRoot, getTagStructureContext, getTrailer, getWriter, getXmpMetadata, getXmpMetadata, getXmpMetadataBytes, getXmpMetadataBytes, hasEventHandler, hasOutlines, initializeOutlines, initTagStructureContext, isAppendMode, isClosed, isCloseReader, isCloseWriter, isClosing, isFlushUnusedObjects, isTagged, listIndirectReferences, markStreamAsEmbeddedFile, movePage, movePage, open, registerProduct, removeAllHandlers, removeEventHandler, removePage, removePage, setCloseReader, setCloseWriter, setDefaultPageSize, setEncryptedPayload, setFlushUnusedObjects, setSerializeOptions, setTagged, setUserProperties, setXmpMetadata, setXmpMetadata, setXmpMetadata, storeDestinationToReaddress, tryInitTagStructure, updateDefaultXmpMetadata, updateXmpMetadatapublic PdfADocument(PdfWriter writer, PdfAConformance aConformance, PdfOutputIntent outputIntent)
writer - the PdfWriter object to write toaConformance - the generation and strictness level of the PDF/A that must be followed.outputIntent - a PdfOutputIntentpublic PdfADocument(PdfWriter writer, PdfAConformance aConformance, PdfOutputIntent outputIntent, DocumentProperties properties)
writer - the PdfWriter object to write toaConformance - the generation and strictness level of the PDF/A that must be followed.outputIntent - a PdfOutputIntentproperties - a DocumentPropertiespublic PdfADocument(PdfReader reader, PdfWriter writer)
reader - PDF reader.writer - PDF writer.public PdfADocument(PdfReader reader, PdfWriter writer, StampingProperties properties)
reader - PDF reader.writer - PDF writer.properties - properties of the stamping processpublic static PdfAChecker getCorrectCheckerFromConformance(PdfAConformance aConformance)
PdfAChecker for specified PDF/A conformance.aConformance - the conformance for which checker is neededCopyright © 1998–2025 Apryse Group NV. All rights reserved.