public class PdfA1Checker extends PdfAChecker
PdfAChecker class.
The specification implemented by this class is ISO 19005-1
| Modifier and Type | Field and Description |
|---|---|
protected static Set<com.itextpdf.kernel.pdf.PdfName> |
allowedNamedActions |
protected static Set<com.itextpdf.kernel.pdf.PdfName> |
allowedRenderingIntents |
protected static Set<com.itextpdf.kernel.pdf.PdfName> |
contentAnnotations |
protected static Set<com.itextpdf.kernel.pdf.PdfName> |
forbiddenActions |
protected static Set<com.itextpdf.kernel.pdf.PdfName> |
forbiddenAnnotations |
checkedObjects, 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 |
|---|
PdfA1Checker(com.itextpdf.kernel.pdf.PdfAConformanceLevel conformanceLevel)
Creates a PdfA1Checker with the required conformance level
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAction(com.itextpdf.kernel.pdf.PdfDictionary action) |
protected void |
checkAnnotation(com.itextpdf.kernel.pdf.PdfDictionary annotDic) |
void |
checkCanvasStack(char stackOperation)
This method checks compliance with the graphics state architectural
limitation, explained by
PdfAChecker.maxGsStackDepth. |
protected void |
checkCatalogValidEntries(com.itextpdf.kernel.pdf.PdfDictionary catalogDict) |
void |
checkColor(com.itextpdf.kernel.colors.Color color,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces,
Boolean fill)
This method checks compliance with the color restrictions imposed by the
available color spaces in the document.
|
void |
checkColorSpace(com.itextpdf.kernel.pdf.colorspace.PdfColorSpace colorSpace,
com.itextpdf.kernel.pdf.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(com.itextpdf.kernel.pdf.canvas.CanvasGraphicsState extGState)
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(com.itextpdf.kernel.pdf.PdfDictionary fileSpec) |
void |
checkFont(com.itextpdf.kernel.font.PdfFont pdfFont)
Performs a number of checks on the font.
|
protected void |
checkForm(com.itextpdf.kernel.pdf.PdfDictionary form) |
protected void |
checkFormXObject(com.itextpdf.kernel.pdf.PdfStream form) |
protected void |
checkImage(com.itextpdf.kernel.pdf.PdfStream image,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces) |
void |
checkInlineImage(com.itextpdf.kernel.pdf.PdfStream inlineImage,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces)
This method checks compliance with the inline image restrictions in the
PDF/A specs, specifically filter parameters.
|
protected void |
checkLogicalStructure(com.itextpdf.kernel.pdf.PdfDictionary catalog) |
protected void |
checkMetaData(com.itextpdf.kernel.pdf.PdfDictionary catalog) |
protected void |
checkNonSymbolicTrueTypeFont(com.itextpdf.kernel.font.PdfTrueTypeFont trueTypeFont) |
protected void |
checkOutputIntents(com.itextpdf.kernel.pdf.PdfDictionary catalog) |
protected void |
checkPageObject(com.itextpdf.kernel.pdf.PdfDictionary pageDict,
com.itextpdf.kernel.pdf.PdfDictionary pageResources) |
protected void |
checkPageSize(com.itextpdf.kernel.pdf.PdfDictionary page) |
protected void |
checkPdfNumber(com.itextpdf.kernel.pdf.PdfNumber number) |
protected void |
checkPdfStream(com.itextpdf.kernel.pdf.PdfStream stream) |
protected void |
checkPdfString(com.itextpdf.kernel.pdf.PdfString string) |
void |
checkRenderingIntent(com.itextpdf.kernel.pdf.PdfName intent)
Checks whether the rendering intent of the document is within the allowed
range of intents.
|
protected void |
checkSymbolicTrueTypeFont(com.itextpdf.kernel.font.PdfTrueTypeFont trueTypeFont) |
protected void |
checkTrailer(com.itextpdf.kernel.pdf.PdfDictionary trailer) |
protected Set<com.itextpdf.kernel.pdf.PdfName> |
getAllowedNamedActions() |
protected Set<com.itextpdf.kernel.pdf.PdfName> |
getForbiddenActions() |
protected com.itextpdf.kernel.pdf.PdfArray |
getFormFields(com.itextpdf.kernel.pdf.PdfArray array) |
protected double |
getMaxRealValue() |
protected int |
getMaxStringLength() |
checkDocument, checkFlag, checkPdfObject, checkResources, checkResourcesOfAppearanceStreams, checkSinglePage, checkStructure, checkTagStructureElement, getConformanceLevel, isAlreadyChecked, objectIsCheckedprotected static final Set<com.itextpdf.kernel.pdf.PdfName> forbiddenAnnotations
protected static final Set<com.itextpdf.kernel.pdf.PdfName> contentAnnotations
protected static final Set<com.itextpdf.kernel.pdf.PdfName> forbiddenActions
protected static final Set<com.itextpdf.kernel.pdf.PdfName> allowedNamedActions
protected static final Set<com.itextpdf.kernel.pdf.PdfName> allowedRenderingIntents
public PdfA1Checker(com.itextpdf.kernel.pdf.PdfAConformanceLevel conformanceLevel)
conformanceLevel - the required conformance level, a or
bpublic void checkCanvasStack(char stackOperation)
PdfACheckerPdfAChecker.maxGsStackDepth.checkCanvasStack in class PdfACheckerstackOperation - the operation to check the graphics state counter forpublic void checkInlineImage(com.itextpdf.kernel.pdf.PdfStream inlineImage,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces)
PdfACheckercheckInlineImage in class PdfACheckerinlineImage - a PdfStream containing the inline imagecurrentColorSpaces - a PdfDictionary containing the color spaces used in the documentpublic void checkColor(com.itextpdf.kernel.colors.Color color,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces,
Boolean fill)
PdfACheckercheckColor in class PdfACheckercolor - the color to checkcurrentColorSpaces - a PdfDictionary containing the color spaces used in the documentfill - whether the color is used for fill or stroke operationspublic void checkColorSpace(com.itextpdf.kernel.pdf.colorspace.PdfColorSpace colorSpace,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces,
boolean checkAlternate,
Boolean fill)
PdfACheckercheckColorSpace in class PdfACheckercolorSpace - 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 operationsprotected Set<com.itextpdf.kernel.pdf.PdfName> getForbiddenActions()
getForbiddenActions in class PdfACheckerprotected Set<com.itextpdf.kernel.pdf.PdfName> getAllowedNamedActions()
getAllowedNamedActions in class PdfACheckerprotected void checkColorsUsages()
checkColorsUsages in class PdfACheckerpublic void checkExtGState(com.itextpdf.kernel.pdf.canvas.CanvasGraphicsState extGState)
PdfACheckercheckExtGState in class PdfACheckerextGState - the graphics state to be checkedpublic void checkRenderingIntent(com.itextpdf.kernel.pdf.PdfName intent)
PdfACheckercheckRenderingIntent in class PdfACheckerintent - the intent to be analyzedpublic void checkFont(com.itextpdf.kernel.font.PdfFont pdfFont)
PdfACheckercheckFont in class PdfACheckerpdfFont - font to be checkedprotected void checkNonSymbolicTrueTypeFont(com.itextpdf.kernel.font.PdfTrueTypeFont trueTypeFont)
checkNonSymbolicTrueTypeFont in class PdfACheckerprotected void checkSymbolicTrueTypeFont(com.itextpdf.kernel.font.PdfTrueTypeFont trueTypeFont)
checkSymbolicTrueTypeFont in class PdfACheckerprotected void checkImage(com.itextpdf.kernel.pdf.PdfStream image,
com.itextpdf.kernel.pdf.PdfDictionary currentColorSpaces)
checkImage in class PdfACheckerprotected void checkFormXObject(com.itextpdf.kernel.pdf.PdfStream form)
checkFormXObject in class PdfACheckerprotected void checkLogicalStructure(com.itextpdf.kernel.pdf.PdfDictionary catalog)
checkLogicalStructure in class PdfACheckerprotected void checkMetaData(com.itextpdf.kernel.pdf.PdfDictionary catalog)
checkMetaData in class PdfACheckerprotected void checkOutputIntents(com.itextpdf.kernel.pdf.PdfDictionary catalog)
checkOutputIntents in class PdfACheckerprotected void checkPdfNumber(com.itextpdf.kernel.pdf.PdfNumber number)
checkPdfNumber in class PdfACheckerprotected double getMaxRealValue()
protected void checkPdfStream(com.itextpdf.kernel.pdf.PdfStream stream)
checkPdfStream in class PdfACheckerprotected void checkPdfString(com.itextpdf.kernel.pdf.PdfString string)
checkPdfString in class PdfACheckerprotected int getMaxStringLength()
protected void checkPageSize(com.itextpdf.kernel.pdf.PdfDictionary page)
checkPageSize in class PdfACheckerprotected void checkFileSpec(com.itextpdf.kernel.pdf.PdfDictionary fileSpec)
checkFileSpec in class PdfACheckerprotected void checkAnnotation(com.itextpdf.kernel.pdf.PdfDictionary annotDic)
checkAnnotation in class PdfACheckerprotected void checkForm(com.itextpdf.kernel.pdf.PdfDictionary form)
checkForm in class PdfACheckerprotected void checkAction(com.itextpdf.kernel.pdf.PdfDictionary action)
checkAction in class PdfACheckerprotected void checkCatalogValidEntries(com.itextpdf.kernel.pdf.PdfDictionary catalogDict)
checkCatalogValidEntries in class PdfACheckerprotected void checkPageObject(com.itextpdf.kernel.pdf.PdfDictionary pageDict,
com.itextpdf.kernel.pdf.PdfDictionary pageResources)
checkPageObject in class PdfACheckerprotected void checkTrailer(com.itextpdf.kernel.pdf.PdfDictionary trailer)
checkTrailer in class PdfACheckerprotected com.itextpdf.kernel.pdf.PdfArray getFormFields(com.itextpdf.kernel.pdf.PdfArray array)
Copyright © 1998–2019 iText Group NV. All rights reserved.