Table of Contents

Enum PdfAFixes

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

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 = 0

Nothing was changed.

DocumentJavascript = 1

Removed the document-level JavaScript name tree.

OpenAction = 2

Removed a prohibited document open action.

DocumentAdditionalActions = 4

Removed the catalog additional-actions dictionary.

Xfa = 8

Removed XFA form data.

NeedAppearances = 16

Removed the NeedAppearances flag from the interactive form.

EmbeddedFiles = 32

Removed embedded files (PDF/A-1 and PDF/A-2 targets).

AttachmentRelationship = 64

Added AFRelationship or UF entries to embedded file specifications (PDF/A-3 targets).

OutlineActions = 128

Removed prohibited actions from outline items.

PageAdditionalActions = 256

Removed page-level additional-actions dictionaries.

AnnotationsRemoved = 512

Removed prohibited or hidden annotations.

AnnotationFlags = 1024

Normalized annotation flags (Print set; Invisible and ToggleNoView cleared).

AnnotationActions = 2048

Removed prohibited annotation or form field actions.

ImageKeys = 4096

Cleaned image dictionary keys (Interpolate, Alternates, OPI).

ExtGState = 8192

Cleaned ExtGState resources (transfer functions, halftones).

CatalogVersion = 16384

Removed the catalog Version entry so the file header version applies.

MiscKeys = 32768

Cleaned miscellaneous prohibited keys: catalog NeedsRendering, ExtGState OPM and invalid RI, descriptor CIDSet/CharSet.

FontsEmbedded = 65536

Embedded replacement font programs for non-embedded fonts (managed repair layer).

LzwReencoded = 131072

Re-encoded LZW-compressed streams to Flate (managed repair layer).

DefaultCmykInstalled = 262144

Installed a DefaultCMYK ICC color space so DeviceCMYK content is calibrated (managed repair layer).

ColorantsUnified = 524288

Unified same-name Separation spot colours and completed DeviceN Colorants dictionaries.

NotdefTextStripped = 1048576

Removed character codes rendering the .notdef glyph from text show operators.

JpxRecoded = 2097152

Re-encoded JPEG2000 images as Flate with an explicit device colour space (managed repair layer).

Share