Table of Contents

Class PdfA1Checker

Namespace
iText.Pdfa.Checker
Assembly
itext.pdfa.dll

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-1

Constructors

PdfA1Checker(PdfAConformanceLevel)

Creates a PdfA1Checker with the required conformance level

public PdfA1Checker(PdfAConformanceLevel conformanceLevel)

Parameters

conformanceLevel PdfAConformanceLevel

the required conformance level, a or b

Fields

allowedNamedActions

protected static readonly ICollection<PdfName> allowedNamedActions

Field Value

ICollection<PdfName>

allowedRenderingIntents

protected static readonly ICollection<PdfName> allowedRenderingIntents

Field Value

ICollection<PdfName>

contentAnnotations

protected static readonly ICollection<PdfName> contentAnnotations

Field Value

ICollection<PdfName>

forbiddenActions

protected static readonly ICollection<PdfName> forbiddenActions

Field Value

ICollection<PdfName>

forbiddenAnnotations

protected static readonly ICollection<PdfName> forbiddenAnnotations

Field Value

ICollection<PdfName>

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 Color
currentColorSpaces PdfDictionary
fill 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 CanvasGraphicsState
color Color
currentColorSpaces PdfDictionary
fill 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 PdfColorSpace
pdfObject PdfObject
currentColorSpaces PdfDictionary
checkAlternate bool
fill 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 CanvasGraphicsState
contentStream 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

font PdfFont
contentStream PdfStream

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 PdfStream
currentColorSpaces PdfDictionary

CheckInlineImage(PdfStream, PdfDictionary)

public override void CheckInlineImage(PdfStream inlineImage, PdfDictionary currentColorSpaces)

Parameters

inlineImage PdfStream
currentColorSpaces 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 PdfDictionary
pageResources PdfDictionary

CheckPageObject(PdfDictionary, PdfDictionary)

protected override void CheckPageObject(PdfDictionary pageDict, PdfDictionary pageResources)

Parameters

pageDict PdfDictionary
pageResources 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 PdfDictionary
pageResources 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

text string

font PdfFont

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

ICollection<PdfName>

GetForbiddenActions()

protected override ICollection<PdfName> GetForbiddenActions()

Returns

ICollection<PdfName>

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 PdfArray

the PdfArray of form fields PdfDictionary objects

Returns

PdfArray

the PdfArray of form fields

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

long

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