aspose.barcode 23.5.0 → 23.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Generation.js CHANGED
@@ -13,7 +13,7 @@ const joint = require("./Joint");
13
13
  * EAN14, SCC14, SSCC18, ITF14, SingaporePost ...
14
14
  * 2D:
15
15
  * Aztec, DataMatrix, PDf417, QR code ...
16
- *@example
16
+ * @example
17
17
  * // This sample shows how to create and save a barcode image.
18
18
  * let encode_type = EncodeTypes.CODE_128;
19
19
  * let generator = new BarcodeGenerator(encode_type);
@@ -203,6 +203,7 @@ class BarcodeParameters extends joint.BaseJavaClass
203
203
  code128;
204
204
  codabar;
205
205
  coupon;
206
+ hanXin;
206
207
  supplement;
207
208
  dotCode;
208
209
  padding;
@@ -236,6 +237,7 @@ class BarcodeParameters extends joint.BaseJavaClass
236
237
  this.code128 = new Code128Parameters(this.getJavaClass().getCode128Sync());
237
238
  this.codabar = new CodabarParameters(this.getJavaClass().getCodabarSync());
238
239
  this.coupon = new CouponParameters(this.getJavaClass().getCouponSync());
240
+ this.hanXin = new HanXinParameters(this.getJavaClass().getHanXinSync());
239
241
  this.supplement = new SupplementParameters(this.getJavaClass().getSupplementSync());
240
242
  this.dotCode = new DotCodeParameters(this.getJavaClass().getDotCodeSync());
241
243
  this.padding = new Padding(this.getJavaClass().getPaddingSync());
@@ -243,8 +245,8 @@ class BarcodeParameters extends joint.BaseJavaClass
243
245
  }
244
246
 
245
247
  /**
246
- * x-dimension is the smallest width of the unit of BarCode bars or spaces.
247
- * Increase this will increase the whole barcode image width.
248
+ * x-dimension is the smallest width of the unit of BarCode bars or spaces.<br>
249
+ * Increase this will increase the whole barcode image width.<br>
248
250
  * Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
249
251
  */
250
252
  getXDimension()
@@ -253,8 +255,8 @@ class BarcodeParameters extends joint.BaseJavaClass
253
255
  }
254
256
 
255
257
  /**
256
- * x-dimension is the smallest width of the unit of BarCode bars or spaces.
257
- * Increase this will increase the whole barcode image width.
258
+ * x-dimension is the smallest width of the unit of BarCode bars or spaces.<br>
259
+ * Increase this will increase the whole barcode image width.<br>
258
260
  * Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
259
261
  * @throws BarcodeException
260
262
  */
@@ -265,7 +267,7 @@ class BarcodeParameters extends joint.BaseJavaClass
265
267
  }
266
268
 
267
269
  /**
268
- * Height of 1D barcodes' bars in Unit value.
270
+ * Height of 1D barcodes' bars in Unit value.<br>
269
271
  * Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
270
272
  * @throws BarcodeException
271
273
  */
@@ -275,7 +277,7 @@ class BarcodeParameters extends joint.BaseJavaClass
275
277
  }
276
278
 
277
279
  /**
278
- * Height of 1D barcodes' bars in Unit value.
280
+ * Height of 1D barcodes' bars in Unit value.<br>
279
281
  * Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
280
282
  * @throws BarcodeException
281
283
  */
@@ -313,7 +315,7 @@ class BarcodeParameters extends joint.BaseJavaClass
313
315
  }
314
316
 
315
317
  /**
316
- * Barcode paddings.
318
+ * Barcode paddings.<br>
317
319
  * Default value: 5pt 5pt 5pt 5pt.
318
320
  */
319
321
  getPadding()
@@ -322,7 +324,7 @@ class BarcodeParameters extends joint.BaseJavaClass
322
324
  }
323
325
 
324
326
  /**
325
- * Barcode paddings.
327
+ * Barcode paddings.<br>
326
328
  * Default value: 5pt 5pt 5pt 5pt.
327
329
  */
328
330
  setPadding(value)
@@ -348,9 +350,9 @@ class BarcodeParameters extends joint.BaseJavaClass
348
350
  }
349
351
 
350
352
  /**
351
- * Enable checksum during generation 1D barcodes.
352
- * Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.
353
- * Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar
353
+ * Enable checksum during generation 1D barcodes.<br>
354
+ * Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.<br>
355
+ * Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar<br>
354
356
  * Checksum always used: Rest symbology
355
357
  */
356
358
  isChecksumEnabled()
@@ -359,9 +361,9 @@ class BarcodeParameters extends joint.BaseJavaClass
359
361
  }
360
362
 
361
363
  /**
362
- * Enable checksum during generation 1D barcodes.
363
- * Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.
364
- * Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar
364
+ * Enable checksum during generation 1D barcodes.<br>
365
+ * Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.<br>
366
+ * Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar<br>
365
367
  * Checksum always used: Rest symbology
366
368
  */
367
369
  setChecksumEnabled(value)
@@ -370,8 +372,8 @@ class BarcodeParameters extends joint.BaseJavaClass
370
372
  }
371
373
 
372
374
  /**
373
- * Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only
374
- * If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.
375
+ * Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only<br>
376
+ * If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.<br>
375
377
  * Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \\CR stands for CR.
376
378
  */
377
379
  getEnableEscape()
@@ -406,7 +408,7 @@ class BarcodeParameters extends joint.BaseJavaClass
406
408
  * Default value: 3, that is, wide bars are 3 times as wide as narrow bars.<br>
407
409
  * Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, <br>
408
410
  * VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard<br>
409
- *
411
+ * <br>
410
412
  * The WideNarrowRatio parameter value is less than or equal to 0.
411
413
  */
412
414
  setWideNarrowRatio(value)
@@ -495,11 +497,12 @@ class BarcodeParameters extends joint.BaseJavaClass
495
497
  }
496
498
 
497
499
  /**
498
- * GS1 Composite Bar parameters.
499
- *
500
- * This sample shows how to create and save a GS1 Composite Bar image.
500
+ * GS1 Composite Bar parameters.<br>
501
+ * <br>
502
+ * This sample shows how to create and save a GS1 Composite Bar image.<br>
501
503
  * Note that 1D codetext and 2D codetext are separated by symbol '/'
502
504
  *
505
+ * @example
503
506
  * let codetext = "(01)03212345678906/(21)A1B2C3D4E5F6G7H8";
504
507
  * let generator = new BarcodeGenerator(EncodeTypes.GS_1_COMPOSITE_BAR, codetext);
505
508
  *
@@ -525,11 +528,12 @@ class BarcodeParameters extends joint.BaseJavaClass
525
528
  }
526
529
 
527
530
  /**
528
- * GS1 Composite Bar parameters.
529
- *
530
- * This sample shows how to create and save a GS1 Composite Bar image.
531
+ * GS1 Composite Bar parameters.<br>
532
+ * <br>
533
+ * This sample shows how to create and save a GS1 Composite Bar image.<br>
531
534
  * Note that 1D codetext and 2D codetext are separated by symbol '/'
532
535
  *
536
+ * @example
533
537
  * let codetext = "(01)03212345678906/(21)A1B2C3D4E5F6G7H8";
534
538
  * let generator = new BarcodeGenerator(EncodeTypes.GS_1_COMPOSITE_BAR, codetext);
535
539
  *
@@ -541,10 +545,10 @@ class BarcodeParameters extends joint.BaseJavaClass
541
545
  *
542
546
  * // X-Dimension of 1D and 2D components
543
547
  * generator.getParameters().getBarcode().getXDimension().setPixels(3);
544
- * ///
548
+ *
545
549
  * // Height of 1D component
546
550
  * generator.getParameters().getBarcode().getBarHeight().setPixels(100);
547
- * ///
551
+ *
548
552
  * generator.save("test.png", BarcodeImageFormat.PNG);
549
553
  */
550
554
  setGS1CompositeBar(value)
@@ -658,6 +662,14 @@ class BarcodeParameters extends joint.BaseJavaClass
658
662
  {
659
663
  return this.coupon;
660
664
  }
665
+
666
+ /**
667
+ * HanXin parameters.
668
+ */
669
+ getHanXin()
670
+ {
671
+ return this.hanXin;
672
+ }
661
673
  }
662
674
 
663
675
  /**
@@ -690,9 +702,7 @@ class BaseGenerationParameters extends joint.BaseJavaClass
690
702
  }
691
703
 
692
704
  /**
693
- * <p>
694
705
  * Gets a value indicating whether is used anti-aliasing mode to render image
695
- * </p>
696
706
  */
697
707
  getUseAntiAlias()
698
708
  {
@@ -700,9 +710,7 @@ class BaseGenerationParameters extends joint.BaseJavaClass
700
710
  }
701
711
 
702
712
  /**
703
- * <p>
704
713
  * Sets a value indicating whether is used anti-aliasing mode to render image
705
- * </p>
706
714
  */
707
715
  setUseAntiAlias(value)
708
716
  {
@@ -735,10 +743,11 @@ class BaseGenerationParameters extends joint.BaseJavaClass
735
743
  }
736
744
 
737
745
  /**
746
+ * <p>
738
747
  * Gets the resolution of the BarCode image.<br>
739
748
  * One value for both dimensions.<br>
740
749
  * Default value: 96 dpi.<br>
741
- *
750
+ * </p>
742
751
  * The Resolution parameter value is less than or equal to 0.
743
752
  */
744
753
  getResolution()
@@ -747,9 +756,11 @@ class BaseGenerationParameters extends joint.BaseJavaClass
747
756
  }
748
757
 
749
758
  /**
759
+ * <p>
750
760
  * Sets the resolution of the BarCode image.<br>
751
761
  * One value for both dimensions.<br>
752
762
  * Default value: 96 dpi.<br>
763
+ * </p>
753
764
  *
754
765
  * The Resolution parameter value is less than or equal to 0.
755
766
  */
@@ -922,7 +933,7 @@ class BorderParameters extends joint.BaseJavaClass
922
933
  }
923
934
 
924
935
  /**
925
- * Border visibility. If false than parameter Width is always ignored (0).
936
+ * Border visibility. If false than parameter Width is always ignored (0).<br>
926
937
  * Default value: false.
927
938
  */
928
939
  getVisible()
@@ -931,7 +942,7 @@ class BorderParameters extends joint.BaseJavaClass
931
942
  }
932
943
 
933
944
  /**
934
- * Border visibility. If false than parameter Width is always ignored (0).
945
+ * Border visibility. If false than parameter Width is always ignored (0).<br>
935
946
  * Default value: false.
936
947
  */
937
948
  setVisible(value)
@@ -1013,54 +1024,6 @@ class BorderParameters extends joint.BaseJavaClass
1013
1024
  }
1014
1025
  }
1015
1026
 
1016
- /**
1017
- * Enable checksum validation during recognition for 1D barcodes.
1018
- * Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible.
1019
- * Checksum never used: Codabar
1020
- * Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN
1021
- * Checksum always used: Rest symbologies
1022
- * @example
1023
- * //This sample shows influence of ChecksumValidation on recognition quality and results
1024
- * let generator = new BarcodeGenerator(EncodeTypes.EAN_13, "1234567890128");
1025
- * generator.save("test.png", BarcodeImageFormat.PNG);
1026
- * let reader = new BarCodeReader("test.png", DecodeType.EAN_13);
1027
- * //checksum disabled
1028
- * reader.setChecksumValidation(ChecksumValidation.OFF);
1029
- * reader.readBarCodes().forEach(function(result, i, results)
1030
- * {
1031
- * console.log("BarCode CodeText: " + result.getCodeText());
1032
- * console.log("BarCode Value: " + result.getExtended().getOneD().getValue());
1033
- * console.log("BarCode Checksum: " + result.getExtended().getOneD().getCheckSum());
1034
- * });
1035
- * let reader = new BarCodeReader("test.png", DecodeType.EAN_13);
1036
- * //checksum enabled
1037
- * reader.setChecksumValidation(ChecksumValidation.ON);
1038
- * reader.readBarCodes().forEach(function(result, i, results)
1039
- * {
1040
- * console.log("BarCode CodeText: " + result.getCodeText());
1041
- * console.log("BarCode Value: " + result.getExtended().getOneD().getValue());
1042
- * console.log("BarCode Checksum: " + result.getExtended().getOneD().getCheckSum());
1043
- * });
1044
- * @enum
1045
- */
1046
- ChecksumValidation =
1047
- {
1048
- /**
1049
- * If checksum is required by the specification - it will be validated.
1050
- */
1051
- DEFAULT: 0,
1052
-
1053
- /**
1054
- * Always validate checksum if possible.
1055
- */
1056
- ON: 1,
1057
-
1058
- /**
1059
- * Do not validate checksum.
1060
- */
1061
- OFF: 2
1062
- };
1063
-
1064
1027
  /**
1065
1028
  * Caption parameters.
1066
1029
  */
@@ -1175,7 +1138,7 @@ class CaptionParameters extends joint.BaseJavaClass
1175
1138
 
1176
1139
  /**
1177
1140
  * Caption test horizontal alignment.<br>
1178
- * Default valueAlignment.Center.
1141
+ * Default TextAlignment.CENTER.
1179
1142
  */
1180
1143
  getAlignment()
