PXS_StructureValidationFlags Enumeration
From PDF XChange PDF SDK
Specifies the structure validation flags for the document.
Syntax
enum PXS_StructureValidationFlags { SVF_Valid = 0, SVF_XRefChunkNotFound = 1, SVF_ErrorsInXRef = 2, SVF_ErrorsInXRefNonCritical = 4, SVF_InvalidObjRef = 8, SVF_BrokenObj = 16, SVF_BrokenObjNonCritical = 32, SVF_MissalignedObj = 64, SVF_BrokenObjStream = 128, SVF_ErrorsInTrailer = 256, SVF_UnrecoveredErrorsInTrailer = 512, SVF_LargerFileNotTruncated = 1024, SVF_IoReadFailed = 4194304, SVF_FailLoadValidObject = 8388608, SVF_WarnFutureObjRef = 16777216, SVF_ObjStreamNeedReparce = 1073741824, SVF_Corrected = -2147483648, };
Constants
- SVF_Valid
- Document's structure was validated correctly.
- SVF_XRefChunkNotFound
- One or more xref chunks not found
- SVF_ErrorsInXRef
- Some errors in xref table
- SVF_ErrorsInXRefNonCritical
- Some errors in xref table that are not critical
- SVF_InvalidObjRef
- Reference to an object was not described in any xref chunks
- SVF_BrokenObj
- Error loading object - invalid object structure
- SVF_BrokenObjNonCritical
- Error loading object - invalid object structure (not critical)
- SVF_MissalignedObj
- Error locating object
- SVF_BrokenObjStream
- Invalid ObjStream found
- SVF_ErrorsInTrailer
- Required values were not found in last trailer
- SVF_UnrecoveredErrorsInTrailer
- Required values were not found in trailers
- SVF_LargerFileNotTruncated
- Larger PDF file was overwritten with the smaller one, but not truncated
- SVF_IoReadFailed
- Error reading data from IO, document will not be read correctly
- SVF_FailLoadValidObject
- Failed to load valid object. This may happen when original file became unavailable (for example network share was broken) or when internal storage was corrupted
- SVF_WarnFutureObjRef
- Object was not described in current or previous chunks, but in description found in next chunks (valid for linearised files).
- SVF_ObjStreamNeedReparce
- Some of the errors were corrected (need to reparse obj STm)
- SVF_Corrected
- Some of the errors were corrected