public class PdfA2Checker extends PdfA1Checker
PdfA1Checker.
The specification implemented by this class is ISO 19005-2
| Modifier and Type | Field and Description |
|---|---|
protected static Set<PdfName> |
allowedBlendModes |
protected static Set<PdfName> |
forbiddenActions |
protected static Set<PdfName> |
forbiddenAnnotations |
allowedNamedActions, allowedRenderingIntents, contentAnnotationscheckedObjects, checkedObjectsColorspace, cmykIsUsed, conformanceLevel, grayIsUsed, gsStackDepth, ICC_COLOR_SPACE_CMYK, ICC_COLOR_SPACE_GRAY, ICC_COLOR_SPACE_RGB, ICC_DEVICE_CLASS_MONITOR_PROFILE, ICC_DEVICE_CLASS_OUTPUT_PROFILE, maxGsStackDepth, pdfAOutputIntentColorSpace, rgbIsUsed| Constructor and Description |
|---|
PdfA2Checker(PdfAConformanceLevel conformanceLevel)
Creates a PdfA2Checker with the required conformance level
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAnnotation(PdfDictionary annotDic) |
protected void |
checkAppearanceStream(PdfStream appearanceStream)
Check single annotation appearance stream.
|
protected void |
checkCatalogValidEntries(PdfDictionary catalogDict) |
void |
checkColor(Color color,
PdfDictionary currentColorSpaces,
Boolean fill,
PdfStream contentStream)
This method checks compliance with the color restrictions imposed by the
available color spaces in the document.
|
void |
checkColorSpace(PdfColorSpace colorSpace,
PdfDictionary currentColorSpaces,
boolean checkAlternate,
Boolean fill)
This method performs a range of checks on the given color space, depending
on the type and properties of that color space.
|
protected void |
checkColorsUsages() |
void |
checkExtGState(CanvasGraphicsState extGState,
PdfStream contentStream)
Performs a number of checks on the graphics state, among others ISO
19005-1 section 6.2.8 and 6.4 and ISO 19005-2 section 6.2.5 and 6.2.10.
|
protected void |
checkFileSpec(PdfDictionary fileSpec) |
void |
checkFontGlyphs(PdfFont font,
PdfStream contentStream)
Performs a check of the each font glyph as a Form XObject.
|
protected void |
checkForm(PdfDictionary form) |
protected void |
checkFormXObject(PdfStream form) |
protected void |
checkFormXObject(PdfStream form,
PdfStream contentStream) |
protected void |
checkImage(PdfStream image,
PdfDictionary currentColorSpaces) |
void |
checkInlineImage(PdfStream inlineImage,
PdfDictionary currentColorSpaces)
This method checks compliance with the inline image restrictions in the
PDF/A specs, specifically filter parameters.
|
protected void |
checkNonSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont) |
protected void |
checkOutputIntents(PdfDictionary catalog) |
protected void |
checkPageObject(PdfDictionary pageDict,
PdfDictionary pageResources) |
protected void |
checkPageSize(PdfDictionary page) |
protected void |
checkPageTransparency(PdfDictionary pageDict,
PdfDictionary pageResources) |
protected void |
checkPdfArray(PdfArray array) |
protected void |
checkPdfDictionary(PdfDictionary dictionary) |
protected void |
checkPdfStream(PdfStream stream) |
protected Set<PdfName> |
getAllowedNamedActions() |
protected Set<PdfName> |
getForbiddenActions() |
protected double |
getMaxRealValue()
Retrieve maximum allowed real value.
|
protected int |
getMaxStringLength() |
checkAction, checkCanvasStack, checkContentStream, checkContentStreamObject, checkFont, checkLogicalStructure, checkMetaData, checkPdfName, checkPdfNumber, checkPdfString, checkRenderingIntent, checkSymbolicTrueTypeFont, checkTrailer, checkXrefTable, getFormFields, getMaxIntegerValue, getMaxNameLength, getMaxNumberOfIndirectObjects, getMinIntegerValuecheckDocument, checkFlag, checkPdfObject, checkResources, checkResourcesOfAppearanceStreams, checkSinglePage, checkStructure, checkTagStructureElement, getConformanceLevel, isAlreadyChecked, isContainsTransparencyGroup, isFullCheckMode, objectIsChecked, setFullCheckModepublic PdfA2Checker(PdfAConformanceLevel conformanceLevel)
conformanceLevel - the required conformance level, a or
u or bpublic void checkInlineImage(PdfStream inlineImage, PdfDictionary currentColorSpaces)
PdfACheckercheckInlineImage in class PdfA1CheckerinlineImage - a PdfStream containing the inline imagecurrentColorSpaces - a PdfDictionary containing the color spaces used in the documentpublic void checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream)
PdfACheckercheckColor in class PdfA1Checkercolor - the color to checkcurrentColorSpaces - a PdfDictionary containing the color spaces used in the documentfill - whether the color is used for fill or stroke operationscontentStream - current content streampublic void checkColorSpace(PdfColorSpace colorSpace, PdfDictionary currentColorSpaces, boolean checkAlternate, Boolean fill)
PdfACheckercheckColorSpace in class PdfA1CheckercolorSpace - the color space to checkcurrentColorSpaces - a PdfDictionary containing the color spaces used in the documentcheckAlternate - whether or not to also check the parent color spacefill - whether the color space is used for fill or stroke operationspublic void checkExtGState(CanvasGraphicsState extGState, PdfStream contentStream)
PdfACheckercheckExtGState in class PdfA1CheckerextGState - the graphics state to be checkedcontentStream - current content streamprotected void checkNonSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont)
checkNonSymbolicTrueTypeFont in class PdfA1Checkerprotected double getMaxRealValue()
PdfA1CheckergetMaxRealValue in class PdfA1Checkerprotected int getMaxStringLength()
getMaxStringLength in class PdfA1Checkerprotected void checkPdfArray(PdfArray array)
checkPdfArray in class PdfA1Checkerprotected void checkPdfDictionary(PdfDictionary dictionary)
checkPdfDictionary in class PdfA1Checkerprotected void checkAnnotation(PdfDictionary annotDic)
checkAnnotation in class PdfA1Checkerprotected void checkAppearanceStream(PdfStream appearanceStream)
PdfACheckercheckAppearanceStream in class PdfACheckerappearanceStream - the PdfStream to checkprotected void checkForm(PdfDictionary form)
checkForm in class PdfA1Checkerprotected void checkCatalogValidEntries(PdfDictionary catalogDict)
checkCatalogValidEntries in class PdfA1Checkerprotected void checkPageSize(PdfDictionary page)
checkPageSize in class PdfA1Checkerprotected void checkFileSpec(PdfDictionary fileSpec)
checkFileSpec in class PdfA1Checkerprotected void checkPdfStream(PdfStream stream)
checkPdfStream in class PdfA1Checkerprotected void checkPageObject(PdfDictionary pageDict, PdfDictionary pageResources)
checkPageObject in class PdfA1Checkerprotected void checkPageTransparency(PdfDictionary pageDict, PdfDictionary pageResources)
checkPageTransparency in class PdfA1Checkerprotected void checkOutputIntents(PdfDictionary catalog)
checkOutputIntents in class PdfA1Checkerprotected Set<PdfName> getForbiddenActions()
getForbiddenActions in class PdfA1Checkerprotected Set<PdfName> getAllowedNamedActions()
getAllowedNamedActions in class PdfA1Checkerprotected void checkColorsUsages()
checkColorsUsages in class PdfA1Checkerprotected void checkImage(PdfStream image, PdfDictionary currentColorSpaces)
checkImage in class PdfA1Checkerpublic void checkFontGlyphs(PdfFont font, PdfStream contentStream)
PdfACheckercheckFontGlyphs in class PdfA1Checkerfont - PdfFont to be checkedcontentStream - stream containing checked fontprotected void checkFormXObject(PdfStream form)
checkFormXObject in class PdfA1CheckerCopyright © 1998–2022 iText Group NV. All rights reserved.