1181
1144
  {
@@ -1184,7 +1147,7 @@ class CaptionParameters extends joint.BaseJavaClass
1184
1147
 
1185
1148
  /**
1186
1149
  * Caption test horizontal alignment.<br>
1187
- * Default valueAlignment.Center.
1150
+ * Default TextAlignment.CENTER.
1188
1151
  */
1189
1152
  setAlignment(value)
1190
1153
  {
@@ -1320,7 +1283,7 @@ class Unit extends joint.BaseJavaClass
1320
1283
  }
1321
1284
 
1322
1285
  /**
1323
- * Returns a human-readable string representation of this Unit.
1286
+ * Returns a human-readable string representation of this Unit.<br>
1324
1287
  * @return A string that represents this Unit.
1325
1288
  */
1326
1289
  toString()
@@ -1939,6 +1902,28 @@ class DataMatrixParameters extends joint.BaseJavaClass
1939
1902
  {
1940
1903
  }
1941
1904
 
1905
+ /**
1906
+ * <p>
1907
+ * Gets or sets a Datamatrix symbol size.
1908
+ * Default value: DataMatrixVersion.Auto.
1909
+ * </p>
1910
+ */
1911
+ getDataMatrixVersion()
1912
+ {
1913
+ return this.getJavaClass().getDataMatrixVersionSync();
1914
+ }
1915
+
1916
+ /**
1917
+ * <p>
1918
+ * Gets or sets a Datamatrix symbol size.
1919
+ * Default value: DataMatrixVersion.Auto.
1920
+ * </p>
1921
+ */
1922
+ setDataMatrixVersion(value)
1923
+ {
1924
+ this.getJavaClass().setDataMatrixVersionSync(value);
1925
+ }
1926
+
1942
1927
  /**
1943
1928
  * Gets a Datamatrix ECC type.<br>
1944
1929
  * Default value: DataMatrixEccType.ECC_200.
@@ -1975,6 +1960,92 @@ class DataMatrixParameters extends joint.BaseJavaClass
1975
1960
  this.getJavaClass().setDataMatrixEncodeModeSync(value);
1976
1961
  }
1977
1962
 
1963
+ /**
1964
+ * <p>
1965
+ * Barcode ID for Structured Append mode of Datamatrix barcode.
1966
+ * Default value: 0
1967
+ * </p>
1968
+ */
1969
+ getStructuredAppendBarcodeId()
1970
+ {
1971
+ return this.getJavaClass().getStructuredAppendBarcodeIdSync();
1972
+ }
1973
+ /**
1974
+ * <p>
1975
+ * Barcode ID for Structured Append mode of Datamatrix barcode.
1976
+ * Default value: 0
1977
+ * </p>
1978
+ */
1979
+ setStructuredAppendBarcodeId(value)
1980
+ {
1981
+ this.getJavaClass().setStructuredAppendBarcodeIdSync(value);
1982
+ }
1983
+
1984
+ /**
1985
+ * <p>
1986
+ * Barcodes count for Structured Append mode of Datamatrix barcode.
1987
+ * Default value: 0
1988
+ * </p>
1989
+ */
1990
+ getStructuredAppendBarcodesCount()
1991
+ {
1992
+ return this.getJavaClass().getStructuredAppendBarcodesCountSync();
1993
+ }
1994
+ /**
1995
+ * <p>
1996
+ * Barcodes count for Structured Append mode of Datamatrix barcode.
1997
+ * Default value: 0
1998
+ * </p>
1999
+ */
2000
+ setStructuredAppendBarcodesCount(value)
2001
+ {
2002
+ this.getJavaClass().setStructuredAppendBarcodesCountSync(value);
2003
+ }
2004
+
2005
+ /**
2006
+ * <p>
2007
+ * File ID for Structured Append mode of Datamatrix barcode.
2008
+ * Default value: 0
2009
+ * </p>
2010
+ */
2011
+ getStructuredAppendFileId()
2012
+ {
2013
+ return this.getJavaClass().getStructuredAppendFileIdSync();
2014
+ }
2015
+ /**
2016
+ * <p>
2017
+ * File ID for Structured Append mode of Datamatrix barcode.
2018
+ * Default value: 0
2019
+ * </p>
2020
+ */
2021
+ setStructuredAppendFileId(value)
2022
+ {
2023
+ this.getJavaClass().setStructuredAppendFileIdSync(value);
2024
+ }
2025
+
2026
+ /**
2027
+ * <p>
2028
+ * Used to instruct the reader to interpret the data contained within the symbol
2029
+ * as programming for reader initialization.
2030
+ * Default value: false
2031
+ * </p>
2032
+ */
2033
+ isReaderProgramming()
2034
+ {
2035
+ return this.getJavaClass().isReaderProgrammingSync();
2036
+ }
2037
+ /**
2038
+ * <p>
2039
+ * Used to instruct the reader to interpret the data contained within the symbol
2040
+ * as programming for reader initialization.
2041
+ * Default value: false
2042
+ * </p>
2043
+ */
2044
+ setReaderProgramming(value)
2045
+ {
2046
+ this.getJavaClass().setReaderProgrammingSync(value);
2047
+ }
2048
+
1978
2049
  /**
1979
2050
  * ISO/IEC 16022<br>
1980
2051
  * 5.2.4.7 Macro characters<br>
@@ -2069,6 +2140,27 @@ class DataMatrixParameters extends joint.BaseJavaClass
2069
2140
  this.getJavaClass().setCodeTextEncodingSync(value);
2070
2141
  }
2071
2142
 
2143
+ /**
2144
+ * <p>
2145
+ * Gets or sets ECI encoding. Used when DataMatrixEncodeMode is Auto.
2146
+ * Default value: ISO-8859-1
2147
+ * </p>
2148
+ */
2149
+ getECIEncoding()
2150
+ {
2151
+ return this.getJavaClass().getECIEncodingSync();
2152
+ }
2153
+ /**
2154
+ * <p>
2155
+ * Gets or sets ECI encoding. Used when DataMatrixEncodeMode is Auto.
2156
+ * Default value: ISO-8859-1
2157
+ * </p>
2158
+ */
2159
+ setECIEncoding(value)
2160
+ {
2161
+ this.getJavaClass().setECIEncodingSync(value);
2162
+ }
2163
+
2072
2164
  /**
2073
2165
  * Returns a human-readable string representation of this DataMatrixParameters.<br>
2074
2166
  * @return presentation of this DataMatrixParameters.
@@ -2236,10 +2328,8 @@ class DotCodeParameters extends joint.BaseJavaClass
2236
2328
  }
2237
2329
 
2238
2330
  /**
2239
- * <p>
2240
- * Identifies DotCode encode mode.
2331
+ * Identifies DotCode encode mode.<br>
2241
2332
  * Default value: Auto.
2242
- * </p>
2243
2333
  */
2244
2334
  getDotCodeEncodeMode()
2245
2335
  {
@@ -2248,8 +2338,8 @@ class DotCodeParameters extends joint.BaseJavaClass
2248
2338
  /**
2249
2339
  * <p>
2250
2340
  * Identifies DotCode encode mode.
2251
- * Default value: Auto.
2252
2341
  * </p>
2342
+ * Default value: Auto.
2253
2343
  */
2254
2344
  setDotCodeEncodeMode(value)
2255
2345
  {
@@ -2259,19 +2349,19 @@ class DotCodeParameters extends joint.BaseJavaClass
2259
2349
  /**
2260
2350
  * <p>
2261
2351
  * Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.
2262
- * Default value is false.
2263
2352
  * </p>
2353
+ * Default value is false.
2264
2354
  */
2265
2355
  isReaderInitialization()
2266
2356
  { return this.getJavaClass().isReaderInitializationSync(); }
2267
2357
  /**
2268
2358
  * <p>
2269
2359
  * Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.
2270
- * Default value is false.
2271
2360
  * </p>
2361
+ * Default value is false.
2272
2362
  */
2273
2363
  setReaderInitialization(value)
2274
- { this.getJavaClass().setReaderInitializationSync(value); }
2364
+ { this.getJavaClass().setReaderInitializationSync(value); }
2275
2365
 
2276
2366
  /**
2277
2367
  * <p>
@@ -2302,61 +2392,63 @@ class DotCodeParameters extends joint.BaseJavaClass
2302
2392
  * </p>
2303
2393
  */
2304
2394
  setDotCodeStructuredAppendModeBarcodesCount(value)
2305
- { this.getJavaClass().setDotCodeStructuredAppendModeBarcodesCountSync(value); }
2395
+ { this.getJavaClass().setDotCodeStructuredAppendModeBarcodesCountSync(value); }
2306
2396
 
2307
2397
  /**
2308
2398
  * <p>
2309
- * Identifies ECI encoding. Used when DotCodeEncodeMode is Auto.
2310
- * Default value: ISO-8859-1
2399
+ * Identifies ECI encoding. Used when DotCodeEncodeMode is AUTO.
2311
2400
  * </p>
2401
+ * Default value: ISO-8859-1
2312
2402
  */
2313
2403
  getECIEncoding()
2314
2404
  { return this.getJavaClass().getECIEncodingSync(); }
2315
2405
  /**
2316
2406
  * <p>
2317
- * Identifies ECI encoding. Used when DotCodeEncodeMode is Auto.
2407
+ * Identifies ECI encoding. Used when DotCodeEncodeMode is AUTO.<br>
2318
2408
  * Default value: ISO-8859-1
2319
2409
  * </p>
2320
2410
  */
2321
2411
  setECIEncoding(value)
2322
- { this.getJavaClass().setECIEncodingSync(value); }
2412
+ {
2413
+ this.getJavaClass().setECIEncodingSync(value);
2414
+ }
2323
2415
 
2324
2416
  /**
2325
2417
  * <p>
2326
2418
  * Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of rows must be at least 5.
2327
- * Default value: -1
2328
2419
  * </p>
2420
+ * Default value: -1
2329
2421
  */
2330
2422
  getRows()
2331
2423
  { return this.getJavaClass().getRowsSync(); }
2332
2424
  /**
2333
2425
  * <p>
2334
2426
  * Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of rows must be at least 5.
2335
- * Default value: -1
2336
2427
  * </p>
2428
+ * Default value: -1
2337
2429
  */
2338
2430
  setRows(value)
2339
- {
2340
- this.getJavaClass().setRowsSync(value);
2431
+ {
2432
+ this.getJavaClass().setRowsSync(value);
2341
2433
  }
2342
2434
 
2343
2435
  /**
2344
2436
  * <p>
2345
2437
  * Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of columns must be at least 5.
2346
- * Default value: -1
2347
2438
  * </p>
2439
+ * Default value: -1
2348
2440
  */
2349
2441
  getColumns()
2350
2442
  { return this.getJavaClass().getColumnsSync(); }
2351
2443
  /**
2352
2444
  * <p>
2353
2445
  * Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of columns must be at least 5.
2354
- * Default value: -1
2355
2446
  * </p>
2447
+ * Default value: -1
2356
2448
  */
2357
2449
  setColumns(value)
2358
- {
2359
- this.getJavaClass().setColumnsSync(value);
2450
+ {
2451
+ this.getJavaClass().setColumnsSync(value);
2360
2452
  }
2361
2453
 
2362
2454
  /**
@@ -2385,6 +2477,9 @@ class DotCodeParameters extends joint.BaseJavaClass
2385
2477
  }
2386
2478
  }
2387
2479
 
2480
+ /**
2481
+ * GS1 Composite bar parameters.
2482
+ */
2388
2483
  class GS1CompositeBarParameters extends joint.BaseJavaClass
2389
2484
  {
2390
2485
  constructor(javaClass)
@@ -3023,7 +3118,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
3023
3118
  }
3024
3119
 
3025
3120
  /**
3026
- * Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment.
3121
+ * Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment.<br>
3027
3122
  * Applied only for Macro PDF417.
3028
3123
  */
3029
3124
  getPdf417MacroTerminator()
@@ -3032,7 +3127,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
3032
3127
  }
3033
3128
 
3034
3129
  /**
3035
- * Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment.
3130
+ * Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment.<br>
3036
3131
  * Applied only for Macro PDF417.
3037
3132
  */
3038
3133
  setPdf417MacroTerminator(value)
@@ -3199,7 +3294,7 @@ class MaxiCodeParameters extends joint.BaseJavaClass
3199
3294
  }
3200
3295
 
3201
3296
  /**
3202
- * Sets ECI encoding. Used when MaxiCodeEncodeMode is AUTO.
3297
+ * Sets ECI encoding. Used when MaxiCodeEncodeMode is AUTO.<br>
3203
3298
  * Default value: ISO-8859-1
3204
3299
  */
3205
3300
  setECIEncoding(ECIEncoding)
@@ -3208,8 +3303,8 @@ class MaxiCodeParameters extends joint.BaseJavaClass
3208
3303
  }
3209
3304
 
3210
3305
  /**
3211
- * Gets a MaxiCode barcode id in structured append mode.
3212
- * ID must be a value between 1 and 8.
3306
+ * Gets a MaxiCode barcode id in structured append mode.<br>
3307
+ * ID must be a value between 1 and 8.<br>
3213
3308
  * Default value: 0
3214
3309
  */
3215
3310
  getMaxiCodeStructuredAppendModeBarcodeId()
@@ -3218,8 +3313,8 @@ class MaxiCodeParameters extends joint.BaseJavaClass
3218
3313
  }
3219
3314
 
3220
3315
  /**
3221
- * Sets a MaxiCode barcode id in structured append mode.
3222
- * ID must be a value between 1 and 8.
3316
+ * Sets a MaxiCode barcode id in structured append mode.<br>
3317
+ * ID must be a value between 1 and 8.<br>
3223
3318
  * Default value: 0
3224
3319
  */
3225
3320
  setMaxiCodeStructuredAppendModeBarcodeId(maxiCodeStructuredAppendModeBarcodeId)
@@ -3228,8 +3323,8 @@ class MaxiCodeParameters extends joint.BaseJavaClass
3228
3323
  }
3229
3324
 
3230
3325
  /**
3231
- * Gets a MaxiCode barcodes count in structured append mode.
3232
- * Count number must be a value between 2 and 8 (maximum barcodes count).
3326
+ * Gets a MaxiCode barcodes count in structured append mode.<br>
3327
+ * Count number must be a value between 2 and 8 (maximum barcodes count).<br>
3233
3328
  * Default value: -1
3234
3329
  */
3235
3330
  getMaxiCodeStructuredAppendModeBarcodesCount()
@@ -3238,8 +3333,8 @@ class MaxiCodeParameters extends joint.BaseJavaClass
3238
3333
  }
3239
3334
 
3240
3335
  /**
3241
- * Sets a MaxiCode barcodes count in structured append mode.
3242
- * Count number must be a value between 2 and 8 (maximum barcodes count).
3336
+ * Sets a MaxiCode barcodes count in structured append mode.<br>
3337
+ * Count number must be a value between 2 and 8 (maximum barcodes count).<br>
3243
3338
  * Default value: -1
3244
3339
  */
3245
3340
  setMaxiCodeStructuredAppendModeBarcodesCount(maxiCodeStructuredAppendModeBarcodesCount)
@@ -3680,8 +3775,6 @@ class ExtCodetextBuilder extends joint.BaseJavaClass
3680
3775
  * lTextBuilder.addPlainCodetext("t\\e\\\\st");
3681
3776
  * //generate codetext
3682
3777
  * String lCodetext = lTextBuilder.getExtendedCodetext();
3683
- *
3684
- *
3685
3778
  */
3686
3779
  class QrExtCodetextBuilder extends ExtCodetextBuilder
3687
3780
  {
@@ -3765,7 +3858,7 @@ class QrStructuredAppendParameters extends joint.BaseJavaClass
3765
3858
  }
3766
3859
 
3767
3860
  /**
3768
- * Gets the QR structured append mode parity data.
3861
+ * Gets the QR structured append mode parity data.
3769
3862
  */
3770
3863
  getParityByte()
3771
3864
  {
@@ -3773,7 +3866,7 @@ class QrStructuredAppendParameters extends joint.BaseJavaClass
3773
3866
  }
3774
3867
 
3775
3868
  /**
3776
- * Sets the QR structured append mode parity data.
3869
+ * Sets the QR structured append mode parity data.
3777
3870
  */
