|
|
Error code
|
Error description
|
|
|
|
|
0
|
|
PDFERR_OK
|
No errors
|
1
|
|
PDFERR_NO_STARTXREF
|
No reference to objects table
|
2
|
|
PDFERR_BAD_STARTXREF
|
Invalid reference to objects table
|
3
|
|
PDFERR_NOREF
|
No objects table
|
4
|
|
PDFERR_BAD_XREF
|
Invalid objects table
|
5
|
|
PDFERR_NO_TRAILER
|
No document trailer
|
6
|
|
PDFERR_BAD_TRAILER
|
Invalid document trailer
|
7
|
|
PDFERR_NO_OBJ
|
Cannot find object
|
8
|
|
PDFERR_BAD_OBJ
|
Invalid object format
|
9
|
|
PDFERR_NO_ENDOBJ
|
Cannot find the end of the object
|
10
|
|
PDFERR_UNEXPECTED_LEX
|
Unexpected lexem encountered
|
11
|
|
PDFERR_NAME_EXPECTED
|
No name
|
12
|
|
PDFERR_NO_TRAILER_DICT
|
No trailer dictionary
|
13
|
|
PDFERR_NO_STREAM_DICT
|
No stream dictionary
|
14
|
|
PDFERR_NO_STREAM_LEN
|
No stream length
|
15
|
|
PDFERR_BAD_STREAM_LEN
|
Invalid format of stream length
|
16
|
|
PDFERR_NO_ENDSTREAM
|
Cannot find the end of the stream
|
20
|
|
PDFERR_NO_LEX
|
Lexem not found
|
21
|
|
PDFERR_UNK_LEX
|
Unknown lexem encountered
|
30
|
|
PDFERR_BAD_NUMBER
|
Invalid number format
|
31
|
|
PDFERR_BAD_STRING
|
Invalid string format
|
32
|
|
PDFERR_BAD_HEXSTR
|
Invalid hexadecimal string format
|
33
|
|
PDFERR_BAD_NAME
|
Invalid name format
|
34
|
|
PDFERR_BAD_KEYWORD
|
Invalid keyword format
|
35
|
|
PDFERR_UNK_KEYWORD
|
Unknown keyword
|
101
|
|
PDFERR_ALREADY_OPENED
|
Document already loaded
|
102
|
|
PDFERR_CANT_OPEN
|
Cannot open document
|
103
|
|
PDFERR_CANT_CREATE_MAP
|
Cannot map file
|
104
|
|
PDFERR_CANT_MAP_VIEW
|
Cannot view file map
|
105
|
|
PDFERR_NO_HEADER
|
No PDF file header
|
1001
|
|
PDFERR_NO_ENCRYPT
|
Document is not encrypted
|
1002
|
|
PDFERR_NO_PDEF
|
Document is not loaded
|
1003
|
|
PDFERR_BAD_REF
|
Wrong reference to Encryption Object
|
1004
|
|
PDFERR_BAD_OBJ
|
Invalid Encryption Object
|
1005
|
|
PDFERR_WRONG_FILTER
|
Unsupported Encryption Filter
|
1006
|
|
PDFERR_WRONG_VER
|
Unsupported Encryption Version
|
1007
|
|
PDFERR_WRONG_REV
|
Unsupported Encryption Revision
|
1008
|
|
PDFERR_WRONG_OWNER
|
Invalid OwnerKey format
|
1009
|
|
PDFERR_WRONG_USER
|
Invalid UserKey format
|
1010
|
|
PDFERR_WRONG_PERM
|
Invalid Permissions format
|
1011
|
|
PDFERR_NO_ID
|
Cannot find DocumentID
|
1012
|
|
PDFERR_BAD_ID
|
Invalid DocumentID format
|