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<PdfName> |
allowedNamedActions |
protected static Set<PdfName> |
allowedRenderingIntents |
protected static Set<PdfName> |
contentAnnotations |
protected static Set<PdfName> |
forbiddenActions |
protected static Set<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(PdfAConformanceLevel conformanceLevel)
Creates a PdfA1Checker with the required conformance level
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAction(PdfDictionary action) |
protected void |
checkAnnotation(PdfDictionary annotDic) |
void |
checkCanvasStack(char stackOperation)
This method checks compliance with the graphics state architectural
limitation, explained by
PdfAChecker.maxGsStackDepth. |
protected void |
checkCatalogValidEntries(PdfDictionary catalogDict) |
void |
checkColor(Color color,
PdfDictionary currentColorSpaces,
Boolean fill,
PdfStream stream)
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() |
protected void |
checkContentStream(PdfStream contentStream)
Attest content stream conformance with appropriate specification.
|
protected void |
checkContentStreamObject(PdfObject object)
Verify the conformity of the operand of content stream with appropriate
specification.
|
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 |
checkFont(PdfFont pdfFont)
Performs a number of checks on the font.
|
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 |
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 |
checkLogicalStructure(PdfDictionary catalog) |
protected void |
checkMetaData(PdfDictionary catalog) |
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 |
checkPdfName(PdfName name) |
protected void |
checkPdfNumber(PdfNumber number) |
protected void |
checkPdfStream(PdfStream stream) |
protected void |
checkPdfString(PdfString string) |
void |
checkRenderingIntent(PdfName intent)
Checks whether the rendering intent of the document is within the allowed
range of intents.
|
protected void |
checkSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont) |
protected void |
checkTrailer(PdfDictionary trailer) |
void |
checkXrefTable(PdfXrefTable xrefTable)
Verify the conformity of the cross-reference table.
|
protected Set<PdfName> |
getAllowedNamedActions() |
protected Set<PdfName> |
getForbiddenActions() |
protected PdfArray |
getFormFields(PdfArray array) |
protected long |
getMaxIntegerValue()
Retrieve maximal allowed integer value.
|
protected int |
getMaxNameLength()
Retrieve maximum allowed length of the name object.
|
protected long |
getMaxNumberOfIndirectObjects()
Retrieve maximum allowed number of indirect objects in conforming document.
|
protected double |
getMaxRealValue()
Retrieve maximum allowed real value.
|
protected int |
getMaxStringLength() |
protected long |
getMinIntegerValue()
Retrieve minimal allowed integer value.
|
checkAppearanceStream, checkDocument, checkFlag, checkPdfObject, checkResources, checkResourcesOfAppearanceStreams, checkSinglePage, checkStructure, checkTagStructureElement, getConformanceLevel, isAlreadyChecked, isContainsTransparencyGroup, isFullCheckMode, objectIsChecked, setFullCheckModepublic PdfA1Checker(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(PdfStream inlineImage, PdfDictionary currentColorSpaces)
PdfACheckercheckInlineImage in class PdfACheckerinlineImage - 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 stream)
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 operationsstream - current content streampublic void checkColorSpace(PdfColorSpace colorSpace, 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 operationspublic void checkXrefTable(PdfXrefTable xrefTable)
PdfACheckercheckXrefTable in class PdfACheckerxrefTable - is the Xref tableprotected Set<PdfName> getForbiddenActions()
getForbiddenActions in class PdfACheckerprotected Set<PdfName> getAllowedNamedActions()
getAllowedNamedActions in class PdfACheckerprotected long getMaxNumberOfIndirectObjects()
PdfACheckergetMaxNumberOfIndirectObjects in class PdfACheckerprotected void checkColorsUsages()
checkColorsUsages in class PdfACheckerpublic void checkExtGState(CanvasGraphicsState extGState, PdfStream contentStream)
PdfACheckercheckExtGState in class PdfACheckerextGState - the graphics state to be checkedcontentStream - current content streampublic void checkFontGlyphs(PdfFont font, PdfStream contentStream)
PdfACheckercheckFontGlyphs in class PdfACheckerfont - PdfFont to be checkedcontentStream - stream containing checked fontpublic void checkRenderingIntent(PdfName intent)
PdfACheckercheckRenderingIntent in class PdfACheckerintent - the intent to be analyzedpublic void checkFont(PdfFont pdfFont)
PdfACheckercheckFont in class PdfACheckerpdfFont - font to be checkedprotected void checkPageTransparency(PdfDictionary pageDict, PdfDictionary pageResources)
checkPageTransparency in class PdfACheckerprotected void checkContentStream(PdfStream contentStream)
PdfACheckercheckContentStream in class PdfACheckercontentStream - is a content stream to validateprotected void checkContentStreamObject(PdfObject object)
PdfACheckercheckContentStreamObject in class PdfACheckerobject - is an operand of content stream to validateprotected void checkNonSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont)
checkNonSymbolicTrueTypeFont in class PdfACheckerprotected void checkSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont)
checkSymbolicTrueTypeFont in class PdfACheckerprotected void checkImage(PdfStream image, PdfDictionary currentColorSpaces)
checkImage in class PdfACheckerprotected void checkFormXObject(PdfStream form)
checkFormXObject in class PdfACheckerprotected void checkLogicalStructure(PdfDictionary catalog)
checkLogicalStructure in class PdfACheckerprotected void checkMetaData(PdfDictionary catalog)
checkMetaData in class PdfACheckerprotected void checkOutputIntents(PdfDictionary catalog)
checkOutputIntents in class PdfACheckerprotected void checkPdfNumber(PdfNumber number)
checkPdfNumber in class PdfACheckerprotected double getMaxRealValue()
protected long getMaxIntegerValue()
protected long getMinIntegerValue()
protected void checkPdfArray(PdfArray array)
checkPdfArray in class PdfACheckerprotected void checkPdfDictionary(PdfDictionary dictionary)
checkPdfDictionary in class PdfACheckerprotected void checkPdfStream(PdfStream stream)
checkPdfStream in class PdfACheckerprotected void checkPdfName(PdfName name)
checkPdfName in class PdfACheckerprotected int getMaxNameLength()
protected void checkPdfString(PdfString string)
checkPdfString in class PdfACheckerprotected int getMaxStringLength()
protected void checkPageSize(PdfDictionary page)
checkPageSize in class PdfACheckerprotected void checkFileSpec(PdfDictionary fileSpec)
checkFileSpec in class PdfACheckerprotected void checkAnnotation(PdfDictionary annotDic)
checkAnnotation in class PdfACheckerprotected void checkForm(PdfDictionary form)
checkForm in class PdfACheckerprotected void checkAction(PdfDictionary action)
checkAction in class PdfACheckerprotected void checkCatalogValidEntries(PdfDictionary catalogDict)
checkCatalogValidEntries in class PdfACheckerprotected void checkPageObject(PdfDictionary pageDict, PdfDictionary pageResources)
checkPageObject in class PdfACheckerprotected void checkTrailer(PdfDictionary trailer)
checkTrailer in class PdfACheckerCopyright © 1998–2022 iText Group NV. All rights reserved.