1error_detail={
20x1001: 'Internal error. The consistency of the data was lost.',
3
40x1002: 'Internal error. The consistency of the data was lost.',
50x1003: 'Internal error. The consistency of the data was lost.',
60x1004: 'The length of the data exceeds HPDF_LIMIT_MAX_STRING_LEN.',
7
80x1005: 'Cannot get a pallet data from PNG image.',
9
100x1007: 'The count of elements of a dictionary exceeds HPDF_LIMIT_MAX_DICT_ELEMENT',
11
120x1008: 'Internal error. The consistency of the data was lost.',
130x1009: 'Internal error. The consistency of the data was lost.',
140x100A: 'Internal error. The consistency of the data was lost.',
150x100B: 'HPDF_SetPermission() OR HPDF_SetEncryptMode() was called before a password is set.',
16
170x100C: 'Internal error. The consistency of the data was lost.',
18
190x100E: 'Tried to register a font that has been registered.',
20
210x100F: 'Cannot register a character to the japanese word wrap characters list.',
22
23
240x1011: 'Tried to set the owner password to NULL.\nThe owner password and user password is the same.',
250x1013: 'Internal error. The consistency of the data was lost.',
260x1014: 'The depth of the stack exceeded HPDF_LIMIT_MAX_GSTATE.',
27
280x1015: 'Memory allocation failed.',
29
300x1016: 'File processing failed. (A detailed code is set.)',
31
320x1017: 'Cannot open a file. (A detailed code is set.)',
33
34
350x1019: 'Tried to load a font that has been registered.',
360x101A: 'The format of a font-file is invalid .\nInternal error. The consistency of the data was lost.',
370x101B: 'Cannot recognize a header of an afm file.',
38
390x101C: 'The specified annotation handle is invalid.',
40
41
420x101E: 'Bit-per-component of a image which was set as mask-image is invalid.',
43
440x101F: 'Cannot recognize char-matrics-data of an afm file.',
450x1020: '1. The color_space parameter of HPDF_LoadRawImage is invalid.\n2. Color-space of a image which was set as mask-image is invalid.\n3. The function which is invalid in the present color-space was invoked.',
46
470x1021: 'Invalid value was set when invoking HPDF_SetCommpressionMode().',
48
490x1022: 'An invalid date-time value was set.',
50
510x1023: 'An invalid destination handle was set.',
52
53
540x1025: 'An invalid document handle is set.',
550x1026: 'The function which is invalid in the present state was invoked.',
560x1027: 'An invalid encoder handle is set.',
570x1028: 'A combination between font and encoder is wrong.',
58
59
600x102B: 'An Invalid encoding name is specified.',
61
620x102C: 'The lengh of the key of encryption is invalid.',
63
640x102D: '1. An invalid font handle was set.\n2. Unsupported font format.',
65
660x102E: 'Internal error. The consistency of the data was lost.',
670x102F: 'A font which has the specified name is not found.',
68
690x1030: 'Unsupported image format.',
70
710x1031: 'Unsupported image format.',
720x1032: 'Cannot read a postscript-name from an afm file.',
730x1033: '1. An invalid object is set.\n2. Internal error. The consistency of the data was lost.',
740x1034: 'Internal error. The consistency of the data was lost.',
750x1035: '1. Invoked HPDF_Image_SetColorMask() against the image-object which was set a mask-image.',
76
770x1036: 'An invalid outline-handle was specified.',
78
790x1037: 'An invalid page-handle was specified.',
80
810x1038: 'An invalid pages-handle was specified. (internel error)',
82
830x1039: 'An invalid value is set.',
84
85
860x103B: 'Invalid PNG image format.',
870x103C: 'Internal error. The consistency of the data was lost.',
880x103D: 'Internal error. The "_FILE_NAME" entry for delayed loading is missing.',
89
900x103F: 'Invalid .TTC file format.',
91
920x1040: 'The index parameter was exceed the number of included fonts',
93
940x1041: 'Cannot read a width-data from an afm file.',
950x1042: 'Internal error. The consistency of the data was lost.',
960x1043: 'An error has returned from PNGLIB while loading an image.',
97
980x1044: 'Internal error. The consistency of the data was lost.',
990x1045: 'Internal error. The consistency of the data was lost.',
100
1010x1049: 'Internal error. The consistency of the data was lost.',
1020x104A: 'Internal error. The consistency of the data was lost.',
1030x104B: 'Internal error. The consistency of the data was lost.',
1040x104C: 'There are no graphics-states to be restored.',
105
1060x104D: 'Internal error. The consistency of the data was lost.',
1070x104E: 'The current font is not set.',
108
1090x104F: 'An invalid font-handle was spacified.',
110
1110x1050: 'An invalid font-size was set.',
112
1130x1051: 'See Graphics mode.',
114
1150x1052: 'Internal error. The consistency of the data was lost.',
1160x1053: 'The specified value is not a multiple of 90.',
117
1180x1054: 'An invalid page-size was set.',
1190x1055: 'An invalid image-handle was set.',
120
1210x1056: 'The specified value is out of range.',
122
1230x1057: 'The specified value is out of range.',
1240x1058: 'Unexpected EOF marker was detected.',
125
1260x1059: 'Internal error. The consistency of the data was lost.',
127
1280x105B: 'The length of the specified text is too long.',
129
1300x105C: 'The execution of a function was skipped because of other errors.',
131
1320x105D: 'This font cannot be embedded. (restricted by license)',
133
1340x105E: 'Unsupported ttf format. (cannot find unicode cmap.)',
135
1360x105F: 'Unsupported ttf format.',
1370x1060: 'Unsupported ttf format. (cannot find a necessary table) ',
1380x1061: 'Internal error. The consistency of the data was lost.',
1390x1062: '1. The library is not configured to use PNGLIB.\n2. Internal error. The consistency of the data was lost.',
1400x1063: 'Unsupported Jpeg format.',
1410x1064: 'Failed to parse .PFB file.',
142
1430x1065: 'Internal error. The consistency of the data was lost.',
1440x1066: 'An error has occurred while executing a function of Zlib.',
145
1460x1067: 'An error returned from Zlib.',
147
1480x1068: 'An invalid URI was set.',
149
1500x1069: 'An invalid page-layout was set.',
151
1520x1070: 'An invalid page-mode was set.',
153
1540x1071: 'An invalid page-num-style was set.',
155
1560x1072: 'An invalid icon was set.',
157
1580x1073: 'An invalid border-style was set.',
159
1600x1074: 'An invalid page-direction was set.',
161
1620x1075: 'An invalid font-handle was specified.',
163
164}