Enum PdfAFixes
Modifications performed by the native PDF/A sanitization pass. Mirrors the FPDFA_FIX_* flags of the patched pdfium build.
[Flags]
public enum PdfAFixes : uint
Fields
None = 0Nothing was changed.
DocumentJavascript = 1Removed the document-level JavaScript name tree.
OpenAction = 2Removed a prohibited document open action.
DocumentAdditionalActions = 4Removed the catalog additional-actions dictionary.
Xfa = 8Removed XFA form data.
NeedAppearances = 16Removed the NeedAppearances flag from the interactive form.
EmbeddedFiles = 32Removed embedded files (PDF/A-1 and PDF/A-2 targets).
AttachmentRelationship = 64Added AFRelationship or UF entries to embedded file specifications (PDF/A-3 targets).
OutlineActions = 128Removed prohibited actions from outline items.
PageAdditionalActions = 256Removed page-level additional-actions dictionaries.
AnnotationsRemoved = 512Removed prohibited or hidden annotations.
AnnotationFlags = 1024Normalized annotation flags (Print set; Invisible and ToggleNoView cleared).
AnnotationActions = 2048Removed prohibited annotation or form field actions.
ImageKeys = 4096Cleaned image dictionary keys (Interpolate, Alternates, OPI).
ExtGState = 8192Cleaned ExtGState resources (transfer functions, halftones).
CatalogVersion = 16384Removed the catalog Version entry so the file header version applies.
MiscKeys = 32768Cleaned miscellaneous prohibited keys: catalog NeedsRendering, ExtGState OPM and invalid RI, descriptor CIDSet/CharSet.
FontsEmbedded = 65536Embedded replacement font programs for non-embedded fonts (managed repair layer).
LzwReencoded = 131072Re-encoded LZW-compressed streams to Flate (managed repair layer).
DefaultCmykInstalled = 262144Installed a DefaultCMYK ICC color space so DeviceCMYK content is calibrated (managed repair layer).
ColorantsUnified = 524288Unified same-name Separation spot colours and completed DeviceN Colorants dictionaries.
NotdefTextStripped = 1048576Removed character codes rendering the .notdef glyph from text show operators.
JpxRecoded = 2097152Re-encoded JPEG2000 images as Flate with an explicit device colour space (managed repair layer).