3778
3871
  setParityByte(value)
3779
3872
  {
@@ -3819,7 +3912,7 @@ class QrStructuredAppendParameters extends joint.BaseJavaClass
3819
3912
  *
3820
3913
  * This sample shows how to use MaxiCodeExtCodetextBuilder in Extended Mode.
3821
3914
  *
3822
- * <pre>
3915
+ * @example
3823
3916
  * //create codetext
3824
3917
  * let textBuilder = new MaxiCodeExtCodetextBuilder();
3825
3918
  * textBuilder.addECICodetext(ECIEncodings.Win1251, "Will");
@@ -3834,7 +3927,6 @@ class QrStructuredAppendParameters extends joint.BaseJavaClass
3834
3927
  * let generator = new BarcodeGenerator(EncodeTypes.MAXI_CODE, codetext);
3835
3928
  * generator.getParameters().getBarcode().getCodeTextParameters().setTwoDDisplayText("My Text");
3836
3929
  * generator.save("test.bmp", BarcodeImageFormat.BMP);
3837
- * </pre>
3838
3930
  */
3839
3931
  class MaxiCodeExtCodetextBuilder extends ExtCodetextBuilder
3840
3932
  {
@@ -3869,10 +3961,9 @@ class MaxiCodeExtCodetextBuilder extends ExtCodetextBuilder
3869
3961
 
3870
3962
  /**
3871
3963
  * <p>
3872
- * <p>Extended codetext generator for 2D DotCode barcodes for ExtendedCodetext Mode of DotCodeEncodeMode</p>
3873
- * </p><p><hr><blockquote><pre>
3874
- * <pre>
3875
- *
3964
+ * Extended codetext generator for 2D DotCode barcodes for ExtendedCodetext Mode of DotCodeEncodeMode
3965
+ * </p>
3966
+ * @example
3876
3967
  * //Extended codetext mode
3877
3968
  * //create codetext
3878
3969
  * let textBuilder = new DotCodeExtCodetextBuilder();
@@ -3890,12 +3981,8 @@ class MaxiCodeExtCodetextBuilder extends ExtCodetextBuilder
3890
3981
  * let codetext = textBuilder.getExtendedCodetext();
3891
3982
  * //generate
3892
3983
  * let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, codetext);
3893
- * {
3894
- * generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.EXTENDED_CODETEXT);
3895
- * generator.save("test.bmp", BarCodeImageFormat.BMP);
3896
- * }
3897
- * </pre>
3898
- * </pre></blockquote></hr></p>
3984
+ * generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.EXTENDED_CODETEXT);
3985
+ * generator.save("test.bmp", BarCodeImageFormat.BMP);
3899
3986
  */
3900
3987
  class DotCodeExtCodetextBuilder extends ExtCodetextBuilder
3901
3988
  {
@@ -3908,12 +3995,7 @@ class DotCodeExtCodetextBuilder extends ExtCodetextBuilder
3908
3995
  super(javaClass);
3909
3996
  }
3910
3997
 
3911
- static construct(javaClass)
3912
- {
3913
- let obj = new DotCodeExtCodetextBuilder();
3914
- obj.setJavaClass(javaClass)
3915
- return obj;
3916
- }
3998
+ init() {}
3917
3999
 
3918
4000
  /**
3919
4001
  * <p>
@@ -3967,8 +4049,6 @@ class DotCodeExtCodetextBuilder extends ExtCodetextBuilder
3967
4049
  {
3968
4050
  return this.getJavaClass().getExtendedCodetextSync();
3969
4051
  }
3970
-
3971
- init() {}
3972
4052
  }
3973
4053
 
3974
4054
  /**
@@ -4019,41 +4099,288 @@ class Code128Parameters extends joint.BaseJavaClass
4019
4099
  }
4020
4100
 
4021
4101
  /**
4022
- * BarcodeClassifications EncodeTypes classification
4023
- * @enum
4102
+ * <p>
4103
+ * Han Xin parameters.
4104
+ * </p>
4024
4105
  */
4025
- BarcodeClassifications =
4106
+ class HanXinParameters extends joint.BaseJavaClass
4107
+ {
4108
+ constructor(javaClass)
4026
4109
  {
4027
- /**
4028
- * Unspecified classification
4029
- */
4030
- NONE: 0,
4031
-
4032
- /**
4033
- * Specifies 1D-barcode
4034
- */
4035
- TYPE_1D: 1,
4036
-
4037
- /**
4038
- * Specifies 2D-barcode
4039
- */
4040
- TYPE_2D: 2,
4110
+ super(javaClass);
4111
+ this.init();
4112
+ }
4041
4113
 
4042
- /**
4043
- * Specifies POSTAL-barcode
4044
- */
4045
- POSTAL: 3,
4114
+ init()
4115
+ {
4116
+ }
4046
4117
 
4047
- /**
4048
- * Specifies DataBar-barcode
4049
- */
4050
- DATABAR: 4,
4118
+ /**
4119
+ * <p>
4120
+ * Version of HanXin Code.
4121
+ * From Version01 to Version84 for Han Xin code.
4122
+ * Default value is HanXinVersion.Auto.
4123
+ * </p>
4124
+ */
4125
+ getHanXinVersion()
4126
+ {
4127
+ return this.getJavaClass().getHanXinVersionSync();
4128
+ }
4051
4129
 
4052
- /**
4053
- * Specifies COUPON-barcode
4054
- */
4055
- COUPON: 5
4056
- };
4130
+ /**
4131
+ * <p>
4132
+ * Version of HanXin Code.
4133
+ * From Version01 to Version84 for Han Xin code.
4134
+ * Default value is HanXinVersion.Auto.
4135
+ * </p>
4136
+ */
4137
+ setHanXinVersion(value)
4138
+ {
4139
+ this.getJavaClass().setHanXinVersionSync(value);
4140
+ }
4141
+
4142
+ /**
4143
+ * <p>
4144
+ * Level of Reed-Solomon error correction for Han Xin barcode.
4145
+ * From low to high: L1, L2, L3, L4. see HanXinErrorLevel.
4146
+ * </p>
4147
+ */
4148
+ getHanXinErrorLevel()
4149
+ {
4150
+ return this.getJavaClass().getHanXinErrorLevelSync();
4151
+ }
4152
+ /**
4153
+ * <p>
4154
+ * Level of Reed-Solomon error correction for Han Xin barcode.
4155
+ * From low to high: L1, L2, L3, L4. see HanXinErrorLevel.
4156
+ * </p>
4157
+ */
4158
+ setHanXinErrorLevel(value)
4159
+ {
4160
+ this.getJavaClass().setHanXinErrorLevelSync(value);
4161
+ }
4162
+
4163
+ /**
4164
+ * <p>
4165
+ * HanXin encoding mode.
4166
+ * Default value: HanXinEncodeMode.Mixed.
4167
+ * </p>
4168
+ */
4169
+ getHanXinEncodeMode()
4170
+ {
4171
+ return this.getJavaClass().getHanXinEncodeModeSync();
4172
+ }
4173
+ /**
4174
+ * <p>
4175
+ * HanXin encoding mode.
4176
+ * Default value: HanXinEncodeMode.Mixed.
4177
+ * </p>
4178
+ */
4179
+ setHanXinEncodeMode(value)
4180
+ {
4181
+ this.getJavaClass().setHanXinEncodeModeSync(value);
4182
+ }
4183
+
4184
+ /**
4185
+ * <p>
4186
+ * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
4187
+ * about the used references for encoding the data in the symbol.
4188
+ * Current implementation consists all well known charset encodings.
4189
+ * </p>
4190
+ */
4191
+ getHanXinECIEncoding()
4192
+ {
4193
+ return this.getJavaClass().getHanXinECIEncodingSync();
4194
+ }
4195
+ /**
4196
+ * <p>
4197
+ * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
4198
+ * about the used references for encoding the data in the symbol.
4199
+ * Current implementation consists all well known charset encodings.
4200
+ * </p>
4201
+ */
4202
+ setHanXinECIEncoding(value)
4203
+ {
4204
+ this.getJavaClass().setHanXinECIEncodingSync(value);
4205
+ }
4206
+
4207
+
4208
+ /**
4209
+ * <p>
4210
+ * Returns a human-readable string representation of this {@code HanXinParameters}.
4211
+ * </p>
4212
+ * @return A string that represents this {@code HanXinParameters}.
4213
+ */
4214
+ toString()
4215
+ {
4216
+ return this.getJavaClass().toStringSync();
4217
+ }
4218
+ }
4219
+
4220
+ /**
4221
+ * <p>
4222
+ * <p>Extended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode</p>
4223
+ * </p><p><hr><blockquote><pre>
4224
+ * <pre>
4225
+ * //Extended codetext mode
4226
+ * //create codetext
4227
+ * let textBuilder = new DataMatrixExtCodetextBuilder();
4228
+ * codetextBuilder.addECICodetextWithEncodeMode(ECIEncodings.Win1251, DataMatrixEncodeMode.BYTES, "World");
4229
+ * codetextBuilder.addPlainCodetext("Will");
4230
+ * codetextBuilder.addECICodetext(ECIEncodings.UTF_8, "犬Right狗");
4231
+ * codetextBuilder.addCodetextWithEncodeMode(DataMatrixEncodeMode.C_40, "ABCDE");
4232
+ * //generate codetext
4233
+ * let codetext = textBuilder.getExtendedCodetext();
4234
+ * //generate
4235
+ * let generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, null, codetext);
4236
+ * generator.getParameters().getBarcode().getDataMatrix().setDataMatrixEncodeMode(DataMatrixEncodeMode.EXTENDED_CODETEXT);
4237
+ * generator.save("test.bmp", BarcodeImageFormat.BMP);
4238
+ * </pre>
4239
+ * </pre>
4240
+ * </pre></blockquote></hr></p>
4241
+ */
4242
+ class DataMatrixExtCodetextBuilder extends ExtCodetextBuilder
4243
+ {
4244
+ static JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwDataMatrixExtCodetextBuilder";
4245
+
4246
+ constructor()
4247
+ {
4248
+ let java_class_link = java.import(DataMatrixExtCodetextBuilder.JAVA_CLASS_NAME);
4249
+ let javaClass = new java_class_link();
4250
+ super(javaClass);
4251
+ }
4252
+
4253
+ static construct(javaClass)
4254
+ {
4255
+ let obj = new DataMatrixExtCodetextBuilder();
4256
+ obj.setJavaClass(javaClass);
4257
+ return obj;
4258
+ }
4259
+
4260
+ init()
4261
+ {
4262
+ }
4263
+ /**
4264
+ * <p>
4265
+ * Adds codetext with Extended Channel Identifier with defined encode mode
4266
+ * </p>
4267
+ * @param ECIEncoding Extended Channel Identifier
4268
+ * @param encodeMode Encode mode value
4269
+ * @param codetext Codetext in unicode to add as extended codetext item with Extended Channel Identifier with defined encode mode
4270
+ */
4271
+ addECICodetextWithEncodeMode(ECIEncoding, encodeMode, codetext)
4272
+ {
4273
+ this.getJavaClass().addECICodetextWithEncodeModeSync(ECIEncoding, encodeMode, codetext);
4274
+ }
4275
+
4276
+ /**
4277
+ * <p>
4278
+ * Adds codetext with defined encode mode to the extended codetext items
4279
+ * </p>
4280
+ * @param encodeMode Encode mode value
4281
+ * @param codetext Codetext in unicode to add as extended codetext item
4282
+ */
4283
+ addCodetextWithEncodeMode(encodeMode, codetext)
4284
+ {
4285
+ this.getJavaClass().addCodetextWithEncodeModeSync(encodeMode, codetext);
4286
+ }
4287
+
4288
+ /**
4289
+ * <p>
4290
+ * Generates Extended codetext from the extended codetext list.
4291
+ * </p>
4292
+ * @return Extended codetext as string
4293
+ */
4294
+ getExtendedCodetext()
4295
+ {
4296
+ return this.getJavaClass().getExtendedCodetextSync();
4297
+ }
4298
+ }
4299
+
4300
+ /**
4301
+ * Enable checksum validation during recognition for 1D barcodes.<br>
4302
+ * Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible.<br>
4303
+ * Checksum never used: Codabar<br>
4304
+ * Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN<br>
4305
+ * Checksum always used: Rest symbologies
4306
+ * @example
4307
+ * //This sample shows influence of ChecksumValidation on recognition quality and results
4308
+ * let generator = new BarcodeGenerator(EncodeTypes.EAN_13, "1234567890128");
4309
+ * generator.save("test.png", BarcodeImageFormat.PNG);
4310
+ * let reader = new BarCodeReader("test.png", DecodeType.EAN_13);
4311
+ * //checksum disabled
4312
+ * reader.setChecksumValidation(ChecksumValidation.OFF);
4313
+ * reader.readBarCodes().forEach(function(result, i, results)
4314
+ * {
4315
+ * console.log("BarCode CodeText: " + result.getCodeText());
4316
+ * console.log("BarCode Value: " + result.getExtended().getOneD().getValue());
4317
+ * console.log("BarCode Checksum: " + result.getExtended().getOneD().getCheckSum());
4318
+ * });
4319
+ * let reader = new BarCodeReader("test.png", DecodeType.EAN_13);
4320
+ * //checksum enabled
4321
+ * reader.setChecksumValidation(ChecksumValidation.ON);
4322
+ * reader.readBarCodes().forEach(function(result, i, results)
4323
+ * {
4324
+ * console.log("BarCode CodeText: " + result.getCodeText());
4325
+ * console.log("BarCode Value: " + result.getExtended().getOneD().getValue());
4326
+ * console.log("BarCode Checksum: " + result.getExtended().getOneD().getCheckSum());
4327
+ * });
4328
+ * @enum
4329
+ */
4330
+ ChecksumValidation =
4331
+ {
4332
+ /**
4333
+ * If checksum is required by the specification - it will be validated.
4334
+ */
4335
+ DEFAULT: 0,
4336
+
4337
+ /**
4338
+ * Always validate checksum if possible.
4339
+ */
4340
+ ON: 1,
4341
+
4342
+ /**
4343
+ * Do not validate checksum.
4344
+ */
4345
+ OFF: 2
4346
+ };
4347
+
4348
+ /**
4349
+ * BarcodeClassifications EncodeTypes classification
4350
+ * @enum
4351
+ */
4352
+ BarcodeClassifications =
4353
+ {
4354
+ /**
4355
+ * Unspecified classification
4356
+ */
4357
+ NONE: 0,
4358
+
4359
+ /**
4360
+ * Specifies 1D-barcode
4361
+ */
4362
+ TYPE_1D: 1,
4363
+
4364
+ /**
4365
+ * Specifies 2D-barcode
4366
+ */
4367
+ TYPE_2D: 2,
4368
+
4369
+ /**
4370
+ * Specifies POSTAL-barcode
4371
+ */
4372
+ POSTAL: 3,
4373
+
4374
+ /**
4375
+ * Specifies DataBar-barcode
4376
+ */
4377
+ DATABAR: 4,
4378
+
4379
+ /**
4380
+ * Specifies COUPON-barcode
4381
+ */
4382
+ COUPON: 5
4383
+ };
4057
4384
 
4058
4385
  /**
4059
4386
  * FontStyle classification
@@ -4061,10 +4388,25 @@ BarcodeClassifications =
4061
4388
  */
4062
4389
  FontStyle =
4063
4390
  {
4391
+ /**
4392
+ * Bold text
4393
+ */
4064
4394
  BOLD: 1,
4395
+ /**
4396
+ * Italic text
4397
+ */
4065
4398
  ITALIC: 2,
4399
+ /**
4400
+ * Normal text
4401
+ */
4066
4402
  REGULAR: 0,
4403
+ /**
4404
+ * Text with a line through the middle.
4405
+ */
4067
4406
  STRIKEOUT: 8,
4407
+ /**
4408
+ * Underlined text.
4409
+ */
4068
4410
  UNDERLINE: 4
4069
4411
  };
4070
4412
 
@@ -4099,24 +4441,20 @@ CodabarSymbol =
4099
4441
  */
4100
4442
  DataMatrixEncodeMode =
4101
4443
  {
4102
-
4103
4444
  /**
4104
4445
  * Automatically pick up the best encode mode for datamatrix encoding
4105
4446
  */
4106
4447
  AUTO: 0,
4448
+
4107
4449
  /**
4108
4450
  * Encodes one alphanumeric or two numeric characters per byte
4109
4451
  */
4110
4452
  ASCII: 1,
4453
+
4111
4454
  /**
4112
4455
  * Encode 8 bit values
4113
4456
  */
4114
- FULL: 6,
4115
- /**
4116
- * Encode with the encoding specified in BarCodeGenerator.CodeTextEncoding
4117
- */
4118
- CUSTOM: 7,
4119
-
4457
+ BYTES: 6,
4120
4458
 
4121
4459
  /**
4122
4460
  * Uses C40 encoding. Encodes Upper-case alphanumeric, Lower case and special characters
@@ -4139,10 +4477,10 @@ DataMatrixEncodeMode =
4139
4477
  ANSIX12: 11,
4140
4478
 
4141
4479
  /**
4142
- * ExtendedCodetext mode allows to manually switch encodation schemes in codetext.
4143
- * Allowed encodation schemes are: EDIFACT, ANSIX12, ASCII, C40, Text, Auto.
4144
- * Extended codetext example: @"\ansix12:ANSIX12TEXT\ascii:backslash must be \\ doubled\edifact:EdifactEncodedText"
4145
- * All backslashes (\) must be doubled in text.
4480
+ * ExtendedCodetext mode allows to manually switch encodation schemes in codetext.<br>
4481
+ * Allowed encodation schemes are: EDIFACT, ANSIX12, ASCII, C40, Text, Auto.<br>
4482
+ * Extended codetext example: @"\ansix12:ANSIX12TEXT\ascii:backslash must be \\ doubled\edifact:EdifactEncodedText"<br>
4483
+ * All backslashes (\) must be doubled in text.<br>
4146
4484
  *
4147
4485
  * @example
4148
4486
  * //This sample shows how to do codetext in Extended Mode.
@@ -4216,26 +4554,26 @@ ITF14BorderType =
4216
4554
  /**
4217
4555
  * Encoding mode for QR barcodes. It is recommended to Use AUTO with CodeTextEncoding = Encoding.UTF8 for latin symbols or digits and UTF_8_BOM for unicode symbols.
4218
4556
  * @example
4219
- * //Example how to use ECI encoding
4220
- * let generator = new BarcodeGenerator(EncodeTypes.QR);
4221
- * generator.setCodeText("12345TEXT");
4222
- * generator.getParameters().getBarcode().getQR().setQrEncodeMode(QREncodeMode.ECI_ENCODING);
4223
- * generator.getParameters().getBarcode().getQR().setQrEncodeType(QREncodeType.FORCE_QR);
4224
- * generator.getParameters().getBarcode().getQR().setQrECIEncoding(ECIEncodings.UTF8);
4225
- * generator.save("test.png", BarcodeImageFormat.PNG);
4557
+ * //Example how to use ECI encoding
4558
+ * let generator = new BarcodeGenerator(EncodeTypes.QR);
4559
+ * generator.setCodeText("12345TEXT");
4560
+ * generator.getParameters().getBarcode().getQR().setQrEncodeMode(QREncodeMode.ECI_ENCODING);
4561
+ * generator.getParameters().getBarcode().getQR().setQrEncodeType(QREncodeType.FORCE_QR);
4562
+ * generator.getParameters().getBarcode().getQR().setQrECIEncoding(ECIEncodings.UTF8);
4563
+ * generator.save("test.png", BarcodeImageFormat.PNG);
4226
4564
  *
4227
4565
  * @example
4228
- * //Example how to use FNC1 first position in Extended Mode
4229
- * QrExtCodetextBuilder textBuilder = new QrExtCodetextBuilder();
4230
- * textBuilder.addPlainCodetext("000%89%%0");
4231
- * textBuilder.addFNC1GroupSeparator();
4232
- * textBuilder.addPlainCodetext("12345&lt;FNC1&gt;");
4233
- * //generate barcode
4234
- * let generator = new BarcodeGenerator(EncodeTypes.QR);
4235
- * generator.setCodeText(textBuilder.getExtendedCodetext());
4236
- * generator.getParameters().getBarcode().getQR().setQrEncodeMode(QREncodeMode.EXTENDED_CODETEXT);
4237
- * generator.getParameters().getBarcode().getCodeTextParameters().setTwoDDisplayText("My Text");
4238
- * generator.save("d:/test.png", BarcodeImageFormat.PNG);
4566
+ * //Example how to use FNC1 first position in Extended Mode
4567
+ * QrExtCodetextBuilder textBuilder = new QrExtCodetextBuilder();
4568
+ * textBuilder.addPlainCodetext("000%89%%0");
4569
+ * textBuilder.addFNC1GroupSeparator();
4570
+ * textBuilder.addPlainCodetext("12345&lt;FNC1&gt;");
4571
+ * //generate barcode
4572
+ * let generator = new BarcodeGenerator(EncodeTypes.QR);
4573
+ * generator.setCodeText(textBuilder.getExtendedCodetext());
4574
+ * generator.getParameters().getBarcode().getQR().setQrEncodeMode(QREncodeMode.EXTENDED_CODETEXT);
4575
+ * generator.getParameters().getBarcode().getCodeTextParameters().setTwoDDisplayText("My Text");
4576
+ * generator.save("d:/test.png", BarcodeImageFormat.PNG);
4239
4577
  *
4240
4578
  * @example
4241
4579
  * // This sample shows how to use FNC1 second position in Extended Mode.
@@ -4293,20 +4631,18 @@ QREncodeMode =
4293
4631
  ECI_ENCODING: 4,
4294
4632
 
4295
4633
  /**
4296
- * <p>
4297
- * <p>Extended Channel mode which supports FNC1 first position, FNC1 second position and multi ECI modes.</p>
4298
- * <p>It is better to use QrExtCodetextBuilder for extended codetext generation.</p>
4299
- * <p>Use Display2DText property to set visible text to removing managing characters.</p>
4300
- * <p>Encoding Principles:</p>
4301
- * <p>All symbols "\" must be doubled "\\" in the codetext.</p>
4302
- * <p>FNC1 in first position is set in codetext as as "&lt;FNC1&gt;"</p>
4303
- * <p>FNC1 in second position is set in codetext as as "&lt;FNC1(value)&gt;". The value must be single symbols (a-z, A-Z) or digits from 0 to 99.</p>
4304
- * <p>Group Separator for FNC1 modes is set as 0x1D character '\\u001D' </p>
4305
- * <p> If you need to insert "&lt;FNC1&gt;" string into barcode write it as "&lt;\FNC1&gt;" </p>
4306
- * <p>ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier</p>
4307
- * <p>TO disable current ECI mode and convert to default JIS8 mode zero mode ECI indetifier is set. "\000000"</p>
4308
- * <p>All unicode characters after ECI identifier are automatically encoded into correct character codeset.</p>
4309
- * </p>
4634
+ * Extended Channel mode which supports FNC1 first position, FNC1 second position and multi ECI modes.<br>
4635
+ * It is better to use QrExtCodetextBuilder for extended codetext generation.<br>
4636
+ * Use Display2DText property to set visible text to removing managing characters.<br>
4637
+ * Encoding Principles:<br>
4638
+ * All symbols "\" must be doubled "\\" in the codetext.<br>
4639
+ * FNC1 in first position is set in codetext as as "&lt;FNC1&gt;"<br>
4640
+ * FNC1 in second position is set in codetext as as "&lt;FNC1(value)&gt;". The value must be single symbols (a-z, A-Z) or digits from 0 to 99.<br>
4641
+ * Group Separator for FNC1 modes is set as 0x1D character '\\u001D' <br>
4642
+ * If you need to insert "&lt;FNC1&gt;" string into barcode write it as "&lt;\FNC1&gt;" <br>
4643
+ * ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier<br>
4644
+ * TO disable current ECI mode and convert to default JIS8 mode zero mode ECI indetifier is set. "\000000"<br>
4645
+ * All unicode characters after ECI identifier are automatically encoded into correct character codeset.<br>
4310
4646
  */
4311
4647
  EXTENDED_CODETEXT: 5
4312
4648
 
@@ -4357,7 +4693,7 @@ DataMatrixEccType =
4357
4693
  QRVersion =
4358
4694
  {
4359
4695
  /**
4360
- * Specifies to automatically pick up the best version for QR.
4696
+ * Specifies to automatically pick up the best version for QR.<br>
4361
4697
  * This is default value.
4362
4698
  */
4363
4699
  AUTO: 0,
@@ -4597,23 +4933,23 @@ QRVersion =
4597
4933
  AztecSymbolMode =
4598
4934
  {
4599
4935
  /**
4600
- * Specifies to automatically pick up the best symbol (COMPACT or FULL-range) for Aztec.
4936
+ * Specifies to automatically pick up the best symbol (COMPACT or FULL-range) for Aztec.<br>
4601
4937
  * This is default value.
4602
4938
  * @enum
4603
4939
  */
4604
4940
  AUTO: 0,
4605
4941
  /**
4606
- * Specifies the COMPACT symbol for Aztec.
4942
+ * Specifies the COMPACT symbol for Aztec.<br>
4607
4943
  * Aztec COMPACT symbol permits only 1, 2, 3 or 4 layers.
4608
4944
  */
4609
4945
  COMPACT: 1,
4610
4946
  /**
4611
- * Specifies the FULL-range symbol for Aztec.
4947
+ * Specifies the FULL-range symbol for Aztec.<br>
4612
4948
  * Aztec FULL-range symbol permits from 1 to 32 layers.
4613
4949
  */
4614
4950
  FULL_RANGE: 2,
4615
4951
  /**
4616
- * Specifies the RUNE symbol for Aztec.
4952
+ * Specifies the RUNE symbol for Aztec.<br>
4617
4953
  * Aztec Runes are a series of small but distinct machine-readable marks. It permits only number value from 0 to 255.
4618
4954
  */
4619
4955
  RUNE: 3
@@ -4715,7 +5051,7 @@ QRErrorLevel =
4715
5051
 
4716
5052
 
4717
5053
  /**
4718
- * QR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR.
5054
+ * QR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR.<br>
4719
5055
  * FORCE_MICRO_QR is used for strongly MicroQR symbol generation if it is possible.
4720
5056
  * @enum
4721
5057
  */
@@ -4836,18 +5172,20 @@ AutoSizeMode =
4836
5172
  NONE: 0, //or CUSTOM, or DEFAULT
4837
5173
 
4838
5174
  /**
4839
- * Barcode resizes to nearest lowest possible size
5175
+ * Barcode resizes to nearest lowest possible size<br>
4840
5176
  * which are specified by BarCodeWidth and BarCodeHeight properties.
4841
5177
  */
4842
5178
  NEAREST: 1,
4843
5179
 
4844
5180
  /**
4845
- * Resizes barcode to specified size with little scaling
4846
- * but it can be little damaged in some cases
4847
- * because using interpolation for scaling.
4848
- * Size can be specified by BarcodeGenerator.BarCodeWidth
4849
- * and BarcodeGenerator.BarCodeHeight properties.
5181
+ * Resizes barcode to specified size with little scaling<br>
5182
+ * but it can be little damaged in some cases<br>
5183
+ * because using interpolation for scaling.<br>
5184
+ * Size can be specified by BarcodeGenerator.BarCodeWidth<br>
5185
+ * and BarcodeGenerator.BarCodeHeight properties.<br>
5186
+ * @example
4850
5187
  * This sample shows how to create and save a BarCode image in Scale mode.
5188
+ *
4851
5189
  * let generator = new BarcodeGenerator( EncodeTypes.DATA_MATRIX);
4852
5190
  * generator.getParameters().getBarcode().setAutoSizeMode(AutoSizeMode.INTERPOLATION);
4853
5191
  * generator.getParameters().getBarcode().getBarCodeWidth().setMillimeters(50);
@@ -5047,7 +5385,7 @@ EncodeTypes =
5047
5385
  VIN: 26,
5048
5386
 
5049
5387
  /**
5050
- * Represents Deutsch Post barcode, This EncodeType is also known as Identcode,CodeIdentcode,German Postal 2 of 5 Identcode,
5388
+ * Represents Deutsch Post barcode, This EncodeType is also known as Identcode,CodeIdentcode,German Postal 2 of 5 Identcode,<br>
5051
5389
  * Deutsch Post AG Identcode, Deutsch Frachtpost Identcode, Deutsch Post AG (DHL)
5052
5390
  */
5053
5391
  DEUTSCHE_POST_IDENTCODE: 27,
@@ -5228,7 +5566,8 @@ EncodeTypes =
5228
5566
  DUTCH_KIX: 61,
5229
5567
 
5230
5568
  /**
5231
- * Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification.
5569
+ * Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification.<br>
5570
+ * @example
5232
5571
  * An example of the input string:
5233
5572
  * BarCodeGenerator.setCodetext("514141100906(8102)03"),
5234
5573
  * where UPCA part is "514141100906", GS1Code128 part is (8102)03.
@@ -5236,7 +5575,8 @@ EncodeTypes =
5236
5575
  UPCA_GS_1_CODE_128_COUPON: 62,
5237
5576
 
5238
5577
  /**
5239
- * Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification.
5578
+ * Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification.<br>
5579
+ * @example
5240
5580
  * An example of the input string:
5241
5581
  * BarCodeGenerator.setCodetext("514141100906(8110)106141416543213500110000310123196000"),
5242
5582
  * where UPCA part is "514141100906, DATABAR part is "(8110)106141416543213500110000310123196000".
@@ -5336,6 +5676,16 @@ EncodeTypes =
5336
5676
  */
5337
5677
  GS_1_DOT_CODE: 78,
5338
5678
 
5679
+ /**
5680
+ * Specifies that the data should be encoded with <b>Han Xin</b> barcode specification
5681
+ */
5682
+ HAN_XIN: 79,
5683
+
5684
+ /**
5685
+ * 2D barcode symbology QR with GS1 string format
5686
+ */
5687
+ GS_1_HAN_XIN: 80,
5688
+
5339
5689
  parse(encodeTypeName)
5340
5690
  {
5341
5691
  if(encodeTypeName == "CODABAR") return 0;
@@ -5496,15 +5846,28 @@ EncodeTypes =
5496
5846
 
5497
5847
  else if(encodeTypeName == "GS_1_DOT_CODE") return 78;
5498
5848
 
5849
+ else if(encodeTypeName == "HAN_XIN") return 79;
5850
+
5851
+ else if(encodeTypeName == "GS_1_HAN_XIN") return 80;
5852
+
5499
5853
  else return -1;
5500
5854
  }
5501
5855
  }
5502
5856
 
5503
5857
  /**
5504
- * Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes.
5505
- * 05 Macro craracter is translated to "[)>\u001E05\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
5506
- * 06 Macro craracter is translated to "[)>\u001E06\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
5507
- * @enum
5858
+ * Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes.<br>
5859
+ * 05 Macro craracter is translated to "[)>\u001E05\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.<br>
5860
+ * 06 Macro craracter is translated to "[)>\u001E06\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
5861
+ *
5862
+ * \code
5863
+ * //to generate autoidentified GS1 message like this "(10)123ABC(10)123ABC" in ISO 15434 format you need:
5864
+ * BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, "10123ABC\u001D10123ABC");
5865
+ * generator.getParameters().getBarcode().getDataMatrix().setMacroCharacters(MacroCharacter.MACRO_05);
5866
+ * BarCodeReader reader = new BarCodeReader(generator.generateBarCodeImage(), DecodeType.GS_1_DATA_MATRIX);
5867
+ * for(BarCodeResult result : reader.readBarCodes())
5868
+ * System.out.println("BarCode CodeText: " + result.getCodeText());
5869
+ * \endcode
5870
+ * @enum
5508
5871
  */
5509
5872
  MacroCharacter =
5510
5873
  {
@@ -5514,10 +5877,11 @@ MacroCharacter =
5514
5877
  NONE: 0,
5515
5878
 
5516
5879
  /**
5517
- * 05 Macro craracter is added to barcode data in first position.
5518
- * GS1 Data Identifier ISO 15434
5880
+ * 05 Macro craracter is added to barcode data in first position.<br>
5881
+ * GS1 Data Identifier ISO 15434<br>
5519
5882
  * Character is translated to "[)>\u001E05\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
5520
5883
  *
5884
+ * @example
5521
5885
  * //to generate autoidentified GS1 message like this "(10)123ABC(10)123ABC" in ISO 15434 format you need:
5522
5886
  * let generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, "10123ABC\u001D10123ABC");
5523
5887
  * generator.getParameters().getBarcode().getDataMatrix().setMacroCharacters(MacroCharacter.MACRO_05);
@@ -5530,8 +5894,8 @@ MacroCharacter =
5530
5894
  MACRO_05: 5,
5531
5895
 
5532
5896
  /**
5533
- * 06 Macro craracter is added to barcode data in first position.
5534
- * ASC MH10 Data Identifier ISO 15434
5897
+ * 06 Macro craracter is added to barcode data in first position.<br>
5898
+ * ASC MH10 Data Identifier ISO 15434<br>
5535
5899
  * Character is translated to "[)>\u001E06\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
5536
5900
  */
5537
5901
  MACRO_06: 6
@@ -5570,10 +5934,11 @@ PatchFormat =
5570
5934
  };
5571
5935
 
5572
5936
  /**
5573
- * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
5574
- * about the used references for encoding the data in the symbol.
5575
- * Current implementation consists all well known charset encodings.
5937
+ * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details<br>
5938
+ * about the used references for encoding the data in the symbol.<br>
5939
+ * Current implementation consists all well known charset encodings.<br>
5576
5940
  * Currently, it is used only for QR 2D barcode.
5941
+ *
5577
5942
  * @example
5578
5943
  * let generator = new BarcodeGenerator(EncodeTypes.QR);
5579
5944
  * generator.setCodeText("12345TEXT");
@@ -5808,6 +6173,7 @@ BarCodeImageFormat =
5808
6173
  SVG: 7
5809
6174
  };
5810
6175
 
6176
+
5811
6177
  /**
5812
6178
  * Type of 2D component
5813
6179
  * This sample shows how to create and save a GS1 Composite Bar image.
@@ -5861,7 +6227,7 @@ TwoDComponentType =
5861
6227
  Pdf417MacroTerminator =
5862
6228
  {
5863
6229
  /**
5864
- * The terminator will be added automatically if the number of segments is provided
6230
+ * The terminator will be added automatically if the number of segments is provided<br>
5865
6231
  * and the current segment is the last one. In other cases, the terminator will not be added.
5866
6232
  */
5867
6233
  AUTO: 0,
@@ -5885,11 +6251,10 @@ Pdf417MacroTerminator =
5885
6251
  * //Auto mode
5886
6252
  * let codetext = "犬Right狗";
5887
6253
  * let generator = new BarcodeGenerator(EncodeTypes.MAXI_CODE, codetext));
5888
- * {
5889
- * generator.getParameters().getBarcode().getMaxiCode().setECIEncoding(ECIEncodings.UTF8);
5890
- * generator.save("test.bmp", BarcodeImageFormat.BMP);
5891
- * }
6254
+ * generator.getParameters().getBarcode().getMaxiCode().setECIEncoding(ECIEncodings.UTF8);
6255
+ * generator.save("test.bmp", BarcodeImageFormat.BMP);
5892
6256
  *
6257
+ * @example
5893
6258
  * //Bytes mode
5894
6259
  * let encodedArr = [ 0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9 ];
5895
6260
  *
@@ -5901,10 +6266,11 @@ Pdf417MacroTerminator =
5901
6266
  * });
