Class PdfA1Checker
PdfA1Checker defines the requirements of the PDF/A-1 standard and contains method implementations from the abstract PdfAChecker class.
public class PdfA1Checker : PdfAChecker, IValidationChecker
- Inheritance
-
PdfA1Checker
- Implements
- Derived
- Inherited Members
Remarks
PdfA1Checker defines the requirements of the PDF/A-1 standard and contains method implementations from the abstract PdfAChecker class.
The specification implemented by this class is ISO 19005-1Constructors
PdfA1Checker(PdfAConformanceLevel)
Creates a PdfA1Checker with the required conformance level
public PdfA1Checker(PdfAConformanceLevel conformanceLevel)
Parameters
conformanceLevel
PdfAConformanceLevelthe required conformance level,
a
orb
Fields
allowedNamedActions
protected static readonly ICollection<PdfName> allowedNamedActions
Field Value
allowedRenderingIntents
protected static readonly ICollection<PdfName> allowedRenderingIntents
Field Value
contentAnnotations
protected static readonly ICollection<PdfName> contentAnnotations
Field Value
forbiddenActions
protected static readonly ICollection<PdfName> forbiddenActions
Field Value
forbiddenAnnotations
protected static readonly ICollection<PdfName> forbiddenAnnotations
Field Value
Methods
CheckAction(PdfDictionary)
protected override void CheckAction(PdfDictionary action)
Parameters
action
PdfDictionary
CheckAnnotation(PdfDictionary)
protected override void CheckAnnotation(PdfDictionary annotDic)
Parameters
annotDic
PdfDictionary
CheckCanvasStack(char)
public override void CheckCanvasStack(char stackOperation)
Parameters
stackOperation
char
CheckCatalog(PdfCatalog)
protected override void CheckCatalog(PdfCatalog catalog)
Parameters
catalog
PdfCatalog
CheckCatalogValidEntries(PdfDictionary)
protected override void CheckCatalogValidEntries(PdfDictionary catalogDict)
Parameters
catalogDict
PdfDictionary
CheckColor(Color, PdfDictionary, bool?, PdfStream)
[Obsolete]
public override void CheckColor(Color color, PdfDictionary currentColorSpaces, bool? fill, PdfStream stream)
Parameters
color
ColorcurrentColorSpaces
PdfDictionaryfill
bool?stream
PdfStream
CheckColor(CanvasGraphicsState, Color, PdfDictionary, bool?, PdfStream)
public override void CheckColor(CanvasGraphicsState graphicsState, Color color, PdfDictionary currentColorSpaces, bool? fill, PdfStream stream)
Parameters
graphicsState
CanvasGraphicsStatecolor
ColorcurrentColorSpaces
PdfDictionaryfill
bool?stream
PdfStream
CheckColorSpace(PdfColorSpace, PdfObject, PdfDictionary, bool, bool?)
public override void CheckColorSpace(PdfColorSpace colorSpace, PdfObject pdfObject, PdfDictionary currentColorSpaces, bool checkAlternate, bool? fill)
Parameters
colorSpace
PdfColorSpacepdfObject
PdfObjectcurrentColorSpaces
PdfDictionarycheckAlternate
boolfill
bool?
CheckColorsUsages()
Verify the conformity of used color spaces.
protected override void CheckColorsUsages()
CheckContentStream(PdfStream)
protected override void CheckContentStream(PdfStream contentStream)
Parameters
contentStream
PdfStream
CheckCrypto(PdfObject)
public override void CheckCrypto(PdfObject crypto)
Parameters
crypto
PdfObject
CheckExtGState(CanvasGraphicsState, PdfStream)
public override void CheckExtGState(CanvasGraphicsState extGState, PdfStream contentStream)
Parameters
extGState
CanvasGraphicsStatecontentStream
PdfStream
CheckFileSpec(PdfDictionary)
protected override void CheckFileSpec(PdfDictionary fileSpec)
Parameters
fileSpec
PdfDictionary
CheckFont(PdfFont)
public override void CheckFont(PdfFont pdfFont)
Parameters
pdfFont
PdfFont
CheckFontGlyphs(PdfFont, PdfStream)
public override void CheckFontGlyphs(PdfFont font, PdfStream contentStream)
Parameters
CheckForm(PdfDictionary)
protected override void CheckForm(PdfDictionary form)
Parameters
form
PdfDictionary
CheckFormXObject(PdfStream)
protected override void CheckFormXObject(PdfStream form)
Parameters
form
PdfStream
CheckImage(PdfStream, PdfDictionary)
protected override void CheckImage(PdfStream image, PdfDictionary currentColorSpaces)
Parameters
image
PdfStreamcurrentColorSpaces
PdfDictionary
CheckInlineImage(PdfStream, PdfDictionary)
public override void CheckInlineImage(PdfStream inlineImage, PdfDictionary currentColorSpaces)
Parameters
inlineImage
PdfStreamcurrentColorSpaces
PdfDictionary
CheckLogicalStructure(PdfDictionary)
protected override void CheckLogicalStructure(PdfDictionary catalog)
Parameters
catalog
PdfDictionary
CheckMetaData(PdfDictionary)
protected override void CheckMetaData(PdfDictionary catalog)
Parameters
catalog
PdfDictionary
CheckNonSymbolicTrueTypeFont(PdfTrueTypeFont)
protected override void CheckNonSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont)
Parameters
trueTypeFont
PdfTrueTypeFont
CheckOutputIntents(PdfDictionary)
protected override void CheckOutputIntents(PdfDictionary catalog)
Parameters
catalog
PdfDictionary
CheckPageColorsUsages(PdfDictionary, PdfDictionary)
protected override void CheckPageColorsUsages(PdfDictionary pageDict, PdfDictionary pageResources)
Parameters
pageDict
PdfDictionarypageResources
PdfDictionary
CheckPageObject(PdfDictionary, PdfDictionary)
protected override void CheckPageObject(PdfDictionary pageDict, PdfDictionary pageResources)
Parameters
pageDict
PdfDictionarypageResources
PdfDictionary
CheckPageSize(PdfDictionary)
protected override void CheckPageSize(PdfDictionary page)
Parameters
page
PdfDictionary
CheckPageTransparency(PdfDictionary, PdfDictionary)
protected override void CheckPageTransparency(PdfDictionary pageDict, PdfDictionary pageResources)
Parameters
pageDict
PdfDictionarypageResources
PdfDictionary
CheckPdfArray(PdfArray)
protected override void CheckPdfArray(PdfArray array)
Parameters
array
PdfArray
CheckPdfDictionary(PdfDictionary)
protected override void CheckPdfDictionary(PdfDictionary dictionary)
Parameters
dictionary
PdfDictionary
CheckPdfName(PdfName)
protected override void CheckPdfName(PdfName name)
Parameters
name
PdfName
CheckPdfNumber(PdfNumber)
protected override void CheckPdfNumber(PdfNumber number)
Parameters
number
PdfNumber
CheckPdfStream(PdfStream)
protected override void CheckPdfStream(PdfStream stream)
Parameters
stream
PdfStream
CheckPdfString(PdfString)
protected override void CheckPdfString(PdfString @string)
Parameters
string
PdfString
CheckRenderingIntent(PdfName)
public override void CheckRenderingIntent(PdfName intent)
Parameters
intent
PdfName
CheckSignatureType(bool)
public override void CheckSignatureType(bool isCAdES)
Parameters
isCAdES
bool
CheckSymbolicTrueTypeFont(PdfTrueTypeFont)
protected override void CheckSymbolicTrueTypeFont(PdfTrueTypeFont trueTypeFont)
Parameters
trueTypeFont
PdfTrueTypeFont
CheckText(string, PdfFont)
public override void CheckText(string text, PdfFont font)
Parameters
CheckTrailer(PdfDictionary)
protected override void CheckTrailer(PdfDictionary trailer)
Parameters
trailer
PdfDictionary
CheckXrefTable(PdfXrefTable)
public override void CheckXrefTable(PdfXrefTable xrefTable)
Parameters
xrefTable
PdfXrefTable
GetAllowedNamedActions()
protected override ICollection<PdfName> GetAllowedNamedActions()
Returns
GetForbiddenActions()
protected override ICollection<PdfName> GetForbiddenActions()
Returns
GetForbiddenAnnotations()
Gets forbidden annotation types.
protected virtual ICollection<PdfName> GetForbiddenAnnotations()
Returns
- ICollection<PdfName>
a set of forbidden annotation types
GetFormFields(PdfArray)
Gets a PdfArray of fields with kids from a PdfArray of PdfDictionary objects.
protected virtual PdfArray GetFormFields(PdfArray array)
Parameters
array
PdfArraythe PdfArray of form fields PdfDictionary objects
Returns
GetMaxIntegerValue()
Retrieve maximal allowed integer value.
protected virtual long GetMaxIntegerValue()
Returns
- long
maximal allowed integer number
GetMaxNameLength()
Retrieve maximum allowed length of the name object.
protected virtual int GetMaxNameLength()
Returns
- int
maximum allowed length of the name
GetMaxNumberOfIndirectObjects()
protected override long GetMaxNumberOfIndirectObjects()
Returns
GetMaxRealValue()
Retrieve maximum allowed real value.
protected virtual double GetMaxRealValue()
Returns
- double
maximum allowed real number
GetMaxStringLength()
Returns maximum allowed bytes length of the string in a PDF document.
protected virtual int GetMaxStringLength()
Returns
- int
maximum string length
GetMinIntegerValue()
Retrieve minimal allowed integer value.
protected virtual long GetMinIntegerValue()
Returns
- long
minimal allowed integer number