aspose.barcode 22.11.0 → 22.12.2

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.
@@ -1826,6 +1826,7 @@ class BarCodeExtendedParameters extends joint.BaseJavaClass
1826
1826
  _pdf417Parameters;
1827
1827
  _dataBarParameters;
1828
1828
  _maxiCodeParameters;
1829
+ _dotCodeExtendedParameters;
1829
1830
 
1830
1831
  constructor(javaclass)
1831
1832
  {
@@ -1841,6 +1842,7 @@ class BarCodeExtendedParameters extends joint.BaseJavaClass
1841
1842
  this._pdf417Parameters = new Pdf417ExtendedParameters(this.getJavaClass().getPdf417Sync());
1842
1843
  this._dataBarParameters = new DataBarExtendedParameters(this.getJavaClass().getDataBarSync());
1843
1844
  this._maxiCodeParameters = new MaxiCodeExtendedParameters(this.getJavaClass().getMaxiCodeSync());
1845
+ this._dotCodeExtendedParameters = new DotCodeExtendedParameters(this.getJavaClass().getDotCodeSync());
1844
1846
  }
1845
1847
 
1846
1848
  /** Gets a DataBar additional information DataBarExtendedParameters of recognized barcode<br>
@@ -1869,6 +1871,14 @@ class BarCodeExtendedParameters extends joint.BaseJavaClass
1869
1871
  return this._oneDParameters;
1870
1872
  }
1871
1873
 
1874
+ /**
1875
+ * <p>Gets a DotCode additional information{@code DotCodeExtendedParameters} of recognized barcode</p>Value: A DotCode additional information{@code DotCodeExtendedParameters} of recognized barcode
1876
+ */
1877
+ getDotCode()
1878
+ {
1879
+ return this._dotCodeExtendedParameters;
1880
+ }
1881
+
1872
1882
  /**
1873
1883
  * Gets a special data Code128ExtendedParameters of Code128 recognized barcode Value: A special data Code128ExtendedParameters of Code128 recognized barcode
1874
1884
  */
@@ -3099,6 +3109,98 @@ class MaxiCodeExtendedParameters extends joint.BaseJavaClass
3099
3109
  }
3100
3110
  }
3101
3111
 
3112
+ /**
3113
+ * <p>
3114
+ * Stores special data of DotCode recognized barcode
3115
+ * </p><p><hr><blockquote><pre>
3116
+ * This sample shows how to get DotCode raw values
3117
+ * <pre>
3118
+ *
3119
+ * let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, "12345");
3120
+ * {
3121
+ * generator.save("c:\\test.png", BarCodeImageFormat.PNG);
3122
+ * }
3123
+ * let reader = new BarCodeReader("c:\\test.png", null, DecodeType.DOT_CODE);
3124
+ * {
3125
+ * reader.readBarCodes().forEach(function(result, i, results)
3126
+ * {
3127
+ * print("BarCode type: " + result.getCodeTypeName());
3128
+ * print("BarCode codetext: " + result.getCodeText());
3129
+ * print("DotCode barcode ID: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId());
3130
+ * print("DotCode barcodes count: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount());
3131
+ * });
3132
+ * }
3133
+ * </pre>
3134
+ * </pre></blockquote></hr></p>
3135
+ */
3136
+ class DotCodeExtendedParameters extends joint.BaseJavaClass
3137
+ {
3138
+ constructor(javaClass)
3139
+ {
3140
+ super(javaClass);
3141
+ }
3142
+
3143
+ /**
3144
+ * <p>Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.</p>Value: The count of the DotCode structured append mode barcode.
3145
+ */
3146
+ getDotCodeStructuredAppendModeBarcodesCount()
3147
+ { return this.getJavaClass().getDotCodeStructuredAppendModeBarcodesCountSync(); }
3148
+
3149
+ /**
3150
+ * <p>Gets the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.</p>Value: The ID of the DotCode structured append mode barcode.
3151
+ */
3152
+ getDotCodeStructuredAppendModeBarcodeId()
3153
+ { return this.getJavaClass().getDotCodeStructuredAppendModeBarcodeIdSync(); }
3154
+
3155
+ /**
3156
+ * <p>
3157
+ * Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.
3158
+ * Default value is false.
3159
+ * </p>
3160
+ */
3161
+ getDotCodeIsReaderInitialization()
3162
+ { return this.getJavaClass().getDotCodeIsReaderInitializationSync(); }
3163
+
3164
+ /**
3165
+ * <p>
3166
+ * Returns a value indicating whether this instance is equal to a specified {@code DotCodeExtendedParameters} value.
3167
+ * </p>
3168
+ * @return {@code <b>true</b>} if obj has the same value as this instance; otherwise, {@code <b>false</b>}.
3169
+ * @param obj An System.Object value to compare to this instance.
3170
+ */
3171
+ equals(obj)
3172
+ {
3173
+ return this.getJavaClass().equalsSync(obj.getJavaClass());
3174
+ }
3175
+
3176
+ /**
3177
+ * <p>
3178
+ * Returns the hash code for this instance.
3179
+ * </p>
3180
+ * @return A 32-bit signed integer hash code.
3181
+ */
3182
+ hashCode()
3183
+ {
3184
+ return this.getJavaClass().hashCodeSync();
3185
+ }
3186
+
3187
+ /**
3188
+ * <p>
3189
+ * Returns a human-readable string representation of this {@code DotCodeExtendedParameters}.
3190
+ * </p>
3191
+ * @return A string that represents this {@code DotCodeExtendedParameters}.
3192
+ */
3193
+ toString()
3194
+ {
3195
+ return this.getJavaClass().toStringSync();
3196
+ }
3197
+
3198
+ init()
3199
+ {
3200
+ // TODO: Implement init() method.
3201
+ }
3202
+ }
3203
+
3102
3204
  /**
3103
3205
  * Specify the type of barcode to read.
3104
3206
  * @example
@@ -3448,35 +3550,112 @@ DecodeType =
3448
3550
  */