5902
6267
  * let codetext = strBld;
5903
6268
  *
5904
- * let generator1 = new BarcodeGenerator(EncodeTypes.MAXI_CODE, codetext))
6269
+ * let generator = new BarcodeGenerator(EncodeTypes.MAXI_CODE, codetext))
5905
6270
  * generator.getParameters().getBarcode().getMaxiCode().setMaxiCodeEncodeMode(MaxiCodeEncodeMode.BYTES);
5906
6271
  * generator.save("test.bmp", BarcodeImageFormat.BMP);
5907
6272
  *
6273
+ * @example
5908
6274
  * //Extended codetext mode
5909
6275
  * //create codetext
5910
6276
  * let textBuilder = new MaxiCodeExtCodetextBuilder();
@@ -5923,33 +6289,33 @@ Pdf417MacroTerminator =
5923
6289
  * generator.save("test.bmp", BarcodeImageFormat.BMP);
5924
6290
  */
5925
6291
  MaxiCodeEncodeMode =
5926
- {
5927
-
5928
- /**
5929
- * Encode codetext with value set in the ECIEncoding property.
5930
- */
5931
- AUTO: 0,
5932
-
5933
- /**
5934
- * Encode codetext as plain bytes. If it detects any Unicode character, the character will be encoded as two bytes, lower byte first.
5935
- */
5936
- BYTES: 1,
5937
-
5938
- /**
5939
- * Extended mode which supports multi ECI modes.
5940
- * It is better to use MaxiCodeExtCodetextBuilder for extended codetext generation.
5941
- * Use Display2DText property to set visible text to removing managing characters.
5942
- * ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier
5943
- * All unicode characters after ECI identifier are automatically encoded into correct character codeset.
5944
- */
5945
- EXTENDED_CODETEXT: 2
5946
- }
6292
+ {
6293
+
6294
+ /**
6295
+ * Encode codetext with value set in the ECIEncoding property.
6296
+ */
6297
+ AUTO: 0,
6298
+
6299
+ /**
6300
+ * Encode codetext as plain bytes. If it detects any Unicode character, the character will be encoded as two bytes, lower byte first.
6301
+ */
6302
+ BYTES: 1,
6303
+
6304
+ /**
6305
+ * Extended mode which supports multi ECI modes.<br>
6306
+ * It is better to use MaxiCodeExtCodetextBuilder for extended codetext generation.<br>
6307
+ * Use Display2DText property to set visible text to removing managing characters.<br>
6308
+ * ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier<br>
6309
+ * All unicode characters after ECI identifier are automatically encoded into correct character codeset.
6310
+ */
6311
+ EXTENDED_CODETEXT: 2
6312
+ }
5947
6313
 
