@@ -202,10 +202,46 @@ public final class KernelExceptionMessageConstant {
202
202
public static final String INVALID_CROSS_REFERENCE_ENTRY_IN_THIS_XREF_SUBSECTION = "Invalid cross reference entry "
203
203
+ "in this xref subsection." ;
204
204
public static final String INVALID_INDIRECT_REFERENCE = "Invalid indirect reference {0}." ;
205
+
206
+ public static final String INVALID_INPUT_FOR_TYPE_2_FUNCTION =
207
+ "Invalid input value for PDF Type 2 Function, value should be a single number." ;
208
+ public static final String INVALID_INPUT_FOR_TYPE_3_FUNCTION =
209
+ "Invalid input value for PDF Type 3 Function, value should be a single number." ;
205
210
public static final String INVALID_MEDIA_BOX_VALUE = "Tne media box object has incorrect values." ;
206
211
public static final String INVALID_PAGE_STRUCTURE = "Invalid page structure {0}." ;
207
212
public static final String INVALID_PAGE_STRUCTURE_PAGES_MUST_BE_PDF_DICTIONARY = "Invalid page structure. /Pages "
208
213
+ "must be PdfDictionary." ;
214
+ public static final String INVALID_TYPE_2_FUNCTION_DOMAIN =
215
+ "Invalid PDF Type 2 Function object, \" Domain\" array shall consist of 2 numbers." ;
216
+ public static final String INVALID_TYPE_2_FUNCTION_N =
217
+ "Invalid PDF Type 2 Function object, \" N\" field should be existed and must be a number." ;
218
+ public static final String INVALID_TYPE_2_FUNCTION_N_NEGATIVE =
219
+ "Invalid PDF Type 2 Function object, when \" N\" is negative, values of \" Domain\" shall "
220
+ + "not allow zero as input value." ;
221
+ public static final String INVALID_TYPE_2_FUNCTION_N_NOT_INTEGER =
222
+ "Invalid PDF Type 2 Function object, when \" N\" is not an integer, values of \" Domain\" shall "
223
+ + "define the input value as non-negative." ;
224
+ public static final String INVALID_TYPE_2_FUNCTION_OUTPUT_SIZE =
225
+ "Invalid PDF Type 2 Function object, if present the size of \" C0\" , \" C1\" and half "
226
+ + "\" Range\" shall be equal." ;
227
+ public static final String INVALID_TYPE_3_FUNCTION_BOUNDS =
228
+ "Invalid PDF Type 3 Function object, \" Bounds\" elements shall be in order of increasing value, and "
229
+ + "each value shall be within the domain defined by \" Domain\" ." ;
230
+ public static final String INVALID_TYPE_3_FUNCTION_DOMAIN =
231
+ "Invalid PDF Type 3 Function object, \" Domain\" array shall consist of 2 numbers." ;
232
+ public static final String INVALID_TYPE_3_FUNCTION_FUNCTIONS_OUTPUT =
233
+ "Invalid PDF Type 3 Function object, the output dimensionality of all functions shall be the same, "
234
+ + "and compatible with the value of \" Range\" ." ;
235
+ public static final String INVALID_TYPE_3_FUNCTION_FUNCTIONS_INPUT =
236
+ "Invalid PDF Type 3 Function object, all functions shall have 1 input value." ;
237
+ public static final String INVALID_TYPE_3_FUNCTION_NULL_BOUNDS =
238
+ "Invalid PDF Type 3 Function object, \" Bounds\" array should be exist and it size should corresponds "
239
+ + "to the size of \" Functions\" array." ;
240
+ public static final String INVALID_TYPE_3_FUNCTION_NULL_ENCODE =
241
+ "Invalid PDF Type 3 Function object, \" Encode\" array should be exist and it size should be 2 times "
242
+ + "more than \" Functions\" array size." ;
243
+ public static final String INVALID_TYPE_3_FUNCTION_NULL_FUNCTIONS =
244
+ "Invalid PDF Type 3 Function object, \" Functions\" array should be exist and can't be empty." ;
209
245
public static final String INVALID_RANGE_ARRAY = "Invalid range array." ;
210
246
public static final String INVALID_OFFSET_FOR_THIS_OBJECT = "Invalid offset for object {0}." ;
211
247
public static final String INVALID_XREF_STREAM = "Invalid xref stream." ;
@@ -355,6 +391,30 @@ public final class KernelExceptionMessageConstant {
355
391
+ "boolean for this collection sort dictionary." ;
356
392
public static final String QUAD_POINT_ARRAY_LENGTH_IS_NOT_A_MULTIPLE_OF_EIGHT = "The QuadPoint Array length is "
357
393
+ "not a multiple of 8." ;
394
+ public static final String FUNCTION_NOT_SET = "The output size depends on the functions, but no function is"
395
+ + " set yet." ;
396
+ public static final String INVALID_LENGTH = "The offset + length must be lower than or equal to the length of "
397
+ + "the byte array." ;
398
+ public static final String INVALID_LENGTH_FOR_WORDSIZE = "The length must be a multiple of {0}." ;
399
+ public static final String TYPE4_EXECUTION_NOT_SUPPORTED =
400
+ "Type 4 functions are not yet supported for separation color image extraction." ;
401
+ public static final String GET_IMAGEBYTES_FOR_SEPARATION_COLOR_ONLY_SUPPORTS_RGB =
402
+ "Only RGB alternate color spaces are currently supported for extracting separation color images" ;
403
+ public static final String INPUT_NOT_MULTIPLE_OF_DOMAIN_SIZE = "The size of the input array must be a multiple of "
404
+ + "the domain size" ;
405
+ public static final String INPUT_NOT_MULTIPLE_OF_RANGE_SIZE = "The size of the input array must be a multiple of "
406
+ + "the range size" ;
407
+
408
+ public static final String PDF_TYPE0_FUNCTION_NOT_NULL_PARAMETERS = "Domain, range and size must be not null" ;
409
+ public static final String PDF_TYPE0_FUNCTION_INVALID_ORDER = "Order must be equal to 1 or 3" ;
410
+ public static final String PDF_TYPE0_FUNCTION_INVALID_DOMAIN = "Invalid domain for PDF function of type 0" ;
411
+ public static final String PDF_TYPE0_FUNCTION_INVALID_RANGE = "Invalid encode array for PDF function of type 0" ;
412
+ public static final String PDF_TYPE0_FUNCTION_INVALID_SIZE = "Invalid size array for PDF function of type 0" ;
413
+ public static final String PDF_TYPE0_FUNCTION_INVALID_ENCODE = "Invalid encode array for PDF function of type 0" ;
414
+ public static final String PDF_TYPE0_FUNCTION_INVALID_DECODE = "Invalid decode array for PDF function of type 0" ;
415
+ public static final String PDF_TYPE0_FUNCTION_INVALID_SAMPLES = "Invalid samples array for PDF function of type 0" ;
416
+ public static final String PDF_TYPE0_FUNCTION_BITS_PER_SAMPLE_INVALID_VALUE =
417
+ "bitsPerSample value must be from {1, 2, 4, 8, 12, 16, 24, 32}" ;
358
418
359
419
private KernelExceptionMessageConstant (){}
360
420
}
0 commit comments