OSDN Git Service

binding with libharu.
[putex/putex.git] / src / texsourc / lib / libhpdf / if / python / hpdf_errorcode.py
1 error_detail={
2 0x1001: 'Internal error. The consistency of the data was lost.',
3
4 0x1002: 'Internal error. The consistency of the data was lost.',
5 0x1003: 'Internal error. The consistency of the data was lost.',
6 0x1004: 'The length of the data exceeds HPDF_LIMIT_MAX_STRING_LEN.',
7
8 0x1005: 'Cannot get a pallet data from PNG image.',
9
10 0x1007: 'The count of elements of a dictionary exceeds HPDF_LIMIT_MAX_DICT_ELEMENT',
11
12 0x1008: 'Internal error. The consistency of the data was lost.',
13 0x1009: 'Internal error. The consistency of the data was lost.',
14 0x100A: 'Internal error. The consistency of the data was lost.',
15 0x100B: 'HPDF_SetPermission() OR HPDF_SetEncryptMode() was called before a password is set.',
16
17 0x100C: 'Internal error. The consistency of the data was lost.',
18
19 0x100E: 'Tried to register a font that has been registered.',
20
21 0x100F: 'Cannot register a character to the japanese word wrap characters list.',
22
23
24 0x1011: 'Tried to set the owner password to NULL.\nThe owner password and user password is the same.',
25 0x1013: 'Internal error. The consistency of the data was lost.',
26 0x1014: 'The depth of the stack exceeded HPDF_LIMIT_MAX_GSTATE.',
27
28 0x1015: 'Memory allocation failed.',
29
30 0x1016: 'File processing failed. (A detailed code is set.)',
31
32 0x1017: 'Cannot open a file. (A detailed code is set.)',
33
34
35 0x1019: 'Tried to load a font that has been registered.',
36 0x101A: 'The format of a font-file is invalid .\nInternal error. The consistency of the data was lost.',
37 0x101B: 'Cannot recognize a header of an afm file.',
38
39 0x101C: 'The specified annotation handle is invalid.',
40
41
42 0x101E: 'Bit-per-component of a image which was set as mask-image is invalid.',
43
44 0x101F: 'Cannot recognize char-matrics-data of an afm file.',
45 0x1020: '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
47 0x1021: 'Invalid value was set when invoking HPDF_SetCommpressionMode().',
48
49 0x1022: 'An invalid date-time value was set.',
50
51 0x1023: 'An invalid destination handle was set.',
52
53
54 0x1025: 'An invalid document handle is set.',
55 0x1026: 'The function which is invalid in the present state was invoked.',
56 0x1027: 'An invalid encoder handle is set.',
57 0x1028: 'A combination between font and encoder is wrong.',
58
59
60 0x102B: 'An Invalid encoding name is specified.',
61
62 0x102C: 'The lengh of the key of encryption is invalid.',
63
64 0x102D: '1. An invalid font handle was set.\n2. Unsupported font format.',
65
66 0x102E: 'Internal error. The consistency of the data was lost.',
67 0x102F: 'A font which has the specified name is not found.',
68
69 0x1030: 'Unsupported image format.',
70
71 0x1031: 'Unsupported image format.',
72 0x1032: 'Cannot read a postscript-name from an afm file.',
73 0x1033: '1. An invalid object is set.\n2. Internal error. The consistency of the data was lost.',
74 0x1034: 'Internal error. The consistency of the data was lost.',
75 0x1035: '1. Invoked HPDF_Image_SetColorMask() against the image-object which was set a mask-image.',
76
77 0x1036: 'An invalid outline-handle was specified.',
78
79 0x1037: 'An invalid page-handle was specified.',
80
81 0x1038: 'An invalid pages-handle was specified. (internel error)',
82
83 0x1039: 'An invalid value is set.',
84
85
86 0x103B: 'Invalid PNG image format.',
87 0x103C: 'Internal error. The consistency of the data was lost.',
88 0x103D: 'Internal error. The "_FILE_NAME" entry for delayed loading is missing.',
89
90 0x103F: 'Invalid .TTC file format.',
91
92 0x1040: 'The index parameter was exceed the number of included fonts',
93
94 0x1041: 'Cannot read a width-data from an afm file.',
95 0x1042: 'Internal error. The consistency of the data was lost.',
96 0x1043: 'An error has returned from PNGLIB while loading an image.',
97
98 0x1044: 'Internal error. The consistency of the data was lost.',
99 0x1045: 'Internal error. The consistency of the data was lost.',
100
101 0x1049: 'Internal error. The consistency of the data was lost.',
102 0x104A: 'Internal error. The consistency of the data was lost.',
103 0x104B: 'Internal error. The consistency of the data was lost.',
104 0x104C: 'There are no graphics-states to be restored.',
105
106 0x104D: 'Internal error. The consistency of the data was lost.',
107 0x104E: 'The current font is not set.',
108
109 0x104F: 'An invalid font-handle was spacified.',
110
111 0x1050: 'An invalid font-size was set.',
112
113 0x1051: 'See Graphics mode.',
114
115 0x1052: 'Internal error. The consistency of the data was lost.',
116 0x1053: 'The specified value is not a multiple of 90.',
117
118 0x1054: 'An invalid page-size was set.',
119 0x1055: 'An invalid image-handle was set.',
120
121 0x1056: 'The specified value is out of range.',
122
123 0x1057: 'The specified value is out of range.',
124 0x1058: 'Unexpected EOF marker was detected.',
125
126 0x1059: 'Internal error. The consistency of the data was lost.',
127
128 0x105B: 'The length of the specified text is too long.',
129
130 0x105C: 'The execution of a function was skipped because of other errors.',
131
132 0x105D: 'This font cannot be embedded. (restricted by license)',
133
134 0x105E: 'Unsupported ttf format. (cannot find unicode cmap.)',
135
136 0x105F: 'Unsupported ttf format.',
137 0x1060: 'Unsupported ttf format. (cannot find a necessary table) ',
138 0x1061: 'Internal error. The consistency of the data was lost.',
139 0x1062: '1. The library is not configured to use PNGLIB.\n2. Internal error. The consistency of the data was lost.',
140 0x1063: 'Unsupported Jpeg format.',
141 0x1064: 'Failed to parse .PFB file.',
142
143 0x1065: 'Internal error. The consistency of the data was lost.',
144 0x1066: 'An error has occurred while executing a function of Zlib.',
145
146 0x1067: 'An error returned from Zlib.',
147
148 0x1068: 'An invalid URI was set.',
149
150 0x1069: 'An invalid page-layout was set.',
151
152 0x1070: 'An invalid page-mode was set.',
153
154 0x1071: 'An invalid page-num-style was set.',
155
156 0x1072: 'An invalid icon was set.',
157
158 0x1073: 'An invalid border-style was set.',
159
160 0x1074: 'An invalid page-direction was set.',
161
162 0x1075: 'An invalid font-handle was specified.',
163
164 }