5948
6314
  /**
5949
- * Encoding mode for MaxiCode barcodes.
6315
+ * Encoding mode for MaxiCode barcodes.<br>
5950
6316
  *
5951
- * This sample shows how to genereate MaxiCode barcodes using ComplexBarcodeGenerator
5952
6317
  * @example
6318
+ * This sample shows how to genereate MaxiCode barcodes using ComplexBarcodeGenerator
5953
6319
  * //Mode 2 with standart second message
5954
6320
  * let maxiCodeCodetext = new MaxiCodeCodetextMode2();
5955
6321
  * maxiCodeCodetext.setPostalCode("524032140");
@@ -5961,6 +6327,7 @@ MaxiCodeEncodeMode =
5961
6327
  * let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
5962
6328
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
5963
6329
  *
6330
+ * @example
5964
6331
  * //Mode 2 with structured second message
5965
6332
  * let maxiCodeCodetext = new MaxiCodeCodetextMode2();
5966
6333
  * maxiCodeCodetext.setPostalCode("524032140");
@@ -5975,6 +6342,7 @@ MaxiCodeEncodeMode =
5975
6342
  * let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
5976
6343
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
5977
6344
  *
6345
+ * @example
5978
6346
  * //Mode 3 with standart second message
5979
6347
  * let maxiCodeCodetext = new MaxiCodeCodetextMode3();
5980
6348
  * maxiCodeCodetext.setPostalCode("B1050");
@@ -5986,6 +6354,7 @@ MaxiCodeEncodeMode =
5986
6354
  * let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
5987
6355
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
5988
6356
  *
6357
+ * @example
5989
6358
  * //Mode 3 with structured second message
5990
6359
  * let maxiCodeCodetext = new MaxiCodeCodetextMode3();
5991
6360
  * maxiCodeCodetext.setPostalCode("B1050");
@@ -6000,6 +6369,7 @@ MaxiCodeEncodeMode =
6000
6369
  * let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext();
6001
6370
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
6002
6371
  *
6372
+ * @example
6003
6373
  * //Mode 4
6004
6374
  * let maxiCodeCodetext = new MaxiCodeStandardCodetext();
6005
6375
  * maxiCodeCodetext.setMode(MaxiCodeMode.MODE_4);
@@ -6007,6 +6377,7 @@ MaxiCodeEncodeMode =
6007
6377
  * let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext();
6008
6378
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
6009
6379
  *
6380
+ * @example
6010
6381
  * //Mode 5
6011
6382
  * let maxiCodeCodetext = new MaxiCodeStandardCodetext();
6012
6383
  * maxiCodeCodetext.setMode(MaxiCodeMode.MODE_5);
@@ -6014,6 +6385,7 @@ MaxiCodeEncodeMode =
6014
6385
  * let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext())
6015
6386
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
6016
6387
  *
6388
+ * @example
6017
6389
  * //Mode 6
6018
6390
  * let maxiCodeCodetext = new MaxiCodeStandardCodetext();
6019
6391
  * maxiCodeCodetext.setMode(MaxiCodeMode.MODE_6);
@@ -6022,68 +6394,69 @@ MaxiCodeEncodeMode =
6022
6394
  * complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
6023
6395
  */
6024
6396
  MaxiCodeMode =
6025
- {
6026
-
6027
- /**
6028
- * Mode 2 encodes postal information in first message and data in second message.
6029
- * Has 9 digits postal code (used only in USA).
6030
- */
6031
- MODE_2: 2,
6032
-
6033
- /**
6034
- * Mode 3 encodes postal information in first message and data in second message.
6035
- * Has 6 alphanumeric postal code, used in the world.
6036
- */
6037
- MODE_3: 3,
6397
+ {
6038
6398
 
6039
- /**
6040
- * Mode 4 encodes data in first and second message, with short ECC correction.
6041
- */
6042
- MODE_4: 4,
6399
+ /**
6400
+ * Mode 2 encodes postal information in first message and data in second message.<br>
6401
+ * Has 9 digits postal code (used only in USA).
6402
+ */
6403
+ MODE_2: 2,
6043
6404
 
6044
- /**
6045
- * Mode 5 encodes data in first and second message, with long ECC correction.
6046
- */
6047
- MODE_5: 5,
6405
+ /**
6406
+ * Mode 3 encodes postal information in first message and data in second message.<br>
6407
+ * Has 6 alphanumeric postal code, used in the world.
6408
+ */
6409
+ MODE_3: 3,
6048
6410
 
6049
- /**
6050
- * Mode 6 encodes data in first and second message, with short ECC correction.
6051
- * Used to encode device.
6052
- */
6053
- MODE_6: 6
6054
- }
6411
+ /**
6412
+ * Mode 4 encodes data in first and second message, with short ECC correction.<br>
6413
+ */
6414
+ MODE_4: 4,
6415
+
6416
+ /**
6417
+ * Mode 5 encodes data in first and second message, with long ECC correction.
6418
+ */
6419
+ MODE_5: 5,
6420
+
6421
+ /**
6422
+ * Mode 6 encodes data in first and second message, with short ECC correction.<br>
6423
+ * Used to encode device.
6424
+ */
6425
+ MODE_6: 6
6426
+ }
6055
6427
 