3449
3551
  DOT_CODE: 63,
3450
3552
 
3553
+ /**
3554
+ * <p>
3555
+ * Specifies that the data should be decoded with {@code <b>GS1 DotCode</b>} blank specification
3556
+ * </p>
3557
+ */
3558
+ GS_1_DOT_CODE: 77,
3559
+
3451
3560
  /**
3452
3561
  * Specifies that the data should be decoded with {@code <b>DotCode</b>} blank specification
3453
3562
  */
3454
3563
  DUTCH_KIX: 64,
3455
3564
 
3456
3565
  /**
3457
- * Specifies that data will be checked with all available symbologies
3566
+ * <p>
3567
+ * Specifies that the data should be decoded with {@code <b>HIBC LIC Code39</b>} blank specification
3568
+ * </p>
3569
+ */
3570
+ HIBC_CODE_39_LIC: 67,
3571
+
3572
+ /**
3573
+ * <p>
3574
+ * Specifies that the data should be decoded with {@code <b>HIBC LIC Code128</b>} blank specification
3575
+ * </p>
3576
+ */
3577
+ HIBC_CODE_128_LIC: 68,
3578
+
3579
+ /**
3580
+ * <p>
3581
+ * Specifies that the data should be decoded with {@code <b>HIBC LIC Aztec</b>} blank specification
3582
+ * </p>
3583
+ */
3584
+ HIBC_AZTEC_LIC: 69,
3585
+
3586
+ /**
3587
+ * <p>
3588
+ * Specifies that the data should be decoded with {@code <b>HIBC LIC DataMatrix</b>} blank specification
3589
+ * </p>
3458
3590
  */
3459
- ALL_SUPPORTED_TYPES: 71,
3591
+ HIBC_DATA_MATRIX_LIC: 70,
3592
+
3593
+ /**
3594
+ * <p>
3595
+ * Specifies that the data should be decoded with {@code <b>HIBC LIC QR</b>} blank specification
3596
+ * </p>
3597
+ */
3598
+ HIBCQRLIC: 71,
3599
+
3600
+ /**
3601
+ * <p>
3602
+ * Specifies that the data should be decoded with {@code <b>HIBC PAS Code39</b>} blank specification
3603
+ * </p>
3604
+ */
3605
+ HIBC_CODE_39_PAS: 72,
3606
+
3607
+ /**
3608
+ * <p>
3609
+ * Specifies that the data should be decoded with {@code <b>HIBC PAS Code128</b>} blank specification
3610
+ * </p>
3611
+ */
3612
+ HIBC_CODE_128_PAS: 73,
3613
+
3614
+ /**
3615
+ * <p>
3616
+ * Specifies that the data should be decoded with {@code <b>HIBC PAS Aztec</b>} blank specification
3617
+ * </p>
3618
+ */
3619
+ HIBC_AZTEC_PAS: 74,
3620
+
3621
+ /**
3622
+ * <p>
3623
+ * Specifies that the data should be decoded with {@code <b>HIBC PAS DataMatrix</b>} blank specification
3624
+ * </p>
3625
+ */
3626
+ HIBC_DATA_MATRIX_PAS: 75,
3627
+
3628
+ /**
3629
+ * <p>
3630
+ * Specifies that the data should be decoded with {@code <b>HIBC PAS QR</b>} blank specification
3631
+ * </p>
3632
+ */
3633
+ HIBCQRPAS: 76,
3460
3634
 
3461
3635
  /**
3462
3636
  * Specifies that data will be checked with all of 1D barcode symbologies
3463
3637
  */
3464
- TYPES_1D: 67,
3638
+ TYPES_1D: 97,
3465
3639
 
3466
3640
  /**
3467
3641
  * Specifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX
3468
3642
  */
3469
- POSTAL_TYPES: 68,
3643
+ POSTAL_TYPES: 95,
3470
3644
 
3471
3645
  /**
3472
3646
  * Specifies that data will be checked with most commonly used symbologies
3473
3647
  */
3474
- MOST_COMMON_TYPES: 69,
3648
+ MOST_COMMON_TYPES: 96,
3475
3649
 
3476
3650
  /**
3477
3651
  * Specifies that data will be checked with all of <b>2D</b> barcode symbologies
3478
3652
  */
3479
- TYPES_2D: 70,
3653
+ TYPES_2D: 98,
3654
+
3655
+ /**
3656
+ * Specifies that data will be checked with all available symbologies
3657
+ */
3658
+ ALL_SUPPORTED_TYPES: 99,
3480
3659
 
3481
3660
  javaClassName: "com.aspose.mw.barcode.recognition.MwDecodeTypeUtils",
3482
3661
 
@@ -3706,5 +3885,6 @@ module.exports = {
3706
3885
  AustraliaPostSettings,
3707
3886
  BarcodeSettings,
3708
3887
  CustomerInformationInterpretingType,
3709
- RecognitionAbortedException
3888
+ RecognitionAbortedException,
3889
+ DotCodeExtendedParameters
3710
3890
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aspose.barcode",
3
- "version": "22.11.0",
3
+ "version": "22.12.2",
4
4
  "description": "barcode generation and recognition component",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"