aspose.barcode 20.10.5 → 21.1.5

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.
@@ -7,7 +7,7 @@ const recognition_ = require("./Recognition");
7
7
 
8
8
  function pushJar()
9
9
  {
10
- java.classpath.push(__dirname + "/aspose-barcode-nodejs-20.10.jar");
10
+ java.classpath.push(__dirname + "/aspose-barcode-nodejs-21.1.jar");
11
11
  }
12
12
  pushJar();
13
13
 
@@ -400,7 +400,6 @@ class Address extends joint.BaseJavaClass {
400
400
 
401
401
  /**
402
402
  * Address type
403
- * @enum
404
403
  */
405
404
  AddressType =
406
405
  {
@@ -520,30 +519,10 @@ class ComplexCodetextReader {
520
519
  let javaJsComplexCodetextReader = java.import(ComplexCodetextReader.javaClassName);
521
520
  return Mailmark2DCodetext.construct(javaJsComplexCodetextReader.tryDecodeMailmark2DSync(encodedCodetext));
522
521
  }
523
-
524
- /**
525
- * Decodes Mailmark Barcode C and L codetext.
526
- * @param encodedCodetext encoded codetext
527
- * @return Decoded Mailmark Barcode C and L or null.
528
- */
529
- static tryDecodeMailmark(encodedCodetext)
530
- {
531
- let res = new MailmarkCodetext(null);
532
- try
533
- {
534
- res.initFromString(encodedCodetext);
535
- }
536
- catch (e)
537
- {
538
- return null;
539
- }
540
- return res;
541
- }
542
522
  }
543
523
 
544
524
  /**
545
525
  * SwissQR bill standard version
546
- * @enum
547
526
  */
548
527
  QrBillStandardVersion =
549
528
  {
@@ -552,7 +531,7 @@ QrBillStandardVersion =
552
531
  * Version 2.0
553
532
  *
554
533
  */
555
- V2_0: 0
534
+ V2_0: "0"
556
535
  };
557
536
 
558
537
  /**
@@ -904,163 +883,6 @@ class SwissQRCodetext extends IComplexCodetext {
904
883
  }
905
884
  }
906
885
 
907
-
908
- /**
909
- * Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.
910
- */
911
- class MailmarkCodetext extends IComplexCodetext
912
- {
913
- static javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmarkCodetext";
914
- /**
915
- * "0" – Null or Test
916
- * "1" – Letter
917
- * "2" – Large Letter
918
- */
919
- getFormat()
920
- { return this.getJavaClass().getFormatSync(); }
921
- /**
922
- * "0" – Null or Test
923
- * "1" – LetterN
924
- * "2" – Large Letter
925
- */
926
- setFormat(value)
927
- { this.getJavaClass().setFormatSync(value); }
928
-
929
- /**
930
- * Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
931
- */
932
- getVersionID()
933
- { return this.getJavaClass().getVersionIDSync(); }
934
-
935
- /**
936
- * Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
937
- */
938
- setVersionID(value)
939
- { this.getJavaClass().setVersionIDSync(value); }
940
-
941
- /**
942
- * "0" - Null or Test
943
- * "1" - 1C (Retail)
944
- * "2" - 2C (Retail)
945
- * "3" - 3C (Retail)
946
- * "4" - Premium (RetailPublishing Mail) (for potential future use)
947
- * "5" - Deferred (Retail)
948
- * "6" - Air (Retail) (for potential future use)
949
- * "7" - Surface (Retail) (for potential future use)
950
- * "8" - Premium (Network Access)
951
- * "9" - Standard (Network Access)
952
- */
953
- getClass_()
954
- { return this.getJavaClass().getClass_Sync(); }
955
-
956
- /**
957
- * "0" - Null or Test
958
- * "1" - 1C (Retail)
959
- * "2" - 2C (Retail)
960
- * "3" - 3C (Retail)
961
- * "4" - Premium (RetailPublishing Mail) (for potential future use)
962
- * "5" - Deferred (Retail)
963
- * "6" - Air (Retail) (for potential future use)
964
- * "7" - Surface (Retail) (for potential future use)
965
- * "8" - Premium (Network Access)
966
- * "9" - Standard (Network Access)
967
- */
968
- setClass(value)
969
- { this.getJavaClass().setClassSync(value); }
970
-
971
- /**
972
- * Maximum values are 99 for Barcode C and 999999 for Barcode L.
973
- */
974
- getSupplychainID()
975
- { return this.getJavaClass().getSupplychainIDSync(); }
976
- /**
977
- * Maximum values are 99 for Barcode C and 999999 for Barcode L.
978
- */
979
- setSupplychainID(value)
980
- { this.getJavaClass().setSupplychainIDSync(value); }
981
-
982
- /**
983
- * Maximum value is 99999999.
984
- */
985
- getItemID()
986
- { return this.getJavaClass().getItemIDSync(); }
987
-
988
- /**
989
- * Maximum value is 99999999.
990
- */
991
- setItemID(value)
992
- { this.getJavaClass().setItemIDSync(value); }
993
-
994
- /**
995
- * The PC and DP must comply with a PAF format.
996
- * Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern
997
- * of characters denoting a domestic sorting code.
998
- * A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.
999
- */
1000
- getDestinationPostCodePlusDPS()
1001
- { return this.getJavaClass().getDestinationPostCodePlusDPSSync(); }
1002
-
1003
- /**
1004
- * The PC and DP must comply with a PAF format.
1005
- * Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern
1006
- * of characters denoting a domestic sorting code.
1007
- * A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.
1008
- */
1009
- setDestinationPostCodePlusDPS(value)
1010
- { this.getJavaClass().setDestinationPostCodePlusDPSSync(value); }
1011
-
1012
- /**
1013
- * Initializes a new instance of the {@code MailmarkCodetext} class.
1014
- */
1015
- constructor(mailmarkCodetext)
1016
- {
1017
- let java_class_link = java.import(MailmarkCodetext.javaClassName);
1018
- let javaClass = null;
1019
- if (mailmarkCodetext == null)
1020
- {
1021
- javaClass = new java_class_link();
1022
- }
1023
- else
1024
- {
1025
- javaClass = new java_class_link(mailmarkCodetext.getJavaClass());
1026
- }
1027
- super(javaClass);
1028
- }
1029
-
1030
- init()
1031
- {}
1032
-
1033
- /**
1034
- * Construct codetext from Mailmark data.
1035
- *
1036
- * @return Constructed codetext
1037
- */
1038
- getConstructedCodetext()
1039
- {
1040
- return this.getJavaClass().getConstructedCodetextSync();
1041
- }
1042
-
1043
- /**
1044
- * Initializes Mailmark data from constructed codetext.
1045
- *
1046
- * @param constructedCodetext Constructed codetext.
1047
- */
1048
- initFromString(constructedCodetext)
1049
- {
1050
- this.getJavaClass().initFromStringSync(constructedCodetext);
1051
- }
1052
-
1053
- /**
1054
- * Gets barcode type.
1055
- *
1056
- * @return Barcode type.
1057
- */
1058
- getBarcodeType()
1059
- {
1060
- return this.getJavaClass().getBarcodeTypeSync();
1061
- }
1062
- }
1063
-
1064
886
  class Mailmark2DCodetext extends IComplexCodetext
1065
887
  {
1066
888
 
@@ -1455,7 +1277,5 @@ module.exports = {
1455
1277
  AddressType,
1456
1278
  SwissQRBill,
1457
1279
  Mailmark2DCodetext,
1458
- MailmarkCodetext,
1459
- Mailmark2DType,
1460
- QrBillStandardVersion
1280
+ Mailmark2DType
1461
1281
  };
package/lib/Generation.js CHANGED
@@ -45,13 +45,6 @@ class BarcodeGenerator extends joint.BaseJavaClass
45
45
  this.init();
46
46
  }
47
47
 
48
- static construct(javaClass)
49
- {
50
- let barcodeGenerator = new BarcodeGenerator( null, null);
51
- barcodeGenerator.setJavaClass(javaClass);
52
- return barcodeGenerator;
53
- }
54
-
55
48
  init()
56
49
  {
57
50
  this.parameters = new BaseGenerationParameters(this.getJavaClass().getParametersSync());
@@ -72,7 +65,7 @@ class BarcodeGenerator extends joint.BaseJavaClass
72
65
  */
73
66
  getBarcodeType()
74
67
  {
75
- return this.getJavaClass().getBarcodeTypeSync();
68
+ return this.getJavaClass().getBarcodeTypeSync() + "";
76
69
  }
77
70
 
78
71
  /**
@@ -134,52 +127,6 @@ class BarcodeGenerator extends joint.BaseJavaClass
134
127
  {
135
128
  this.getJavaClass().setCodeTextSync(value);
136
129
  }
137
-
138
- /**
139
- * Exports BarCode properties to the xml file specified
140
- * @param filePath The xml file
141
- * @return Whether or not export completed successfully. Returns <b>True</b> in case of success; <b>False</b> Otherwise </para>
142
- * @throws IOException
143
- */
144
- exportToXml(filePath)
145
- {
146
- try
147
- {
148
- let xmlData = this.getJavaClass().exportToXmlSync();
149
- let isSaved = xmlData != null;
150
- if (isSaved)
151
- {
152
- fs.writeFileSync(filePath, xmlData);
153
- }
154
- return isSaved;
155
- }
156
- catch (ex)
157
- {
158
- throw new BarcodeException(ex.getMessage());
159
- }
160
- }
161
-
162
- /**
163
- * <p>
164
- * Imports BarCode properties from the xml-file specified and creates BarcodeGenerator instance.
165
- * </p>
166
- * @return BarcodeGenerator instance
167
- * @param filePath The name of the file
168
- */
169
- importFromXml(filePath)
170
- {
171
- try
172
- {
173
- let xmlData = joint.convertResourceToBase64String(filePath);
174
- let offset = 6;
175
- xmlData = xmlData.substr(offset);
176
- return BarcodeGenerator.construct(java(BarcodeGenerator.javaClassName).importFromXmlSync(xmlData));
177
- }
178
- catch (ex)
179
- {
180
- throw new BarcodeException(ex.getMessage());
181
- }
182
- }
183
130
  }
184
131
 
185
132
  /**
@@ -295,11 +242,9 @@ class BarcodeParameters extends joint.BaseJavaClass
295
242
  getBarColor()
296
243
  {
297
244
  let intColor = this.getJavaClass().getBarColorSync();
298
- let hexColor = ((intColor) >>> 0).toString(16).slice(-6).toUpperCase()
245
+ let hexColor = ((intColor)>>>0).toString(16).slice(-6).toUpperCase()
299
246
  while (hexColor.length < 6)
300
- {
301
247
  hexColor = "0" + hexColor;
302
- }
303
248
  hexColor = "#" + hexColor;
304
249
  return hexColor;
305
250
  }
@@ -629,11 +574,9 @@ class BaseGenerationParameters extends joint.BaseJavaClass
629
574
  getBackColor()
630
575
  {
631
576
  let intColor = this.getJavaClass().getBackColorSync();
632
- let hexColor = ((intColor) >>> 0).toString(16).slice(-6).toUpperCase()
577
+ let hexColor = ((intColor)>>>0).toString(16).slice(-6).toUpperCase()
633
578
  while (hexColor.length < 6)
634
- {
635
579
  hexColor = "0" + hexColor;
636
- }
637
580
  hexColor = "#" + hexColor;
638
581
  return hexColor;
639
582
  }
@@ -907,11 +850,9 @@ class BorderParameters extends joint.BaseJavaClass
907
850
  getColor()
908
851
  {
909
852
  let intColor = this.getJavaClass().getColorSync();
910
- let hexColor = ((intColor) >>> 0).toString(16).slice(-6).toUpperCase()
853
+ let hexColor = ((intColor)>>>0).toString(16).slice(-6).toUpperCase()
911
854
  while (hexColor.length < 6)
912
- {
913
855
  hexColor = "0" + hexColor;
914
- }
915
856
  hexColor = "#" + hexColor;
916
857
  return hexColor;
917
858
  }
@@ -961,7 +902,7 @@ ChecksumValidation =
961
902
  /**
962
903
  * If checksum is required by the specification - it will be validated.
963
904
  */
964
- DEFAULT: 0,
905
+ _default: 0,
965
906
 
966
907
  /**
967
908
  * Always validate checksum if possible.
@@ -1047,11 +988,9 @@ class CaptionParameters extends joint.BaseJavaClass
1047
988
  getTextColor()
1048
989
  {
1049
990
  let intColor = this.getJavaClass().getTextColorSync();
1050
- let hexColor = ((intColor) >>> 0).toString(16).slice(-6).toUpperCase()
991
+ let hexColor = ((intColor)>>>0).toString(16).slice(-6).toUpperCase()
1051
992
  while (hexColor.length < 6)
1052
- {
1053
993
  hexColor = "0" + hexColor;
1054
- }
1055
994
  hexColor = "#" + hexColor;
1056
995
  return hexColor;
1057
996
  }
@@ -1483,11 +1422,9 @@ class CodetextParameters extends joint.BaseJavaClass
1483
1422
  getColor()
1484
1423
  {
1485
1424
  let intColor = this.getJavaClass().getColorSync();
1486
- let hexColor = ((intColor) >>> 0).toString(16).slice(-6).toUpperCase()
1425
+ let hexColor = ((intColor)>>>0).toString(16).slice(-6).toUpperCase()
1487
1426
  while (hexColor.length < 6)
1488
- {
1489
1427
  hexColor = "0" + hexColor;
1490
- }
1491
1428
  hexColor = "#" + hexColor;
1492
1429
  return hexColor;
1493
1430
  }
@@ -1523,7 +1460,7 @@ class CodetextParameters extends joint.BaseJavaClass
1523
1460
  * Specify word wraps (line breaks) within text.<br>
1524
1461
  * Default value: false.
1525
1462
  */
1526
- getNoWrap()
1463
+ getNoWrap()
1527
1464
  {
1528
1465
  return this.getJavaClass().getNoWrapSync();
1529
1466
  }
@@ -2652,7 +2589,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2652
2589
  {
2653
2590
  this.getJavaClass().setPdf417MacroTimeStampSync((value.getTime() / 1000).toString());
2654
2591
  }
2655
-
2592
+
2656
2593
  /**
2657
2594
  * Gets macro Pdf417 barcode sender name.
2658
2595
  */
@@ -2660,7 +2597,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2660
2597
  {
2661
2598
  return this.getJavaClass().getPdf417MacroSenderSync();
2662
2599
  }
2663
-
2600
+
2664
2601
  /**
2665
2602
  * Sets macro Pdf417 barcode sender name.
2666
2603
  */
@@ -2668,7 +2605,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2668
2605
  {
2669
2606
  this.getJavaClass().setPdf417MacroSenderSync(value);
2670
2607
  }
2671
-
2608
+
2672
2609
  /**
2673
2610
  * Gets macro Pdf417 barcode addressee name.
2674
2611
  */
@@ -2676,7 +2613,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2676
2613
  {
2677
2614
  return this.getJavaClass().getPdf417MacroAddresseeSync();
2678
2615
  }
2679
-
2616
+
2680
2617
  /**
2681
2618
  * Sets macro Pdf417 barcode addressee name.
2682
2619
  */
@@ -2684,7 +2621,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2684
2621
  {
2685
2622
  this.getJavaClass().setPdf417MacroAddresseeSync(value);
2686
2623
  }
2687
-
2624
+
2688
2625
  /**
2689
2626
  * Gets or sets macro Pdf417 file size.<br>
2690
2627
  * @return The file size field contains the size in bytes of the entire source file.
@@ -2693,7 +2630,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2693
2630
  {
2694
2631
  return this.getJavaClass().getPdf417MacroFileSizeSync();
2695
2632
  }
2696
-
2633
+
2697
2634
  /**
2698
2635
  * Gets or sets macro Pdf417 file size.<br>
2699
2636
  * @param value The file size field contains the size in bytes of the entire source file.
@@ -2702,7 +2639,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2702
2639
  {
2703
2640
  this.getJavaClass().setPdf417MacroFileSizeSync(value);
2704
2641
  }
2705
-
2642
+
2706
2643
  /**
2707
2644
  * Gets macro Pdf417 barcode checksum.<br>
2708
2645
  * @return The checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial.
@@ -2711,7 +2648,7 @@ class Pdf417Parameters extends joint.BaseJavaClass
2711
2648
  {
2712
2649
  return this.getJavaClass().getPdf417MacroChecksumSync();
2713
2650
  }
2714
-
2651
+
2715
2652
  /**
2716
2653
  * Sets macro Pdf417 barcode checksum.<br>
2717
2654
  * @param value The checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial.
@@ -3261,6 +3198,19 @@ class ExtCodetextBuilder extends joint.BaseJavaClass
3261
3198
  this.init();
3262
3199
  }
3263
3200
 
3201
+ /**
3202
+ * <p>
3203
+ * Checks necessity to shield previous item by "\000000"
3204
+ * </p>
3205
+ *
3206
+ * @param Index Index in m_List
3207
+ * @return Necessity to shield
3208
+ */
3209
+ isNeedToShieldItemFromPrevECI(Index)
3210
+ {
3211
+ return this.getJavaClass().isNeedToShieldItemFromPrevECISync(Index);
3212
+ }
3213
+
3264
3214
  /**
3265
3215
  * <p>
3266
3216
  * Clears extended codetext items
@@ -3343,8 +3293,8 @@ class ExtCodetextBuilder extends joint.BaseJavaClass
3343
3293
  * lTextBuilder.addPlainCodetext("t\\e\\\\st");
3344
3294
  * //generate codetext
3345
3295
  * String lCodetext = lTextBuilder.getExtendedCodetext();
3346
- *
3347
- *
3296
+ *
3297
+ *
3348
3298
  */
3349
3299
  class QrExtCodetextBuilder extends ExtCodetextBuilder
3350
3300
  {
@@ -3513,9 +3463,9 @@ BarcodeClassifications =
3513
3463
  };
3514
3464
 
3515
3465
  /**
3516
- * FontStyle classification
3517
- * @enum
3518
- */
3466
+ * FontStyle classification
3467
+ * @enum
3468
+ */
3519
3469
  FontStyle =
3520
3470
  {
3521
3471
  BOLD: 1,
@@ -3527,7 +3477,6 @@ FontStyle =
3527
3477
 
3528
3478
  /**
3529
3479
  * Specifies the start or stop symbol of the Codabar barcode specification.
3530
- * @enum
3531
3480
  */
3532
3481
  CodabarSymbol =
3533
3482
  {
@@ -4356,10 +4305,6 @@ GraphicsUnit =
4356
4305
  MILLIMETER: 6,
4357
4306
  };
4358
4307
 
4359
- /**
4360
- * Specifies the type of barcode to encode.
4361
- * @enum
4362
- */
4363
4308
  EncodeTypes =
4364
4309
  {
4365
4310
 
@@ -4609,11 +4554,6 @@ EncodeTypes =
4609
4554
  */
4610
4555
  RM_4_SCC: 42,
4611
4556
 
4612
- /**
4613
- * Represents Royal Mail Mailmark barcode.
4614
- */
4615
- MAILMARK: 66,
4616
-
4617
4557
  /**
4618
4558
  * Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification.
4619
4559
  */
@@ -4716,35 +4656,35 @@ EncodeTypes =
4716
4656
  *@enum
4717
4657
  */
4718
4658
  MacroCharacter =
4719
- {
4720
- /**
4721
- * None of Macro Characters are added to barcode data
4722
- */
4723
- NONE: 0,
4659
+ {
4660
+ /**
4661
+ * None of Macro Characters are added to barcode data
4662
+ */
4663
+ NONE: 0,
4724
4664
 
4725
- /**
4726
- * 05 Macro craracter is added to barcode data in first position.
4727
- * GS1 Data Identifier ISO 15434
4728
- * Character is translated to "[)>\u001E05\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
4729
- *
4730
- * //to generate autoidentified GS1 message like this "(10)123ABC(10)123ABC" in ISO 15434 format you need:
4731
- * let generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, "10123ABC\u001D10123ABC");
4732
- * generator.getParameters().getBarcode().getDataMatrix().setMacroCharacters(MacroCharacter.MACRO_05);
4733
- * let reader = new BarCodeReader(generator.generateBarCodeImage(), DecodeType.GS_1_DATA_MATRIX);
4734
- * reader.readBarCodes().forEach(function(result, i, results)
4735
- * {
4736
- * cosole.log("BarCode CodeText: " + result.getCodeText());
4737
- * });
4738
- */
4739
- MACRO_05: 5,
4665
+ /**
4666
+ * 05 Macro craracter is added to barcode data in first position.
4667
+ * GS1 Data Identifier ISO 15434
4668
+ * Character is translated to "[)>\u001E05\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
4669
+ *
4670
+ * //to generate autoidentified GS1 message like this "(10)123ABC(10)123ABC" in ISO 15434 format you need:
4671
+ * let generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, "10123ABC\u001D10123ABC");
4672
+ * generator.getParameters().getBarcode().getDataMatrix().setMacroCharacters(MacroCharacter.MACRO_05);
4673
+ * let reader = new BarCodeReader(generator.generateBarCodeImage(), DecodeType.GS_1_DATA_MATRIX);
4674
+ * reader.readBarCodes().forEach(function(result, i, results)
4675
+ * {
4676
+ * cosole.log("BarCode CodeText: " + result.getCodeText());
4677
+ * });
4678
+ */
4679
+ MACRO_05: 5,
4740
4680
 
4741
- /**
4742
- * 06 Macro craracter is added to barcode data in first position.
4743
- * ASC MH10 Data Identifier ISO 15434
4744
- * Character is translated to "[)>\u001E06\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
4745
- */
4746
- MACRO_06: 6
4747
- };
4681
+ /**
4682
+ * 06 Macro craracter is added to barcode data in first position.
4683
+ * ASC MH10 Data Identifier ISO 15434
4684
+ * Character is translated to "[)>\u001E06\u001D" as decoded data header and "\u001E\u0004" as decoded data trailer.
4685
+ */
4686
+ MACRO_06: 6
4687
+ };
4748
4688
 
4749
4689
  /**
4750
4690
  * PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders
@@ -4791,7 +4731,7 @@ PatchFormat =
4791
4731
  * generator.getParameters().getBarcode().getQR().setQrECIEncoding(ECIEncodings.UTF_8);
4792
4732
  * generator.save("test.png", BarCodeImageFormat.PNG);
4793
4733
  *
4794
- * @enum
4734
+ * @enum
4795
4735
  */
4796
4736
  ECIEncodings =
4797
4737
  {
@@ -4947,27 +4887,27 @@ EnableChecksum =
4947
4887
  * @enum
4948
4888
  */
4949
4889
  Code128Emulation =
4950
- {
4951
- /**
4952
- * No Code 128 emulation
4953
- */
4954
- NONE: 0,
4890
+ {
4891
+ /**
4892
+ * No Code 128 emulation
4893
+ */
4894
+ NONE: 0,
4955
4895
 
4956
- /**
4957
- * UCC/EAN-128 emulation. Text compactionmode implied.
4958
- */
4959
- CODE_903: 903,
4896
+ /**
4897
+ * UCC/EAN-128 emulation. Text compactionmode implied.
4898
+ */
4899
+ CODE_903: 903,
4960
4900
 
4961
- /**
4962
- * UCC/EAN-128 emulation. Numeric compactionmode implied.
4963
- */
4964
- CODE_904: 904,
4901
+ /**
4902
+ * UCC/EAN-128 emulation. Numeric compactionmode implied.
4903
+ */
4904
+ CODE_904: 904,
4965
4905
 
4966
- /**
4967
- * UCC/EAN-128 emulation. Implied “01” AI and 14-digit codetext.
4968
- */
4969
- CODE_905: 905
4970
- }
4906
+ /**
4907
+ * UCC/EAN-128 emulation. Implied “01” AI and 14-digit codetext.
4908
+ */
4909
+ CODE_905: 905
4910
+ }
4971
4911
 
4972
4912
  /**
4973
4913
  * Specifies the file format of the image.
@@ -4976,45 +4916,32 @@ Code128Emulation =
4976
4916
  BarCodeImageFormat =
4977
4917
  {
4978
4918
  /**
4979
- * Specifies the bitmap (BMP) image format.
4980
- */
4981
- BMP:0,
4982
-
4983
- /**
4984
- * Specifies the Graphics Interchange Format (GIF) image format.
4985
- */
4986
- GIF:1,
4987
-
4988
- /**
4989
- * Specifies the Joint Photographic Experts Group (JPEG) image format.
4990
- */
4991
- JPEG:2,
4992
-
4993
- /**
4919
+ * <p>
4994
4920
  * Specifies the W3C Portable Network Graphics (PNG) image format.
4921
+ * </p>
4995
4922
  */
4996
- PNG:3,
4997
-
4998
- /**
4999
- * Specifies the Tagged Image File Format (TIFF) image format.
5000
- */
5001
- TIFF:4,
5002
-
4923
+ BMP: 0,
5003
4924
 
5004
4925
  /**
5005
- * Specifies the Tagged Image File Format (TIFF) image format in CMYK color model.
4926
+ * <p>
4927
+ * Specifies the Joint Photographic Experts Group (JPEG) image format.
4928
+ * </p>
5006
4929
  */
5007
- TIFF_IN_CMYK:5,
4930
+ GIF: 1,
5008
4931
 
5009
4932
  /**
5010
- * Specifies the Enhanced Metafile (EMF) image format.
4933
+ * <p>
4934
+ * Specifies the bitmap (BMP) image format.
4935
+ * </p>
5011
4936
  */
5012
- EMF:6,
4937
+ JPEG: 2,
5013
4938
 
5014
4939
  /**
5015
- * Specifies the Scalable Vector Graphics (SVG) image format.
4940
+ * <p>
4941
+ * Specifies the Graphics Interchange Format (GIF) image format.
4942
+ * </p>
5016
4943
  */
5017
- SVG:7
4944
+ PNG: 3
5018
4945
  };
5019
4946
 
5020
4947
  module.exports = {