| Modifier and Type | Field and Description |
|---|---|
| private PreflightConfiguration | |
| private Integer | |
| private PreflightDocument | document
The PDFbox object representation of the PDF source. |
| private long | |
| private final Map | fontContainers
Contains the list of font name embedded in the PDF document. |
| private boolean | |
| private ICCProfileWrapper | iccProfileWrapper
This wrapper contains the ICCProfile used by the PDF file. |
| private XMPMetadata | metadata
MetaData of the current pdf file. |
| private final Set | |
| private PreflightPath | |
| private XrefTrailerResolver | xrefTrailerResolver
Contains all Xref/trailer objects and resolves them into single object using startxref reference. |
| Access | Constructor and Description |
|---|---|
| public | PreflightContext()
Create the DocumentHandler using the DataSource which represent the PDF file to check. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFontContainer(COSBase
the COSBase for the font container. cBase, FontContainer<?> the font container. fc)Add a FontContainer to allow TextObject validation. |
| public void | |
| public void | |
| public void | addValidationErrors(List<ValidationResult.
the list of validation errors. errorsAdd the given errors the PreflightDocument |
| public void | |
| public PreflightConfiguration | |
| public Integer | |
| public PreflightDocument | |
| public long | |
| public FontContainer | Returns: the font container.the COSBase for the font container cBase)Return the FontContainer identified by the COSBase. |
| public ICCProfileWrapper | |
| public XMPMetadata | |
| public PreflightPath | |
| public XrefTrailerResolver | |
| public boolean | |
| public boolean | Returns: true if in the set, false if not.Tell if the argument is in the set of processed elements. |
| public void | |
| public void | setCurrentPageNumber(Integer
zero based page number or null if none is known. currentPageNumber)Sets or resets the current page number. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| config | back to summary |
|---|---|
| private PreflightConfiguration config | |
| currentPageNumber | back to summary |
|---|---|
| private Integer currentPageNumber | |
| document | back to summary |
|---|---|
| private PreflightDocument document The PDFbox object representation of the PDF source. | |
| fileLen | back to summary |
|---|---|
| private long fileLen | |
| fontContainers | back to summary |
|---|---|
| private final Map<COSBase, FontContainer<?>> fontContainers Contains the list of font name embedded in the PDF document. | |
| iccProfileAlreadySearched | back to summary |
|---|---|
| private boolean iccProfileAlreadySearched | |
| iccProfileWrapper | back to summary |
|---|---|
| private ICCProfileWrapper iccProfileWrapper This wrapper contains the ICCProfile used by the PDF file. | |
| metadata | back to summary |
|---|---|
| private XMPMetadata metadata MetaData of the current pdf file. | |
| processedSet | back to summary |
|---|---|
| private final Set<COSObjectable> processedSet | |
| validationPath | back to summary |
|---|---|
| private PreflightPath validationPath | |
| xrefTrailerResolver | back to summary |
|---|---|
| private XrefTrailerResolver xrefTrailerResolver Contains all Xref/trailer objects and resolves them into single object using startxref reference. | |
| PreflightContext | back to summary |
|---|---|
| public PreflightContext() Create the DocumentHandler using the DataSource which represent the PDF file to check. | |
| PreflightContext | back to summary |
|---|---|
| public PreflightContext(PreflightConfiguration configuration) | |
| addFontContainer | back to summary |
|---|---|
| public void addFontContainer(COSBase cBase, FontContainer<?> fc) Add a FontContainer to allow TextObject validation.
| |
| addToProcessedSet | back to summary |
|---|---|
| public void addToProcessedSet(COSObjectable cos) Add the argument to the set of processed elements, | |
| addValidationError | back to summary |
|---|---|
| public void addValidationError(ValidationResult. Add the given error the PreflightDocument | |
| addValidationErrors | back to summary |
|---|---|
| public void addValidationErrors(List<ValidationResult. Add the given errors the PreflightDocument
| |
| close | back to summary |
|---|---|
| public void close() Implements java. Close all opened resources
| |
| getConfig | back to summary |
|---|---|
| public PreflightConfiguration getConfig() | |
| getCurrentPageNumber | back to summary |
|---|---|
| public Integer getCurrentPageNumber() Returns the current page number or null if none is known. | |
| getDocument | back to summary |
|---|---|
public PreflightDocument getDocument()
| |
| getFileLen | back to summary |
|---|---|
| public long getFileLen() | |
| getFontContainer | back to summary |
|---|---|
| public FontContainer Return the FontContainer identified by the COSBase. If the given object is missing from the
| |
| getIccProfileWrapper | back to summary |
|---|---|
public ICCProfileWrapper getIccProfileWrapper()
| |
| getMetadata | back to summary |
|---|---|
public XMPMetadata getMetadata()
| |
| getValidationPath | back to summary |
|---|---|
| public PreflightPath getValidationPath() | |
| getXrefTrailerResolver | back to summary |
|---|---|
| public XrefTrailerResolver getXrefTrailerResolver() | |
| isIccProfileAlreadySearched | back to summary |
|---|---|
| public boolean isIccProfileAlreadySearched() | |
| isInProcessedSet | back to summary |
|---|---|
| public boolean isInProcessedSet(COSObjectable cos) Tell if the argument is in the set of processed elements.
| |
| setConfig | back to summary |
|---|---|
| public void setConfig(PreflightConfiguration config) | |
| setCurrentPageNumber | back to summary |
|---|---|
| public void setCurrentPageNumber(Integer currentPageNumber) Sets or resets the current page number.
| |
| setDocument | back to summary |
|---|---|
| public void setDocument(PreflightDocument document) Initialize the PDFBox object which present the PDF File. | |
| setFileLen | back to summary |
|---|---|
| public void setFileLen(long fileLen) | |
| setIccProfileAlreadySearched | back to summary |
|---|---|
| public void setIccProfileAlreadySearched(boolean iccProfileAlreadySearched) | |
| setIccProfileWrapper | back to summary |
|---|---|
public void setIccProfileWrapper(ICCProfileWrapper iccProfileWrapper)
| |
| setMetadata | back to summary |
|---|---|
public void setMetadata(XMPMetadata metadata)
| |
| setValidationPath | back to summary |
|---|---|
| public void setValidationPath(PreflightPath validationPath) | |
| setXrefTrailerResolver | back to summary |
|---|---|
| public void setXrefTrailerResolver(XrefTrailerResolver xrefTrailerResolver) | |