6056
6428
  /**
6057
- * <p>
6058
6429
  * Encoding mode for DotCode barcodes.
6059
- * </p><p><hr><blockquote><pre>
6060
- * <pre>
6430
+ *
6431
+ * @example
6061
6432
  * //Auto mode with macros
6062
6433
  * let codetext = ""[)>\u001E05\u001DCodetextWithMacros05\u001E\u0004"";
6063
6434
  * let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, codetext);
6064
- * {
6065
- * generator.save("test.bmp", BarCodeImageFormat.BMP);
6066
- * }
6435
+ * generator.save("test.bmp", BarCodeImageFormat.BMP);
6067
6436
  *
6437
+ * @example
6068
6438
  * //Auto mode
6069
6439
  * let codetext = "犬Right狗";
6070
6440
  * let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, codetext);
6071
- * {
6072
- * generator.getParameters().getBarcode().getDotCode().setECIEncoding(ECIEncodings.UTF8);
6073
- * generator.save("test.bmp", BarCodeImageFormat.BMP);
6074
- * }
6441
+ * generator.getParameters().getBarcode().getDotCode().setECIEncoding(ECIEncodings.UTF8);
6442
+ * generator.save("test.bmp", BarCodeImageFormat.BMP);
6075
6443
  *
6444
+ * @example
6076
6445
  * //Bytes mode
6077
6446
  * let encodedArr = array( 0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9 );
6078
6447
  * //encode array to string
6079
6448
  * let codetext = "";
6080
6449
  * encodedArr.forEach(function(bval, i, bvals)
6450
+ * {
6081
6451
  * codetext += bval;
6452
+ * });
6453
+ *
6454
+ * @example
6082
6455
  * let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, codetext);
6083
- * {
6084
- * generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.BYTES);
6085
- * generator.save("test.bmp", BarCodeImageFormat.BMP);
6086
- * }
6456
+ * generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.BYTES);
6457
+ * generator.save("test.bmp", BarCodeImageFormat.BMP);
6458
+ *
6459
+ * @example
6087
6460
  * //Extended codetext mode
6088
6461
  * //create codetext
6089
6462
  * let textBuilder = new DotCodeExtCodetextBuilder();
@@ -6099,40 +6472,34 @@ MaxiCodeMode =
6099
6472
  * let codetext = textBuilder.getExtendedCodetext();
6100
6473
  * //generate
6101
6474
  * let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, codetext);
6102
- * {
6103
- * generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.EXTENDED_CODETEXT);
6104
- * generator.save("test.bmp", BarCodeImageFormat.BMP);
6105
- * }
6106
- * </pre>
6107
- * </pre></blockquote></hr></p>
6475
+ * generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.EXTENDED_CODETEXT);
6476
+ * generator.save("test.bmp", BarCodeImageFormat.BMP);
6108
6477
  */
6109
6478
  DotCodeEncodeMode =
6110
- {
6111
- /**
6112
- * <p>
6113
- * Encode codetext with value set in the ECIEncoding property.
6114
- * </p>
6115
- */
6116
- AUTO: 0,
6479
+ {
6480
+ /**
6481
+ * <p>
6482
+ * Encode codetext with value set in the ECIEncoding property.
6483
+ * </p>
6484
+ */
6485
+ AUTO: 0,
6117
6486
 
6118
- /**
6119
- * <p>
6120
- * Encode codetext as plain bytes. If it detects any Unicode character, the character will be encoded as two bytes, lower byte first.
6121
- * </p>
6122
- */
6123
- BYTES: 1,
6487
+ /**
6488
+ * <p>
6489
+ * Encode codetext as plain bytes. If it detects any Unicode character, the character will be encoded as two bytes, lower byte first.
6490
+ * </p>
6491
+ */
6492
+ BYTES: 1,
6124
6493
 
6125
- /**
6126
- * <p>
6127
- * <p>Extended mode which supports multi ECI modes.</p>
6128
- * <p>It is better to use DotCodeExtCodetextBuilder for extended codetext generation.</p>
6129
- * <p>Use Display2DText property to set visible text to removing managing characters.</p>
6130
- * <p>ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier</p>
6131
- * <p>All unicode characters after ECI identifier are automatically encoded into correct character codeset.</p>
6132
- * </p>
6133
- */
6134
- EXTENDED_CODETEXT: 2
6135
- }
6494
+ /**
6495
+ * <p>Extended mode which supports multi ECI modes.</p>
6496
+ * <p>It is better to use DotCodeExtCodetextBuilder for extended codetext generation.</p>
6497
+ * <p>Use Display2DText property to set visible text to removing managing characters.</p>
6498
+ * <p>ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier</p>
6499
+ * <p>All unicode characters after ECI identifier are automatically encoded into correct character codeset.</p>
6500
+ */
6501
+ EXTENDED_CODETEXT: 2
6502
+ }
6136
6503
 
6137
6504
 
6138
6505
  /**
@@ -6142,7 +6509,7 @@ DotCodeEncodeMode =
6142
6509
  * </p><p><hr><blockquote><pre>
6143
6510
  * Thos code demonstrates how to generate code 128 with different encodings
6144
6511
  * <pre>
6145
- * [C#]
6512
+ *
6146
6513
  * //Generate code 128 with ISO 15417 encoding
6147
6514
  *
6148
6515
  * let generator = new BarcodeGenerator(EncodeTypes.CODE_128, "ABCD1234567890");
@@ -6157,55 +6524,1134 @@ DotCodeEncodeMode =
6157
6524
  * </pre></blockquote></hr></p>
6158
6525
  */
6159
6526
  Code128EncodeMode =
6527
+ {
6528
+ /**
6529
+ * <p>
6530
+ * Encode codetext in classic ISO 15417 mode. The mode should be used in all ordinary cases.
6531
+ * </p>
6532
+ */
6533
+ AUTO: 0,
6534
+
6535
+ /**
6536
+ * <p>
6537
+ * Encode codetext only in 128A codeset.
6538
+ * </p>
6539
+ */
6540
+ CODE_A: 1,
6541
+
6542
+ /**
6543
+ * <p>
6544
+ * Encode codetext only in 128B codeset.
6545
+ * </p>
6546
+ */
6547
+ CODE_B: 2,
6548
+
6549
+ /**
6550
+ * <p>
6551
+ * Encode codetext only in 128C codeset.
6552
+ * </p>
6553
+ */
6554
+ CODE_C: 4,
6555
+
6556
+ /**
6557
+ * <p>
6558
+ * Encode codetext only in 128A and 128B codesets.
6559
+ * </p>
6560
+ */
6561
+ CODE_AB: 3,
6562
+
6563
+ /**
6564
+ * <p>
6565
+ * Encode codetext only in 128A and 128C codesets.
6566
+ * </p>
6567
+ */
6568
+ CODE_AC: 5,
6569
+
6570
+ /**
6571
+ * <p>
6572
+ * Encode codetext only in 128B and 128C codesets.
6573
+ * </p>
6574
+ */
6575
+ CODE_BC: 6
6576
+ }
6577
+
6578
+ /**
6579
+ * <p>
6580
+ * Version of Han Xin Code.
6581
+ * From Version01 - 23 x 23 modules to Version84 - 189 x 189 modules, increasing in steps of 2 modules per side.
6582
+ * </p>
6583
+ */
6584
+ HanXinVersion =
6160
6585
  {
6161
6586
  /**
6162
6587
  * <p>
6163
- * Encode codetext in classic ISO 15417 mode. The mode should be used in all ordinary cases.
6588
+ * Specifies to automatically pick up the best version.
6589
+ * This is default value.
6164
6590
  * </p>
6165
6591
  */
6166
- AUTO: 0,
6167
-
6592
+ AUTO:0,
6168
6593
  /**
6169
6594
  * <p>
6170
- * Encode codetext only in 128A codeset.
6595
+ * Specifies version 1 with 23 x 23 modules.
6171
6596
  * </p>
6172
6597
  */
6173
- CODE_A: 1,
6174
-
6598
+ VERSION_01:1,
6175
6599
  /**
6176
6600
  * <p>
6177
- * Encode codetext only in 128B codeset.
6601
+ * Specifies version 2 with 25 x 25 modules.
6178
6602
  * </p>
6179
6603
  */
6180
- CODE_B: 2,
6181
-
6604
+ VERSION_02:2,
6182
6605
  /**
6183
6606
  * <p>
6184
- * Encode codetext only in 128C codeset.
6607
+ * Specifies version 3 with 27 x 27 modules.
6185
6608
  * </p>
6186
6609
  */
6187
- CODE_C: 4,
6188
-
6610
+ VERSION_03:3,
6189
6611
  /**
6190
6612
  * <p>
6191
- * Encode codetext only in 128A and 128B codesets.
6613
+ * Specifies version 4 with 29 x 29 modules.
6192
6614
  * </p>
6193
6615
  */
6194
- CODE_AB: 3,
6195
-
6616
+ VERSION_04:4,
6196
6617
  /**
6197
6618
  * <p>
6198
- * Encode codetext only in 128A and 128C codesets.
6619
+ * Specifies version 5 with 31 x 31 modules.
6199
6620
  * </p>
6200
6621
  */
6201
- CODE_AC: 5,
6202
-
6622
+ VERSION_05:5,
6623
+ /**
6624
+ * <p>
6625
+ * Specifies version 6 with 33 x 33 modules.
6626
+ * </p>
6627
+ */
6628
+ VERSION_06:6,
6629
+ /**
6630
+ * <p>
6631
+ * Specifies version 7 with 35 x 35 modules.
6632
+ * </p>
6633
+ */
6634
+ VERSION_07:7,
6635
+ /**
6636
+ * <p>
6637
+ * Specifies version 8 with 37 x 37 modules.
6638
+ * </p>
6639
+ */
6640
+ VERSION_08:8,
6641
+ /**
6642
+ * <p>
6643
+ * Specifies version 9 with 39 x 39 modules.
6644
+ * </p>
6645
+ */
6646
+ VERSION_09:9,
6647
+ /**
6648
+ * <p>
6649
+ * Specifies version 10 with 41 x 41 modules.
6650
+ * </p>
6651
+ */
6652
+ VERSION_10:10,
6653
+ /**
6654
+ * <p>
6655
+ * Specifies version 11 with 43 x 43 modules.
6656
+ * </p>
6657
+ */
6658
+ VERSION_11:11,
6659
+ /**
6660
+ * <p>
6661
+ * Specifies version 12 with 45 x 45 modules.
6662
+ * </p>
6663
+ */
6664
+ VERSION_12:12,
6665
+ /**
6666
+ * <p>
6667
+ * Specifies version 13 with 47 x 47 modules.
6668
+ * </p>
6669
+ */
6670
+ VERSION_13:13,
6671
+ /**
6672
+ * <p>
6673
+ * Specifies version 14 with 49 x 49 modules.
6674
+ * </p>
6675
+ */
6676
+ VERSION_14:14,
6677
+ /**
6678
+ * <p>
6679
+ * Specifies version 15 with 51 x 51 modules.
6680
+ * </p>
6681
+ */
6682
+ VERSION_15:15,
6683
+ /**
6684
+ * <p>
6685
+ * Specifies version 16 with 53 x 53 modules.
6686
+ * </p>
6687
+ */
6688
+ VERSION_16:16,
6689
+ /**
6690
+ * <p>
6691
+ * Specifies version 17 with 55 x 55 modules.
6692
+ * </p>
6693
+ */
6694
+ VERSION_17:17,
6695
+ /**
6696
+ * <p>
6697
+ * Specifies version 18 with 57 x 57 modules.
6698
+ * </p>
6699
+ */
6700
+ VERSION_18:18,
6701
+ /**
6702
+ * <p>
6703
+ * Specifies version 19 with 59 x 59 modules.
6704
+ * </p>
6705
+ */
6706
+ VERSION_19:19,
6707
+ /**
6708
+ * <p>
6709
+ * Specifies version 20 with 61 x 61 modules.
6710
+ * </p>
6711
+ */
6712
+ VERSION_20:20,
6713
+ /**
6714
+ * <p>
6715
+ * Specifies version 21 with 63 x 63 modules.
6716
+ * </p>
6717
+ */
6718
+ VERSION_21:21,
6719
+ /**
6720
+ * <p>
6721
+ * Specifies version 22 with 65 x 65 modules.
6722
+ * </p>
6723
+ */
6724
+ VERSION_22:22,
6725
+ /**
6726
+ * <p>
6727
+ * Specifies version 23 with 67 x 67 modules.
6728
+ * </p>
6729
+ */
6730
+ VERSION_23:23,
6731
+ /**
6732
+ * <p>
6733
+ * Specifies version 24 with 69 x 69 modules.
6734
+ * </p>
6735
+ */
6736
+ VERSION_24:24,
6737
+ /**
6738
+ * <p>
6739
+ * Specifies version 25 with 71 x 71 modules.
6740
+ * </p>
6741
+ */
6742
+ VERSION_25:25,
6743
+ /**
6744
+ * <p>
6745
+ * Specifies version 26 with 73 x 73 modules.
6746
+ * </p>
6747
+ */
6748
+ VERSION_26:26,
6749
+ /**
6750
+ * <p>
6751
+ * Specifies version 27 with 75 x 75 modules.
6752
+ * </p>
6753
+ */
6754
+ VERSION_27:27,
6755
+ /**
6756
+ * <p>
6757
+ * Specifies version 28 with 77 x 77 modules.
6758
+ * </p>
6759
+ */
6760
+ VERSION_28:28,
6761
+ /**
6762
+ * <p>
6763
+ * Specifies version 29 with 79 x 79 modules.
6764
+ * </p>
6765
+ */
6766
+ VERSION_29:29,
6767
+ /**
6768
+ * <p>
6769
+ * Specifies version 30 with 81 x 81 modules.
6770
+ * </p>
6771
+ */
6772
+ VERSION_30:30,
6773
+ /**
6774
+ * <p>
6775
+ * Specifies version 31 with 83 x 83 modules.
6776
+ * </p>
6777
+ */
6778
+ VERSION_31:31,
6779
+ /**
6780
+ * <p>
6781
+ * Specifies version 32 with 85 x 85 modules.
6782
+ * </p>
6783
+ */
6784
+ VERSION_32:32,
6785
+ /**
6786
+ * <p>
6787
+ * Specifies version 33 with 87 x 87 modules.
6788
+ * </p>
6789
+ */
6790
+ VERSION_33:33,
6791
+ /**
6792
+ * <p>
6793
+ * Specifies version 34 with 89 x 89 modules.
6794
+ * </p>
6795
+ */
6796
+ VERSION_34:34,
6797
+ /**
6798
+ * <p>
6799
+ * Specifies version 35 with 91 x 91 modules.
6800
+ * </p>
6801
+ */
6802
+ VERSION_35:35,
6803
+ /**
6804
+ * <p>
6805
+ * Specifies version 36 with 93 x 93 modules.
6806
+ * </p>
6807
+ */
6808
+ VERSION_36:36,
6809
+ /**
6810
+ * <p>
6811
+ * Specifies version 37 with 95 x 95 modules.
6812
+ * </p>
6813
+ */
6814
+ VERSION_37:37,
6815
+ /**
6816
+ * <p>
6817
+ * Specifies version 38 with 97 x 97 modules.
6818
+ * </p>
6819
+ */
6820
+ VERSION_38:38,
6821
+ /**
6822
+ * <p>
6823
+ * Specifies version 39 with 99 x 99 modules.
6824
+ * </p>
6825
+ */
6826
+ VERSION_39:39,
6827
+ /**
6828
+ * <p>
6829
+ * Specifies version 40 with 101 x 101 modules.
6830
+ * </p>
6831
+ */
6832
+ VERSION_40:40,
6833
+ /**
6834
+ * <p>
6835
+ * Specifies version 41 with 103 x 103 modules.
6836
+ * </p>
6837
+ */
6838
+ VERSION_41:41,
6839
+ /**
6840
+ * <p>
6841
+ * Specifies version 42 with 105 x 105 modules.
6842
+ * </p>
6843
+ */
6844
+ VERSION_42:42,
6845
+ /**
6846
+ * <p>
6847
+ * Specifies version 43 with 107 x 107 modules.
6848
+ * </p>
6849
+ */
6850
+ VERSION_43:43,
6851
+ /**
6852
+ * <p>
6853
+ * Specifies version 44 with 109 x 109 modules.
6854
+ * </p>
6855
+ */
6856
+ VERSION_44:44,
6857
+ /**
6858
+ * <p>
6859
+ * Specifies version 45 with 111 x 111 modules.
6860
+ * </p>
6861
+ */
6862
+ VERSION_45:45,
6863
+ /**
6864
+ * <p>
6865
+ * Specifies version 46 with 113 x 113 modules.
6866
+ * </p>
6867
+ */
6868
+ VERSION_46:46,
6869
+ /**
6870
+ * <p>
6871
+ * Specifies version 47 with 115 x 115 modules.
6872
+ * </p>
6873
+ */
6874
+ VERSION_47:47,
6875
+ /**
6876
+ * <p>
6877
+ * Specifies version 48 with 117 x 117 modules.
6878
+ * </p>
6879
+ */
6880
+ VERSION_48:48,
6881
+ /**
6882
+ * <p>
6883
+ * Specifies version 49 with 119 x 119 modules.
6884
+ * </p>
6885
+ */
6886
+ VERSION_49:49,
6887
+ /**
6888
+ * <p>
6889
+ * Specifies version 50 with 121 x 121 modules.
6890
+ * </p>
6891
+ */
6892
+ VERSION_50:50,
6893
+ /**
6894
+ * <p>
6895
+ * Specifies version 51 with 123 x 123 modules.
6896
+ * </p>
6897
+ */
6898
+ VERSION_51:51,
6899
+ /**
6900
+ * <p>
6901
+ * Specifies version 52 with 125 x 125 modules.
6902
+ * </p>
6903
+ */
6904
+ VERSION_52:52,
6905
+ /**
6906
+ * <p>
6907
+ * Specifies version 53 with 127 x 127 modules.
6908
+ * </p>
6909
+ */
6910
+ VERSION_53:53,
6911
+ /**
6912
+ * <p>
6913
+ * Specifies version 54 with 129 x 129 modules.
6914
+ * </p>
6915
+ */
6916
+ VERSION_54:54,
6917
+ /**
6918
+ * <p>
6919
+ * Specifies version 55 with 131 x 131 modules.
6920
+ * </p>
6921
+ */
6922
+ VERSION_55:55,
6923
+ /**
6924
+ * <p>
6925
+ * Specifies version 56 with 133 x 133 modules.
6926
+ * </p>
6927
+ */
6928
+ VERSION_56:56,
6929
+ /**
6930
+ * <p>
6931
+ * Specifies version 57 with 135 x 135 modules.
6932
+ * </p>
6933
+ */
6934
+ VERSION_57:57,
6935
+ /**
6936
+ * <p>
6937
+ * Specifies version 58 with 137 x 137 modules.
6938
+ * </p>
6939
+ */
6940
+ VERSION_58:58,
6941
+ /**
6942
+ * <p>
6943
+ * Specifies version 59 with 139 x 139 modules.
6944
+ * </p>
6945
+ */
6946
+ VERSION_59:59,
6947
+ /**
6948
+ * <p>
6949
+ * Specifies version 60 with 141 x 141 modules.
6950
+ * </p>
6951
+ */
6952
+ VERSION_60:60,
6953
+ /**
6954
+ * <p>
6955
+ * Specifies version 61 with 143 x 143 modules.
6956
+ * </p>
6957
+ */
6958
+ VERSION_61:61,
6959
+ /**
6960
+ * <p>
6961
+ * Specifies version 62 with 145 x 145 modules.
6962
+ * </p>
6963
+ */
6964
+ VERSION_62:62,
6965
+ /**
6966
+ * <p>
6967
+ * Specifies version 63 with 147 x 147 modules.
6968
+ * </p>
6969
+ */
6970
+ VERSION_63:63,
6971
+ /**
6972
+ * <p>
6973
+ * Specifies version 64 with 149 x 149 modules.
6974
+ * </p>
6975
+ */
6976
+ VERSION_64:64,
6977
+ /**
6978
+ * <p>
6979
+ * Specifies version 65 with 151 x 151 modules.
6980
+ * </p>
6981
+ */
6982
+ VERSION_65:65,
6983
+ /**
6984
+ * <p>
6985
+ * Specifies version 66 with 153 x 153 modules.
6986
+ * </p>
6987
+ */
6988
+ VERSION_66:66,
6989
+ /**
6990
+ * <p>
6991
+ * Specifies version 67 with 155 x 155 modules.
6992
+ * </p>
6993
+ */
6994
+ VERSION_67:67,
6995
+ /**
6996
+ * <p>
6997
+ * Specifies version 68 with 157 x 157 modules.
6998
+ * </p>
6999
+ */
7000
+ VERSION_68:68,
7001
+ /**
7002
+ * <p>
7003
+ * Specifies version 69 with 159 x 159 modules.
7004
+ * </p>
7005
+ */
7006
+ VERSION_69:69,
7007
+ /**
7008
+ * <p>
7009
+ * Specifies version 70 with 161 x 161 modules.
7010
+ * </p>
7011
+ */
7012
+ VERSION_70:70,
7013
+ /**
7014
+ * <p>
7015
+ * Specifies version 71 with 163 x 163 modules.
7016
+ * </p>
7017
+ */
7018
+ VERSION_71:71,
7019
+ /**
7020
+ * <p>
7021
+ * Specifies version 72 with 165 x 165 modules.
7022
+ * </p>
7023
+ */
7024
+ VERSION_72:72,
7025
+ /**
7026
+ * <p>
7027
+ * Specifies version 73 with 167 x 167 modules.
7028
+ * </p>
7029
+ */
7030
+ VERSION_73:73,
7031
+ /**
7032
+ * <p>
7033
+ * Specifies version 74 with 169 x 169 modules.
7034
+ * </p>
7035
+ */
7036
+ VERSION_74:74,
7037
+ /**
7038
+ * <p>
7039
+ * Specifies version 75 with 171 x 171 modules.
7040
+ * </p>
7041
+ */
7042
+ VERSION_75:75,
7043
+ /**
7044
+ * <p>
7045
+ * Specifies version 76 with 173 x 173 modules.
7046
+ * </p>
7047
+ */
7048
+ VERSION_76:76,
7049
+ /**
7050
+ * <p>
7051
+ * Specifies version 77 with 175 x 175 modules.
7052
+ * </p>
7053
+ */
7054
+ VERSION_77:77,
7055
+ /**
7056
+ * <p>
7057
+ * Specifies version 78 with 177 x 177 modules.
7058
+ * </p>
7059
+ */
7060
+ VERSION_78:78,
7061
+ /**
7062
+ * <p>
7063
+ * Specifies version 79 with 179 x 179 modules.
7064
+ * </p>
7065
+ */
7066
+ VERSION_79:79,
7067
+ /**
7068
+ * <p>
7069
+ * Specifies version 80 with 181 x 181 modules.
7070
+ * </p>
7071
+ */
7072
+ VERSION_80:80,
7073
+ /**
7074
+ * <p>
7075
+ * Specifies version 81 with 183 x 183 modules.
7076
+ * </p>
7077
+ */
7078
+ VERSION_81:81,
7079
+ /**
7080
+ * <p>
7081
+ * Specifies version 82 with 185 x 185 modules.
7082
+ * </p>
7083
+ */
7084
+ VERSION_82:82,
7085
+ /**
7086
+ * <p>
7087
+ * Specifies version 83 with 187 x 187 modules.
7088
+ * </p>
7089
+ */
7090
+ VERSION_83:83,
7091
+ /**
7092
+ * <p>
7093
+ * Specifies version 84 with 189 x 189 modules.
7094
+ * </p>
7095
+ */
7096
+ VERSION_84:84,
7097
+ }
7098
+
7099
+ /**
7100
+ * <p>
7101
+ * Level of Reed-Solomon error correction. From low to high: L1, L2, L3, L4.
7102
+ * </p>
7103
+ */
7104
+ HanXinErrorLevel =
7105
+ {
7106
+ /**
7107
+ * <p>
7108
+ * Allows recovery of 8% of the code text
7109
+ * </p>
7110
+ */
7111
+ L1:0,
7112
+ /**
7113
+ * <p>
7114
+ * Allows recovery of 15% of the code text
7115
+ * </p>
7116
+ */
7117
+ L2:1,
7118
+ /**
7119
+ * <p>
7120
+ * Allows recovery of 23% of the code text
7121
+ * </p>
7122
+ */
7123
+ L3:2,
7124
+ /**
7125
+ * <p>
7126
+ * Allows recovery of 30% of the code text
7127
+ * </p>
7128
+ */
7129
+ L4:3
7130
+ }
7131
+
7132
+ /**
7133
+ * <p>
7134
+ * Han Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode characters.
7135
+ * </p><p><hr><blockquote><pre>
7136
+ * <pre>
7137
+ * @example
7138
+ * // Auto mode
7139
+ * let codetext = "1234567890ABCDEFGabcdefg,Han Xin Code";
7140
+ * let generator = new BarcodeGenerator(EncodeTypes.HAN_XIN, codetext);
7141
+ * generator.save("test.bmp", BarcodeImageFormat.BMP);
7142
+ *
7143
+ * @example
7144
+ * // Bytes mode
7145
+ * let encodedArr = [0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9];
7146
+ *
7147
+ * //encode array to string
7148
+ * let codetext = "";
7149
+ * for (int i = 0; i <encodedArr.length; i++)
7150
+ * {
7151
+ * let bval = String.fromCharCode(encodedArr[i]);
7152
+ * codetext += bval;
7153
+ * }
7154
+ *
7155
+ * let generator = new BarcodeGenerator(EncodeTypes.HAN_XIN, codetext);
7156
+ * generator.getParameters().getBarcode().getHanXin().setHanXinEncodeMode(HanXinEncodeMode.BYTES);
7157
+ * generator.save("test.bmp", BarcodeImageFormat.BMP);
7158
+ *
7159
+ * @example
7160
+ * // ECI mode
7161
+ * let codetext = "ΑΒΓΔΕ";
7162
+ * let generator = new BarcodeGenerator(EncodeTypes.HAN_XIN, codetext);
7163
+ * generator.getParameters().getBarcode().getHanXin().setHanXinEncodeMode(HanXinEncodeMode.ECI);
7164
+ * generator.getParameters().getBarcode().getHanXin().setHanXinECIEncoding(ECIEncodings.ISO_8859_7);
7165
+ * generator.save("test.bmp", BarcodeImageFormat.BMP);
7166
+ *
7167
+ * @example
7168
+ * // URI mode
7169
+ * let codetext = "https://www.test.com/%BC%DE%%%ab/search=test";
7170
+ * generator = new BarcodeGenerator(EncodeTypes.HAN_XIN, codetext);
7171
+ * generator.getParameters().getBarcode().getHanXin().setHanXinEncodeMode(HanXinEncodeMode.URI);
7172
+ * generator.save("test.bmp", BarcodeImageFormat.BMP);
7173
+ *
7174
+ * // Extended mode - TBD
7175
+ * </pre>
7176
+ * </pre></blockquote></hr></p>
7177
+ */
7178
+ HanXinEncodeMode =
7179
+ {
7180
+ /**
7181
+ * <p>
7182
+ * Sequence of Numeric, Text, ECI, Binary Bytes and 4 GB18030 modes changing automatically.
7183
+ * </p>
7184
+ */
7185
+ AUTO:0,
7186
+ /**
7187
+ * <p>
7188
+ * Binary byte mode encodes binary data in any form and encodes them in their binary byte. Every byte in
7189
+ * Binary Byte mode is represented by 8 bits.
7190
+ * </p>
7191
+ */
7192
+ BINARY:1,
7193
+ /**
7194
+ * <p>
7195
+ * Extended Channel Interpretation (ECI) mode
7196
+ * </p>
7197
+ */
7198
+ ECI:2,
7199
+ /**
7200
+ * <p>
7201
+ * Unicode mode designs a way to represent any text data reference to UTF8 encoding/charset in Han Xin Code.
7202
+ * </p>
7203
+ */
7204
+ UNICODE:3,
7205
+ /**
7206
+ * <p>
7207
+ * URI mode indicates the data represented in Han Xin Code is Uniform Resource Identifier (URI)
7208
+ * reference to RFC 3986.
7209
+ * </p>
7210
+ */
7211
+ URI:4,
7212
+ /**
7213
+ * <p>
7214
+ * Extended mode will allow more flexible combinations of other modes, this mode is currently not implemented.
7215
+ * </p>
7216
+ */
7217
+ EXTENDED:5
7218
+ }
7219
+
7220
+ /**
7221
+ * <p>
7222
+ * Specify the type of the ECC to encode.
7223
+ * </p>
7224
+ */
7225
+ DataMatrixVersion =
7226
+ {
7227
+ /**
7228
+ * <p>
7229
+ * Specifies to automatically pick up the smallest size for DataMatrix.
7230
+ * This is default value.
7231
+ * </p>
7232
+ */
7233
+ AUTO:0,
7234
+ /**
7235
+ * <p>
7236
+ * Instructs to get symbol sizes from Rows And Columns parameters. Note that DataMatrix does not support
7237
+ * custom rows and columns numbers. This option is not recommended to use.
7238
+ * </p>
7239
+ */
7240
+ ROWS_COLUMNS:1,
7241
+ /**
7242
+ * <p>
7243
+ * Specifies size of 9 x 9 modules for ECC000 type.
7244
+ * </p>
7245
+ */
7246
+ ECC000_9x9:2,
7247
+ /**
7248
+ * <p>
7249
+ * Specifies size of 11 x 11 modules for ECC000-ECC050 types.
7250
+ * </p>
7251
+ */
7252
+ ECC000_050_11x11:3,
7253
+ /**
7254
+ * <p>
7255
+ * Specifies size of 13 x 13 modules for ECC000-ECC100 types.
7256
+ * </p>
7257
+ */
7258
+ ECC000_100_13x13:4,
7259
+ /**
7260
+ * <p>
7261
+ * Specifies size of 15 x 15 modules for ECC000-ECC100 types.
7262
+ * </p>
7263
+ */
7264
+ ECC000_100_15x15:5,
7265
+ /**
7266
+ * <p>
7267
+ * Specifies size of 17 x 17 modules for ECC000-ECC140 types.
7268
+ * </p>
7269
+ */
7270
+ ECC000_140_17x17:6,
7271
+ /**
7272
+ * <p>
7273
+ * Specifies size of 19 x 19 modules for ECC000-ECC140 types.
7274
+ * </p>
7275
+ */
7276
+ ECC000_140_19x19:7,
7277
+ /**
7278
+ * <p>
7279
+ * Specifies size of 21 x 21 modules for ECC000-ECC140 types.
7280
+ * </p>
7281
+ */
7282
+ ECC000_140_21x21:8,
7283
+ /**
7284
+ * <p>
7285
+ * Specifies size of 23 x 23 modules for ECC000-ECC140 types.
7286
+ * </p>
7287
+ */
7288
+ ECC000_140_23x23:9,
7289
+ /**
7290
+ * <p>
7291
+ * Specifies size of 25 x 25 modules for ECC000-ECC140 types.
7292
+ * </p>
7293
+ */
7294
+ ECC000_140_25x25:10,
7295
+ /**
7296
+ * <p>
7297
+ * Specifies size of 27 x 27 modules for ECC000-ECC140 types.
7298
+ * </p>
7299
+ */
7300
+ ECC000_140_27x27:11,
7301
+ /**
7302
+ * <p>
7303
+ * Specifies size of 29 x 29 modules for ECC000-ECC140 types.
7304
+ * </p>
7305
+ */
7306
+ ECC000_140_29x29:12,
7307
+ /**
7308
+ * <p>
7309
+ * Specifies size of 31 x 31 modules for ECC000-ECC140 types.
7310
+ * </p>
7311
+ */
7312
+ ECC000_140_31x31:13,
7313
+ /**
7314
+ * <p>
7315
+ * Specifies size of 33 x 33 modules for ECC000-ECC140 types.
7316
+ * </p>
7317
+ */
7318
+ ECC000_140_33x33:14,
7319
+ /**
7320
+ * <p>
7321
+ * Specifies size of 35 x 35 modules for ECC000-ECC140 types.
7322
+ * </p>
7323
+ */
7324
+ ECC000_140_35x35:15,
7325
+ /**
7326
+ * <p>
7327
+ * Specifies size of 37 x 37 modules for ECC000-ECC140 types.
7328
+ * </p>
7329
+ */
7330
+ ECC000_140_37x37:16,
7331
+ /**
7332
+ * <p>
7333
+ * Specifies size of 39 x 39 modules for ECC000-ECC140 types.
7334
+ * </p>
7335
+ */
7336
+ ECC000_140_39x39:17,
7337
+ /**
7338
+ * <p>
7339
+ * Specifies size of 41 x 41 modules for ECC000-ECC140 types.
7340
+ * </p>
7341
+ */
7342
+ ECC000_140_41x41:18,
7343
+ /**
7344
+ * <p>
7345
+ * Specifies size of 43 x 43 modules for ECC000-ECC140 types.
7346
+ * </p>
7347
+ */
7348
+ ECC000_140_43x43:19,
7349
+ /**
7350
+ * <p>
7351
+ * Specifies size of 45 x 45 modules for ECC000-ECC140 types.
7352
+ * </p>
7353
+ */
7354
+ ECC000_140_45x45:20,
7355
+ /**
7356
+ * <p>
7357
+ * Specifies size of 47 x 47 modules for ECC000-ECC140 types.
7358
+ * </p>
7359
+ */
7360
+ ECC000_140_47x47:21,
7361
+ /**
7362
+ * <p>
7363
+ * Specifies size of 49 x 49 modules for ECC000-ECC140 types.
7364
+ * </p>
7365
+ */
7366
+ ECC000_140_49x49:22,
7367
+ /**
7368
+ * <p>
7369
+ * Specifies size of 10 x 10 modules for ECC200 type.
7370
+ * </p>
7371
+ */
7372
+ ECC200_10x10:23,
7373
+ /**
7374
+ * <p>
7375
+ * Specifies size of 12 x 12 modules for ECC200 type.
7376
+ * </p>
7377
+ */
7378
+ ECC200_12x12:24,
7379
+ /**
7380
+ * <p>
7381
+ * Specifies size of 14 x 14 modules for ECC200 type.
7382
+ * </p>
7383
+ */
7384
+ ECC200_14x14:25,
7385
+ /**
7386
+ * <p>
7387
+ * Specifies size of 16 x 16 modules for ECC200 type.
7388
+ * </p>
7389
+ */
7390
+ ECC200_16x16:26,
7391
+ /**
7392
+ * <p>
7393
+ * Specifies size of 18 x 18 modules for ECC200 type.
7394
+ * </p>
7395
+ */
7396
+ ECC200_18x18:27,
7397
+ /**
7398
+ * <p>
7399
+ * Specifies size of 20 x 20 modules for ECC200 type.
7400
+ * </p>
7401
+ */
7402
+ ECC200_20x20:28,
7403
+ /**
7404
+ * <p>
7405
+ * Specifies size of 22 x 22 modules for ECC200 type.
7406
+ * </p>
7407
+ */
7408
+ ECC200_22x22:29,
7409
+ /**
7410
+ * <p>
7411
+ * Specifies size of 24 x 24 modules for ECC200 type.
7412
+ * </p>
7413
+ */
7414
+ ECC200_24x24:30,
7415
+ /**
7416
+ * <p>
7417
+ * Specifies size of 26 x 26 modules for ECC200 type.
7418
+ * </p>
7419
+ */
7420
+ ECC200_26x26:31,
7421
+ /**
7422
+ * <p>
7423
+ * Specifies size of 32 x 32 modules for ECC200 type.
7424
+ * </p>
7425
+ */
7426
+ ECC200_32x32:32,
7427
+ /**
7428
+ * <p>
7429
+ * Specifies size of 36 x 36 modules for ECC200 type.
7430
+ * </p>
7431
+ */
7432
+ ECC200_36x36:33,
7433
+ /**
7434
+ * <p>
7435
+ * Specifies size of 40 x 40 modules for ECC200 type.
7436
+ * </p>
7437
+ */
7438
+ ECC200_40x40:34,
7439
+ /**
7440
+ * <p>
7441
+ * Specifies size of 44 x 44 modules for ECC200 type.
7442
+ * </p>
7443
+ */
7444
+ ECC200_44x44:35,
7445
+ /**
7446
+ * <p>
7447
+ * Specifies size of 48 x 48 modules for ECC200 type.
7448
+ * </p>
7449
+ */
7450
+ ECC200_48x48:36,
7451
+ /**
7452
+ * <p>
7453
+ * Specifies size of 52 x 52 modules for ECC200 type.
7454
+ * </p>
7455
+ */
7456
+ ECC200_52x52:37,
7457
+ /**
7458
+ * <p>
7459
+ * Specifies size of 64 x 64 modules for ECC200 type.
7460
+ * </p>
7461
+ */
7462
+ ECC200_64x64:38,
7463
+ /**
7464
+ * <p>
7465
+ * Specifies size of 72 x 72 modules for ECC200 type.
7466
+ * </p>
7467
+ */
7468
+ ECC200_72x72:39,
7469
+ /**
7470
+ * <p>
7471
+ * Specifies size of 80 x 80 modules for ECC200 type.
7472
+ * </p>
7473
+ */
7474
+ ECC200_80x80:40,
7475
+ /**
7476
+ * <p>
7477
+ * Specifies size of 88 x 88 modules for ECC200 type.
7478
+ * </p>
7479
+ */
7480
+ ECC200_88x88:41,
7481
+ /**
7482
+ * <p>
7483
+ * Specifies size of 96 x 96 modules for ECC200 type.
7484
+ * </p>
7485
+ */
7486
+ ECC200_96x96:42,
7487
+ /**
7488
+ * <p>
7489
+ * Specifies size of 104 x 104 modules for ECC200 type.
7490
+ * </p>
7491
+ */
7492
+ ECC200_104x104:43,
7493
+ /**
7494
+ * <p>
7495
+ * Specifies size of 120 x 120 modules for ECC200 type.
7496
+ * </p>
7497
+ */
7498
+ ECC200_120x120:44,
7499
+ /**
7500
+ * <p>
7501
+ * Specifies size of 132 x 132 modules for ECC200 type.
7502
+ * </p>
7503
+ */
7504
+ ECC200_132x132:45,
7505
+ /**
7506
+ * <p>
7507
+ * Specifies size of 144 x 144 modules for ECC200 type.
7508
+ * </p>
7509
+ */
7510
+ ECC200_144x144:46,
7511
+ /**
7512
+ * <p>
7513
+ * Specifies size of 8 x 18 modules for ECC200 type.
7514
+ * </p>
7515
+ */
7516
+ ECC200_8x18:47,
7517
+ /**
7518
+ * <p>
7519
+ * Specifies size of 8 x 32 modules for ECC200 type.
7520
+ * </p>
7521
+ */
7522
+ ECC200_8x32:48,
7523
+ /**
7524
+ * <p>
7525
+ * Specifies size of 12 x 26 modules for ECC200 type.
7526
+ * </p>
7527
+ */
7528
+ ECC200_12x26:49,
7529
+ /**
7530
+ * <p>
7531
+ * Specifies size of 12 x 36 modules for ECC200 type.
7532
+ * </p>
7533
+ */
7534
+ ECC200_12x36:50,
7535
+ /**
7536
+ * <p>
7537
+ * Specifies size of 16 x 36 modules for ECC200 type.
7538
+ * </p>
7539
+ */
7540
+ ECC200_16x36:51,
7541
+ /**
7542
+ * <p>
7543
+ * Specifies size of 16 x 48 modules for ECC200 type.
7544
+ * </p>
7545
+ */
7546
+ ECC200_16x48:52,
7547
+ /**
7548
+ * <p>
7549
+ * Specifies size of 8 x 48 modules for DMRE barcodes.
7550
+ * </p>
7551
+ */
7552
+ DMRE_8x48:53,
7553
+ /**
7554
+ * <p>
7555
+ * Specifies size of 8 x 64 modules for DMRE barcodes.
7556
+ * </p>
7557
+ */
7558
+ DMRE_8x64:54,
7559
+ /**
7560
+ * <p>
7561
+ * Specifies size of 8 x 80 modules for DMRE barcodes.
7562
+ * </p>
7563
+ */
7564
+ DMRE_8x80:55,
7565
+ /**
7566
+ * <p>
7567
+ * Specifies size of 8 x 96 modules for DMRE barcodes.
7568
+ * </p>
7569
+ */
7570
+ DMRE_8x96:56,
7571
+ /**
7572
+ * <p>
7573
+ * Specifies size of 8 x 120 modules for DMRE barcodes.
7574
+ * </p>
7575
+ */
7576
+ DMRE_8x120:57,
7577
+ /**
7578
+ * <p>
7579
+ * Specifies size of 8 x 144 modules for DMRE barcodes.
7580
+ * </p>
7581
+ */
7582
+ DMRE_8x144:58,
7583
+ /**
7584
+ * <p>
7585
+ * Specifies size of 12 x 64 modules for DMRE barcodes.
7586
+ * </p>
7587
+ */
7588
+ DMRE_12x64:59,
7589
+ /**
7590
+ * <p>
7591
+ * Specifies size of 12 x 88 modules for DMRE barcodes.
7592
+ * </p>
7593
+ */
7594
+ DMRE_12x88:60,
7595
+ /**
7596
+ * <p>
7597
+ * Specifies size of 16 x 64 modules for DMRE barcodes.
7598
+ * </p>
7599
+ */
7600
+ DMRE_16x64:61,
7601
+ /**
7602
+ * <p>
7603
+ * Specifies size of 20 x 36 modules for DMRE barcodes.
7604
+ * </p>
7605
+ */
7606
+ DMRE_20x36:62,
7607
+ /**
7608
+ * <p>
7609
+ * Specifies size of 20 x 44 modules for DMRE barcodes.
7610
+ * </p>
7611
+ */
7612
+ DMRE_20x44:63,
7613
+ /**
7614
+ * <p>
7615
+ * Specifies size of 20 x 64 modules for DMRE barcodes.
7616
+ * </p>
7617
+ */
7618
+ DMRE_20x64:64,
7619
+ /**
7620
+ * <p>
7621
+ * Specifies size of 22 x 48 modules for DMRE barcodes.
7622
+ * </p>
7623
+ */
7624
+ DMRE_22x48:65,
7625
+ /**
7626
+ * <p>
7627
+ * Specifies size of 24 x 48 modules for DMRE barcodes.
7628
+ * </p>
7629
+ */
7630
+ DMRE_24x48:66,
7631
+ /**
7632
+ * <p>
7633
+ * Specifies size of 24 x 64 modules for DMRE barcodes.
7634
+ * </p>
7635
+ */
7636
+ DMRE_24x64:67,
7637
+ /**
7638
+ * <p>
7639
+ * Specifies size of 26 x 40 modules for DMRE barcodes.
7640
+ * </p>
7641
+ */
7642
+ DMRE_26x40:68,
7643
+ /**
7644
+ * <p>
7645
+ * Specifies size of 26 x 48 modules for DMRE barcodes.
7646
+ * </p>
7647
+ */
7648
+ DMRE_26x48:69,
6203
7649
  /**
6204
7650
  * <p>
6205
- * Encode codetext only in 128B and 128C codesets.
7651
+ * Specifies size of 26 x 64 modules for DMRE barcodes.
6206
7652
  * </p>
6207
7653
  */
6208
- CODE_BC: 6
7654
+ DMRE_26x64:70
6209
7655
  }
6210
7656
 
6211
7657
  module.exports = {
@@ -6271,5 +7717,11 @@ module.exports = {
6271
7717
  MaxiCodeExtCodetextBuilder,
6272
7718
  DotCodeExtCodetextBuilder,
6273
7719
  DotCodeEncodeMode,
6274
- Code128EncodeMode
7720
+ HanXinEncodeMode,
7721
+ HanXinErrorLevel,
7722
+ HanXinVersion,
7723
+ Code128EncodeMode,
7724
+ HanXinParameters,
7725
+ DataMatrixVersion,
7726
+ DataMatrixExtCodetextBuilder
6275
7727
  };