aspose.barcode 23.5.0 → 23.6.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/AsposeBarcode.js +1 -1
- package/lib/ComplexBarcode.js +763 -755
- package/lib/Generation.js +1132 -326
- package/lib/Joint.js +56 -2
- package/lib/Recognition.js +178 -90
- package/lib/{aspose-barcode-nodejs-23.5.jar → aspose-barcode-nodejs-23.6.jar} +0 -0
- package/package.json +1 -1
package/lib/ComplexBarcode.js
CHANGED
|
@@ -117,13 +117,13 @@ class ComplexBarcodeGenerator extends joint.BaseJavaClass {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* Address of creditor or debtor
|
|
121
|
-
*
|
|
122
|
-
* You can either set street, house number, postal code and town (type structured address)
|
|
123
|
-
* or address line 1 and 2 (type combined address elements). The type is automatically set
|
|
124
|
-
* once any of these fields is set. Before setting the fields, the address type is undetermined
|
|
125
|
-
* If fields of both types are set, the address type becomes conflicting
|
|
126
|
-
* Name and country code must always be set unless all fields are empty
|
|
120
|
+
* Address of creditor or debtor.<br>
|
|
121
|
+
* <br>
|
|
122
|
+
* You can either set street, house number, postal code and town (type structured address)<br>
|
|
123
|
+
* or address line 1 and 2 (type combined address elements). The type is automatically set<br>
|
|
124
|
+
* once any of these fields is set. Before setting the fields, the address type is undetermined.<br>
|
|
125
|
+
* If fields of both types are set, the address type becomes conflicting.<br>
|
|
126
|
+
* Name and country code must always be set unless all fields are empty.<br>
|
|
127
127
|
*/
|
|
128
128
|
class Address extends joint.BaseJavaClass {
|
|
129
129
|
static javaClassName = "com.aspose.mw.barcode.complexbarcode.MwAddress";
|
|
@@ -142,221 +142,220 @@ class Address extends joint.BaseJavaClass {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
* Gets the address type
|
|
146
|
-
*
|
|
147
|
-
* The address type is automatically set by either setting street / house number
|
|
148
|
-
* or address line 1 and 2. Before setting the fields, the address type is Undetermined
|
|
149
|
-
* If fields of both types are set, the address type becomes Conflicting
|
|
150
|
-
*
|
|
151
|
-
* Value: The address type.
|
|
145
|
+
* Gets the address type.<br>
|
|
146
|
+
* <br>
|
|
147
|
+
* The address type is automatically set by either setting street / house number<br>
|
|
148
|
+
* or address line 1 and 2. Before setting the fields, the address type is Undetermined.<br>
|
|
149
|
+
* If fields of both types are set, the address type becomes Conflicting.<br>
|
|
150
|
+
* @return The address type.
|
|
152
151
|
*/
|
|
153
152
|
getType() {
|
|
154
153
|
return this.getJavaClass().getTypeSync();
|
|
155
154
|
}
|
|
156
155
|
|
|
157
156
|
/**
|
|
158
|
-
* Gets the name, either the first and last name of a natural person or the
|
|
159
|
-
* company name of a legal person
|
|
160
|
-
*
|
|
157
|
+
* Gets the name, either the first and last name of a natural person or the<br>
|
|
158
|
+
* company name of a legal person.<br>
|
|
159
|
+
* @return The name.
|
|
161
160
|
*/
|
|
162
161
|
getName() {
|
|
163
162
|
return this.getJavaClass().getNameSync();
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
/**
|
|
167
|
-
* Sets the name, either the first and last name of a natural person or the
|
|
168
|
-
* company name of a legal person
|
|
169
|
-
*
|
|
166
|
+
* Sets the name, either the first and last name of a natural person or the<br>
|
|
167
|
+
* company name of a legal person.<br>
|
|
168
|
+
* @param value: The name.
|
|
170
169
|
*/
|
|
171
170
|
setName(value) {
|
|
172
171
|
this.getJavaClass().setNameSync(value);
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
/**
|
|
176
|
-
* Gets the address line 1
|
|
177
|
-
*
|
|
178
|
-
* Address line 1 contains street name, house number or P.O. box
|
|
179
|
-
*
|
|
180
|
-
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already
|
|
181
|
-
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING
|
|
182
|
-
*
|
|
183
|
-
* This field is only used for combined elements addresses and is optional
|
|
184
|
-
*
|
|
185
|
-
*
|
|
175
|
+
* Gets the address line 1.<br>
|
|
176
|
+
* <br>
|
|
177
|
+
* Address line 1 contains street name, house number or P.O. box.<br>
|
|
178
|
+
* <br>
|
|
179
|
+
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already<br>
|
|
180
|
+
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING.<br>
|
|
181
|
+
* <br>
|
|
182
|
+
* This field is only used for combined elements addresses and is optional.<br>
|
|
183
|
+
* <br>
|
|
184
|
+
* @return The address line 1.
|
|
186
185
|
*/
|
|
187
186
|
getAddressLine1() {
|
|
188
187
|
return this.getJavaClass().getAddressLine1Sync();
|
|
189
188
|
}
|
|
190
189
|
|
|
191
190
|
/**
|
|
192
|
-
* Sets the address line 1
|
|
193
|
-
*
|
|
194
|
-
* Address line 1 contains street name, house number or P.O. box
|
|
195
|
-
*
|
|
196
|
-
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already
|
|
197
|
-
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING
|
|
198
|
-
*
|
|
199
|
-
* This field is only used for combined elements addresses and is optional
|
|
200
|
-
*
|
|
201
|
-
*
|
|
191
|
+
* Sets the address line 1.<br>
|
|
192
|
+
* <br>
|
|
193
|
+
* Address line 1 contains street name, house number or P.O. box.<br>
|
|
194
|
+
* <br>
|
|
195
|
+
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already<br>
|
|
196
|
+
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING.<br>
|
|
197
|
+
* <br>
|
|
198
|
+
* This field is only used for combined elements addresses and is optional.<br>
|
|
199
|
+
* <br>
|
|
200
|
+
* @param value: The address line 1.<br>
|
|
202
201
|
*/
|
|
203
202
|
setAddressLine1(value) {
|
|
204
203
|
this.getJavaClass().setAddressLine1Sync(value);
|
|
205
204
|
}
|
|
206
205
|
|
|
207
206
|
/**
|
|
208
|
-
* Gets the address line 2
|
|
209
|
-
* Address line 2 contains postal code and town
|
|
210
|
-
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already
|
|
211
|
-
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING
|
|
212
|
-
* This field is only used for combined elements addresses. For this type, it's mandatory
|
|
213
|
-
*
|
|
207
|
+
* Gets the address line 2.<br>
|
|
208
|
+
* Address line 2 contains postal code and town.<br>
|
|
209
|
+
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already<br>
|
|
210
|
+
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING.<br>
|
|
211
|
+
* This field is only used for combined elements addresses. For this type, it's mandatory.<br>
|
|
212
|
+
* @return The address line 2.
|
|
214
213
|
*/
|
|
215
214
|
getAddressLine2() {
|
|
216
215
|
return this.getJavaClass().getAddressLine2Sync();
|
|
217
216
|
}
|
|
218
217
|
|
|
219
218
|
/**
|
|
220
|
-
* Sets the address line 2
|
|
221
|
-
* Address line 2 contains postal code and town
|
|
222
|
-
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already
|
|
223
|
-
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING
|
|
224
|
-
* This field is only used for combined elements addresses. For this type, it's mandatory
|
|
225
|
-
*
|
|
219
|
+
* Sets the address line 2.<br>
|
|
220
|
+
* Address line 2 contains postal code and town.<br>
|
|
221
|
+
* Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it's already<br>
|
|
222
|
+
* AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING.<br>
|
|
223
|
+
* This field is only used for combined elements addresses. For this type, it's mandatory.<br>
|
|
224
|
+
* @param value: The address line 2.
|
|
226
225
|
*/
|
|
227
226
|
setAddressLine2(value) {
|
|
228
227
|
this.getJavaClass().setAddressLine2Sync(value);
|
|
229
228
|
}
|
|
230
229
|
|
|
231
230
|
/**
|
|
232
|
-
* Gets the street
|
|
233
|
-
* The street must be speicfied without house number
|
|
234
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
235
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
236
|
-
* This field is only used for structured addresses and is optional
|
|
237
|
-
*
|
|
231
|
+
* Gets the street.<br>
|
|
232
|
+
* The street must be speicfied without house number.<br>
|
|
233
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
234
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
235
|
+
* This field is only used for structured addresses and is optional.<br>
|
|
236
|
+
* @return The street.
|
|
238
237
|
*/
|
|
239
238
|
getStreet() {
|
|
240
239
|
return this.getJavaClass().getStreetSync();
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
/**
|
|
244
|
-
* Sets the street
|
|
245
|
-
*
|
|
246
|
-
* The street must be speicfied without house number
|
|
247
|
-
*
|
|
248
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
249
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
250
|
-
*
|
|
251
|
-
* This field is only used for structured addresses and is optional
|
|
252
|
-
*
|
|
253
|
-
*
|
|
243
|
+
* Sets the street.<br>
|
|
244
|
+
* <br>
|
|
245
|
+
* The street must be speicfied without house number.<br>
|
|
246
|
+
* <br>
|
|
247
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
248
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
249
|
+
* <br>
|
|
250
|
+
* This field is only used for structured addresses and is optional.<br>
|
|
251
|
+
* <br>
|
|
252
|
+
* @param value: The street.
|
|
254
253
|
*/
|
|
255
254
|
setStreet(value) {
|
|
256
255
|
this.getJavaClass().setStreetSync(value);
|
|
257
256
|
}
|
|
258
257
|
|
|
259
258
|
/**
|
|
260
|
-
* Gets the house number
|
|
261
|
-
*
|
|
262
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
263
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
264
|
-
*
|
|
265
|
-
* This field is only used for structured addresses and is optional
|
|
266
|
-
*
|
|
267
|
-
*
|
|
259
|
+
* Gets the house number.<br>
|
|
260
|
+
* <br>
|
|
261
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
262
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
263
|
+
* <br>
|
|
264
|
+
* This field is only used for structured addresses and is optional.<br>
|
|
265
|
+
* <br>
|
|
266
|
+
* @return The house number.<br>
|
|
268
267
|
*/
|
|
269
268
|
getHouseNo() {
|
|
270
269
|
return this.getJavaClass().getHouseNoSync();
|
|
271
270
|
}
|
|
272
271
|
|
|
273
272
|
/**
|
|
274
|
-
* Sets the house number
|
|
275
|
-
*
|
|
276
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
277
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
278
|
-
*
|
|
279
|
-
* This field is only used for structured addresses and is optional
|
|
280
|
-
*
|
|
281
|
-
*
|
|
273
|
+
* Sets the house number.<br>
|
|
274
|
+
* <br>
|
|
275
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
276
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
277
|
+
* <br>
|
|
278
|
+
* This field is only used for structured addresses and is optional.<br>
|
|
279
|
+
* <br>
|
|
280
|
+
* @param value: The house number.
|
|
282
281
|
*/
|
|
283
282
|
setHouseNo(value) {
|
|
284
283
|
this.getJavaClass().setHouseNoSync(value);
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
/**
|
|
288
|
-
* Gets the postal code
|
|
289
|
-
*
|
|
290
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
291
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
292
|
-
*
|
|
293
|
-
* This field is only used for structured addresses. For this type, it's mandatory
|
|
294
|
-
*
|
|
295
|
-
*
|
|
287
|
+
* Gets the postal code.<br>
|
|
288
|
+
* <br>
|
|
289
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
290
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
291
|
+
* <br>
|
|
292
|
+
* This field is only used for structured addresses. For this type, it's mandatory.<br>
|
|
293
|
+
* <br>
|
|
294
|
+
* @return The postal code.
|
|
296
295
|
*/
|
|
297
296
|
getPostalCode() {
|
|
298
297
|
return this.getJavaClass().getPostalCodeSync();
|
|
299
298
|
}
|
|
300
299
|
|
|
301
300
|
/**
|
|
302
|
-
* Sets the postal code
|
|
303
|
-
*
|
|
304
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
305
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
306
|
-
*
|
|
307
|
-
* This field is only used for structured addresses. For this type, it's mandatory
|
|
308
|
-
*
|
|
309
|
-
*
|
|
301
|
+
* Sets the postal code.<br>
|
|
302
|
+
* <br>
|
|
303
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
304
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
305
|
+
* <br>
|
|
306
|
+
* This field is only used for structured addresses. For this type, it's mandatory.<br>
|
|
307
|
+
* <br>
|
|
308
|
+
* @param value The postal code.
|
|
310
309
|
*/
|
|
311
310
|
setPostalCode(value) {
|
|
312
311
|
this.getJavaClass().setPostalCodeSync(value);
|
|
313
312
|
}
|
|
314
313
|
|
|
315
314
|
/**
|
|
316
|
-
* Gets the town or
|
|
317
|
-
*
|
|
318
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
319
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
320
|
-
*
|
|
321
|
-
* This field is only used for structured addresses. For this type, it's mandatory
|
|
322
|
-
*
|
|
323
|
-
*
|
|
315
|
+
* Gets the town or city.<br>
|
|
316
|
+
* <br>
|
|
317
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
318
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
319
|
+
* <br>
|
|
320
|
+
* This field is only used for structured addresses. For this type, it's mandatory.<br>
|
|
321
|
+
* <br>
|
|
322
|
+
* @return The town or city.
|
|
324
323
|
*/
|
|
325
324
|
getTown() {
|
|
326
325
|
return this.getJavaClass().getTownSync();
|
|
327
326
|
}
|
|
328
327
|
|
|
329
328
|
/**
|
|
330
|
-
* Sets the town or city
|
|
331
|
-
*
|
|
332
|
-
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already
|
|
333
|
-
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING
|
|
334
|
-
*
|
|
335
|
-
* This field is only used for structured addresses. For this type, it's mandatory
|
|
336
|
-
*
|
|
337
|
-
*
|
|
329
|
+
* Sets the town or city.<br>
|
|
330
|
+
* <br>
|
|
331
|
+
* Setting this field sets the address type to AddressType.STRUCTURED unless it's already<br>
|
|
332
|
+
* AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING.<br>
|
|
333
|
+
* <br>
|
|
334
|
+
* This field is only used for structured addresses. For this type, it's mandatory.<br>
|
|
335
|
+
* <br>
|
|
336
|
+
* @param value The town or city.
|
|
338
337
|
*/
|
|
339
338
|
setTown(value) {
|
|
340
339
|
this.getJavaClass().setTownSync(value);
|
|
341
340
|
}
|
|
342
341
|
|
|
343
342
|
/**
|
|
344
|
-
* Gets the two-letter ISO country code
|
|
345
|
-
*
|
|
346
|
-
* The country code is mandatory unless the entire address contains null or emtpy values.
|
|
347
|
-
*
|
|
348
|
-
*
|
|
343
|
+
* Gets the two-letter ISO country code.<br>
|
|
344
|
+
* <br>
|
|
345
|
+
* The country code is mandatory unless the entire address contains null or emtpy values. <br>
|
|
346
|
+
* <br>
|
|
347
|
+
* @return The ISO country code.<br>
|
|
349
348
|
*/
|
|
350
349
|
getCountryCode() {
|
|
351
350
|
return this.getJavaClass().getCountryCodeSync();
|
|
352
351
|
}
|
|
353
352
|
|
|
354
353
|
/**
|
|
355
|
-
* Sets the two-letter ISO country code.
|
|
356
|
-
*
|
|
357
|
-
* The country code is mandatory unless the entire address contains null or emtpy values
|
|
358
|
-
*
|
|
359
|
-
*
|
|
354
|
+
* Sets the two-letter ISO country code. <br>
|
|
355
|
+
* <br>
|
|
356
|
+
* The country code is mandatory unless the entire address contains null or emtpy values.<br>
|
|
357
|
+
* <br>
|
|
358
|
+
* @param value The ISO country code.<br>
|
|
360
359
|
*/
|
|
361
360
|
setCountryCode(value) {
|
|
362
361
|
this.getJavaClass().setCountryCodeSync(value);
|
|
@@ -377,17 +376,17 @@ class Address extends joint.BaseJavaClass {
|
|
|
377
376
|
}
|
|
378
377
|
|
|
379
378
|
/**
|
|
380
|
-
* Determines whether the specified object is equal to the current object
|
|
381
|
-
* @return true if the specified object is equal to the current object; otherwise, false
|
|
382
|
-
* @param obj The object to compare with the current object
|
|
379
|
+
* Determines whether the specified object is equal to the current object.<br>
|
|
380
|
+
* @return true if the specified object is equal to the current object; otherwise, false.<br>
|
|
381
|
+
* @param obj The object to compare with the current object.<br>
|
|
383
382
|
*/
|
|
384
383
|
equals(obj) {
|
|
385
384
|
return this.getJavaClass().equalsSync(obj.getJavaClass());
|
|
386
385
|
}
|
|
387
386
|
|
|
388
387
|
/**
|
|
389
|
-
* Gets the hash code for this instance
|
|
390
|
-
* @return A hash code for the current object
|
|
388
|
+
* Gets the hash code for this instance.<br>
|
|
389
|
+
* @return A hash code for the current object<br>.
|
|
391
390
|
*/
|
|
392
391
|
hashCode() {
|
|
393
392
|
return this.getJavaClass().hashCodeSync();
|
|
@@ -444,18 +443,18 @@ class AlternativeScheme extends joint.BaseJavaClass {
|
|
|
444
443
|
}
|
|
445
444
|
|
|
446
445
|
/**
|
|
447
|
-
* Gets the payment instruction for a given bill
|
|
448
|
-
*
|
|
449
|
-
* The instruction consists of a two letter abbreviation for the scheme, a separator characters
|
|
450
|
-
* and a sequence of parameters(separated by the character at index 2)
|
|
446
|
+
* Gets the payment instruction for a given bill.<br>
|
|
447
|
+
* <br>
|
|
448
|
+
* The instruction consists of a two letter abbreviation for the scheme, a separator characters<br>
|
|
449
|
+
* and a sequence of parameters(separated by the character at index 2).<br>
|
|
451
450
|
*/
|
|
452
451
|
getInstruction() {
|
|
453
452
|
return this.getJavaClass().getInstructionSync();
|
|
454
453
|
}
|
|
455
454
|
|
|
456
455
|
/**
|
|
457
|
-
* Gets the payment instruction for a given bill
|
|
458
|
-
* The instruction consists of a two letter abbreviation for the scheme, a separator characters
|
|
456
|
+
* Gets the payment instruction for a given bill.<br>
|
|
457
|
+
* The instruction consists of a two letter abbreviation for the scheme, a separator characters<br>
|
|
459
458
|
* and a sequence of parameters(separated by the character at index 2).
|
|
460
459
|
*/
|
|
461
460
|
setInstruction(value) {
|
|
@@ -463,8 +462,8 @@ class AlternativeScheme extends joint.BaseJavaClass {
|
|
|
463
462
|
}
|
|
464
463
|
|
|
465
464
|
/**
|
|
466
|
-
* Determines whether the specified object is equal to the current object
|
|
467
|
-
* @return true if the specified object is equal to the current object; otherwise, false
|
|
465
|
+
* Determines whether the specified object is equal to the current object.<br>
|
|
466
|
+
* @return true if the specified object is equal to the current object; otherwise, false.<br>
|
|
468
467
|
* @param obj The object to compare with the current object.
|
|
469
468
|
*/
|
|
470
469
|
equals(obj) {
|
|
@@ -472,7 +471,7 @@ class AlternativeScheme extends joint.BaseJavaClass {
|
|
|
472
471
|
}
|
|
473
472
|
|
|
474
473
|
/**
|
|
475
|
-
* Gets the hash code for this instance
|
|
474
|
+
* Gets the hash code for this instance.<br>
|
|
476
475
|
* @return hash code for the current object.
|
|
477
476
|
*/
|
|
478
477
|
hashCode() {
|
|
@@ -485,7 +484,7 @@ class AlternativeScheme extends joint.BaseJavaClass {
|
|
|
485
484
|
}
|
|
486
485
|
|
|
487
486
|
/**
|
|
488
|
-
* ComplexCodetextReader decodes codetext to specified complex barcode type
|
|
487
|
+
* ComplexCodetextReader decodes codetext to specified complex barcode type.<br>
|
|
489
488
|
* @example
|
|
490
489
|
* This sample shows how to recognize and decode SwissQR image.
|
|
491
490
|
*
|
|
@@ -508,8 +507,8 @@ class ComplexCodetextReader {
|
|
|
508
507
|
}
|
|
509
508
|
|
|
510
509
|
/**
|
|
511
|
-
* Decodes Royal Mail Mailmark 2D codetext
|
|
512
|
-
* @param encodedCodetext encoded codetext
|
|
510
|
+
* Decodes Royal Mail Mailmark 2D codetext.<br>
|
|
511
|
+
* @param encodedCodetext encoded codetext<br>
|
|
513
512
|
* @return decoded Royal Mail Mailmark 2D or null.
|
|
514
513
|
*/
|
|
515
514
|
static tryDecodeMailmark2D(encodedCodetext)
|
|
@@ -519,8 +518,8 @@ class ComplexCodetextReader {
|
|
|
519
518
|
}
|
|
520
519
|
|
|
521
520
|
/**
|
|
522
|
-
* Decodes Mailmark Barcode C and L codetext
|
|
523
|
-
* @param encodedCodetext encoded codetext
|
|
521
|
+
* Decodes Mailmark Barcode C and L codetext.<br>
|
|
522
|
+
* @param encodedCodetext encoded codetext<br>
|
|
524
523
|
* @return Decoded Mailmark Barcode C and L or null.
|
|
525
524
|
*/
|
|
526
525
|
static tryDecodeMailmark(encodedCodetext)
|
|
@@ -658,16 +657,16 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
658
657
|
}
|
|
659
658
|
|
|
660
659
|
/**
|
|
661
|
-
* Sets the version of the SwissQR bill standard
|
|
662
|
-
*
|
|
660
|
+
* Sets the version of the SwissQR bill standard.<br>
|
|
661
|
+
* @param value The SwissQR bill standard version.
|
|
663
662
|
*/
|
|
664
663
|
setVersion(value) {
|
|
665
664
|
this.getJavaClass().setVersionSync(value);
|
|
666
665
|
}
|
|
667
666
|
|
|
668
667
|
/**
|
|
669
|
-
* Gets the payment amount
|
|
670
|
-
*
|
|
668
|
+
* Gets the payment amount.<br>
|
|
669
|
+
* <br>
|
|
671
670
|
* Valid values are between 0.01 and 999,999,999.99.
|
|
672
671
|
*
|
|
673
672
|
* @return The payment amount.
|
|
@@ -677,18 +676,17 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
677
676
|
}
|
|
678
677
|
|
|
679
678
|
/**
|
|
680
|
-
* Sets the payment amount
|
|
681
|
-
*
|
|
679
|
+
* Sets the payment amount.<br>
|
|
682
680
|
* Valid values are between 0.01 and 999,999,999.99.
|
|
683
681
|
*
|
|
684
|
-
*
|
|
682
|
+
* @param value The payment amount.
|
|
685
683
|
*/
|
|
686
684
|
setAmount(value) {
|
|
687
685
|
this.getJavaClass().setAmountSync(value);
|
|
688
686
|
}
|
|
689
687
|
|
|
690
688
|
/**
|
|
691
|
-
* Gets the payment currency
|
|
689
|
+
* Gets the payment currency.<br>
|
|
692
690
|
*
|
|
693
691
|
* Valid values are "CHF" and "EUR".
|
|
694
692
|
*
|
|
@@ -699,21 +697,19 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
699
697
|
}
|
|
700
698
|
|
|
701
699
|
/**
|
|
702
|
-
* Sets the payment currency
|
|
703
|
-
*
|
|
704
|
-
* Valid values are "CHF" and "EUR".
|
|
700
|
+
* Sets the payment currency.<br>
|
|
705
701
|
*
|
|
706
|
-
*
|
|
702
|
+
* @param value Valid values are "CHF" and "EUR".
|
|
707
703
|
*/
|
|
708
704
|
setCurrency(value) {
|
|
709
705
|
this.getJavaClass().setCurrencySync(value);
|
|
710
706
|
}
|
|
711
707
|
|
|
712
708
|
/**
|
|
713
|
-
* Gets the creditor's account number
|
|
714
|
-
*
|
|
715
|
-
* Account numbers must be valid IBANs of a bank of Switzerland or
|
|
716
|
-
* Liechtenstein. Spaces are allowed in the account number
|
|
709
|
+
* Gets the creditor's account number.<br>
|
|
710
|
+
* <br>
|
|
711
|
+
* Account numbers must be valid IBANs of a bank of Switzerland or<br>
|
|
712
|
+
* Liechtenstein. Spaces are allowed in the account number.<br>
|
|
717
713
|
*
|
|
718
714
|
* @return The creditor account number.
|
|
719
715
|
*/
|
|
@@ -722,12 +718,12 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
722
718
|
}
|
|
723
719
|
|
|
724
720
|
/**
|
|
725
|
-
* Sets the creditor's account number
|
|
726
|
-
*
|
|
727
|
-
* Account numbers must be valid IBANs of a bank of Switzerland or
|
|
721
|
+
* Sets the creditor's account number.<br>
|
|
722
|
+
* <br>
|
|
723
|
+
* Account numbers must be valid IBANs of a bank of Switzerland<br> or<br>
|
|
728
724
|
* Liechtenstein. Spaces are allowed in the account number.
|
|
729
725
|
*
|
|
730
|
-
*
|
|
726
|
+
* @param value: The creditor account number.
|
|
731
727
|
*/
|
|
732
728
|
setAccount(value) {
|
|
733
729
|
this.getJavaClass().setAccountSync(value);
|
|
@@ -743,7 +739,7 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
743
739
|
|
|
744
740
|
/**
|
|
745
741
|
* Sets the creditor address.
|
|
746
|
-
*
|
|
742
|
+
* @param value: The creditor address.
|
|
747
743
|
*/
|
|
748
744
|
setCreditor(value) {
|
|
749
745
|
this.creditor = value;
|
|
@@ -751,14 +747,14 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
751
747
|
}
|
|
752
748
|
|
|
753
749
|
/**
|
|
754
|
-
* Gets the creditor payment reference
|
|
755
|
-
*
|
|
756
|
-
* The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range
|
|
757
|
-
* CHxx30000xxxxxx through CHxx31999xxxxx
|
|
758
|
-
*
|
|
759
|
-
* If specified, the reference must be either a valid SwissQR reference
|
|
760
|
-
* (corresponding to ISR reference form) or a valid creditor reference
|
|
761
|
-
* according to ISO 11649 ("RFxxxx"). Both may contain spaces for formatting
|
|
750
|
+
* Gets the creditor payment reference.<br>
|
|
751
|
+
* <br>
|
|
752
|
+
* The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range<br>
|
|
753
|
+
* CHxx30000xxxxxx through CHxx31999xxxxx.<br>
|
|
754
|
+
* <br>
|
|
755
|
+
* If specified, the reference must be either a valid SwissQR reference<br>
|
|
756
|
+
* (corresponding to ISR reference form) or a valid creditor reference<br>
|
|
757
|
+
* according to ISO 11649 ("RFxxxx"). Both may contain spaces for formatting.<br>
|
|
762
758
|
*
|
|
763
759
|
* @return The creditor payment reference.
|
|
764
760
|
*/
|
|
@@ -767,27 +763,27 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
767
763
|
}
|
|
768
764
|
|
|
769
765
|
/**
|
|
770
|
-
* Sets the creditor payment reference
|
|
771
|
-
*
|
|
772
|
-
* The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range
|
|
773
|
-
* CHxx30000xxxxxx through CHxx31999xxxxx
|
|
774
|
-
*
|
|
775
|
-
* If specified, the reference must be either a valid SwissQR reference
|
|
776
|
-
* (corresponding to ISR reference form) or a valid creditor reference
|
|
766
|
+
* Sets the creditor payment reference.<br>
|
|
767
|
+
* <br>
|
|
768
|
+
* The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range<br>
|
|
769
|
+
* CHxx30000xxxxxx through CHxx31999xxxxx.<br>
|
|
770
|
+
* <br>
|
|
771
|
+
* If specified, the reference must be either a valid SwissQR reference<br>
|
|
772
|
+
* (corresponding to ISR reference form) or a valid creditor reference<br>
|
|
777
773
|
* according to ISO 11649 ("RFxxxx"). Both may contain spaces for formatting.
|
|
778
774
|
*
|
|
779
|
-
* @
|
|
775
|
+
* @param value The creditor payment reference.
|
|
780
776
|
*/
|
|
781
777
|
setReference(value) {
|
|
782
778
|
this.getJavaClass().setReferenceSync(value);
|
|
783
779
|
}
|
|
784
780
|
|
|
785
781
|
/**
|
|
786
|
-
* Creates and sets a ISO11649 creditor reference from a raw string by prefixing
|
|
787
|
-
* the String with "RF" and the modulo 97 checksum
|
|
788
|
-
*
|
|
789
|
-
* Whitespace is removed from the reference
|
|
790
|
-
*
|
|
782
|
+
* Creates and sets a ISO11649 creditor reference from a raw string by prefixing<br>
|
|
783
|
+
* the String with "RF" and the modulo 97 checksum.<br>
|
|
784
|
+
* <br>
|
|
785
|
+
* Whitespace is removed from the reference<br>
|
|
786
|
+
* <br>
|
|
791
787
|
* @exception ArgumentException rawReference contains invalid characters.
|
|
792
788
|
* @param rawReference The raw reference.
|
|
793
789
|
*/
|
|
@@ -796,11 +792,11 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
796
792
|
}
|
|
797
793
|
|
|
798
794
|
/**
|
|
799
|
-
* Gets the debtor address
|
|
800
|
-
*
|
|
801
|
-
* The debtor is optional. If it is omitted, both setting this field to
|
|
802
|
-
* null or setting an address with all null or empty values is ok
|
|
803
|
-
*
|
|
795
|
+
* Gets the debtor address.<br>
|
|
796
|
+
* <br>
|
|
797
|
+
* The debtor is optional. If it is omitted, both setting this field to<br>
|
|
798
|
+
* null or setting an address with all null or empty values is ok.<br>
|
|
799
|
+
* <br>
|
|
804
800
|
* @return The debtor address.
|
|
805
801
|
*/
|
|
806
802
|
getDebtor() {
|
|
@@ -808,12 +804,12 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
808
804
|
}
|
|
809
805
|
|
|
810
806
|
/**
|
|
811
|
-
* Sets the debtor address
|
|
812
|
-
*
|
|
813
|
-
* The debtor is optional. If it is omitted, both setting this field to
|
|
807
|
+
* Sets the debtor address.<br>
|
|
808
|
+
* <br>
|
|
809
|
+
* The debtor is optional. If it is omitted, both setting this field to<br>
|
|
814
810
|
* null or setting an address with all null or empty values is ok.
|
|
815
811
|
*
|
|
816
|
-
*
|
|
812
|
+
* @param value: The debtor address.
|
|
817
813
|
*/
|
|
818
814
|
setDebtor(value) {
|
|
819
815
|
this.debtor = value;
|
|
@@ -830,7 +826,7 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
830
826
|
|
|
831
827
|
/**
|
|
832
828
|
* Sets the additional unstructured message.
|
|
833
|
-
*
|
|
829
|
+
* @param value: The unstructured message.
|
|
834
830
|
*/
|
|
835
831
|
setUnstructuredMessage(value) {
|
|
836
832
|
this.getJavaClass().setUnstructuredMessageSync(value);
|
|
@@ -846,15 +842,15 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
846
842
|
|
|
847
843
|
/**
|
|
848
844
|
* Sets the additional structured bill information.
|
|
849
|
-
*
|
|
845
|
+
* @param value: The structured bill information.
|
|
850
846
|
*/
|
|
851
847
|
setBillInformation(value) {
|
|
852
848
|
this.getJavaClass().setBillInformationSync(value);
|
|
853
849
|
}
|
|
854
850
|
|
|
855
851
|
/**
|
|
856
|
-
* Gets ors sets the alternative payment schemes
|
|
857
|
-
*
|
|
852
|
+
* Gets ors sets the alternative payment schemes.<br>
|
|
853
|
+
* <br>
|
|
858
854
|
* A maximum of two schemes with parameters are allowed.
|
|
859
855
|
*
|
|
860
856
|
* @return The alternative payment schemes.
|
|
@@ -864,11 +860,11 @@ class SwissQRBill extends joint.BaseJavaClass {
|
|
|
864
860
|
}
|
|
865
861
|
|
|
866
862
|
/**
|
|
867
|
-
* Gets or sets the alternative payment schemes.
|
|
868
|
-
*
|
|
869
|
-
* A maximum of two schemes with parameters are allowed
|
|
863
|
+
* Gets or sets the alternative payment schemes. <br>
|
|
864
|
+
* <br>
|
|
865
|
+
* A maximum of two schemes with parameters are allowed.<br>
|
|
870
866
|
*
|
|
871
|
-
*
|
|
867
|
+
* @param value: The alternative payment schemes.
|
|
872
868
|
*/
|
|
873
869
|
setAlternativeSchemes(value) {
|
|
874
870
|
let ArrayList = java.import('java.util.ArrayList');
|
|
@@ -981,15 +977,15 @@ class MailmarkCodetext extends IComplexCodetext
|
|
|
981
977
|
{
|
|
982
978
|
static javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmarkCodetext";
|
|
983
979
|
/**
|
|
984
|
-
* "0" – Null or Test
|
|
985
|
-
* "1" – Letter
|
|
980
|
+
* "0" – Null or Test<br>
|
|
981
|
+
* "1" – Letter<br>
|
|
986
982
|
* "2" – Large Letter
|
|
987
983
|
*/
|
|
988
984
|
getFormat()
|
|
989
985
|
{ return this.getJavaClass().getFormatSync(); }
|
|
990
986
|
/**
|
|
991
|
-
* "0" – Null or Test
|
|
992
|
-
* "1" – LetterN
|
|
987
|
+
* "0" – Null or Test<br>
|
|
988
|
+
* "1" – LetterN<br>
|
|
993
989
|
* "2" – Large Letter
|
|
994
990
|
*/
|
|
995
991
|
setFormat(value)
|
|
@@ -1008,30 +1004,30 @@ class MailmarkCodetext extends IComplexCodetext
|
|
|
1008
1004
|
{ this.getJavaClass().setVersionIDSync(value); }
|
|
1009
1005
|
|
|
1010
1006
|
/**
|
|
1011
|
-
* "0" - Null or Test
|
|
1012
|
-
* "1" - 1C (Retail)
|
|
1013
|
-
* "2" - 2C (Retail)
|
|
1014
|
-
* "3" - 3C (Retail)
|
|
1015
|
-
* "4" - Premium (RetailPublishing Mail) (for potential future use)
|
|
1016
|
-
* "5" - Deferred (Retail)
|
|
1017
|
-
* "6" - Air (Retail) (for potential future use)
|
|
1018
|
-
* "7" - Surface (Retail) (for potential future use)
|
|
1019
|
-
* "8" - Premium (Network Access)
|
|
1020
|
-
* "9" - Standard (Network Access)
|
|
1007
|
+
* "0" - Null or Test<br>
|
|
1008
|
+
* "1" - 1C (Retail)<br>
|
|
1009
|
+
* "2" - 2C (Retail)<br>
|
|
1010
|
+
* "3" - 3C (Retail)<br>
|
|
1011
|
+
* "4" - Premium (RetailPublishing Mail) (for potential future use)<br>
|
|
1012
|
+
* "5" - Deferred (Retail)<br>
|
|
1013
|
+
* "6" - Air (Retail) (for potential future use)<br>
|
|
1014
|
+
* "7" - Surface (Retail) (for potential future use)<br>
|
|
1015
|
+
* "8" - Premium (Network Access)<br>
|
|
1016
|
+
* "9" - Standard (Network Access)<br>
|
|
1021
1017
|
*/
|
|
1022
|
-
|
|
1018
|
+
getClass_()
|
|
1023
1019
|
{ return this.getJavaClass().getClass_Sync(); }
|
|
1024
1020
|
|
|
1025
1021
|
/**
|
|
1026
|
-
* "0" - Null or Test
|
|
1027
|
-
* "1" - 1C (Retail)
|
|
1028
|
-
* "2" - 2C (Retail)
|
|
1029
|
-
* "3" - 3C (Retail)
|
|
1030
|
-
* "4" - Premium (RetailPublishing Mail) (for potential future use)
|
|
1031
|
-
* "5" - Deferred (Retail)
|
|
1032
|
-
* "6" - Air (Retail) (for potential future use)
|
|
1033
|
-
* "7" - Surface (Retail) (for potential future use)
|
|
1034
|
-
* "8" - Premium (Network Access)
|
|
1022
|
+
* "0" - Null or Test<br>
|
|
1023
|
+
* "1" - 1C (Retail)<br>
|
|
1024
|
+
* "2" - 2C (Retail)<br>
|
|
1025
|
+
* "3" - 3C (Retail)<br>
|
|
1026
|
+
* "4" - Premium (RetailPublishing Mail) (for potential future use)<br>
|
|
1027
|
+
* "5" - Deferred (Retail)<br>
|
|
1028
|
+
* "6" - Air (Retail) (for potential future use)<br>
|
|
1029
|
+
* "7" - Surface (Retail) (for potential future use)<br>
|
|
1030
|
+
* "8" - Premium (Network Access)<br>
|
|
1035
1031
|
* "9" - Standard (Network Access)
|
|
1036
1032
|
*/
|
|
1037
1033
|
setClass(value)
|
|
@@ -1061,18 +1057,18 @@ class MailmarkCodetext extends IComplexCodetext
|
|
|
1061
1057
|
{ this.getJavaClass().setItemIDSync(value); }
|
|
1062
1058
|
|
|
1063
1059
|
/**
|
|
1064
|
-
* The PC and DP must comply with a PAF format
|
|
1065
|
-
* Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern
|
|
1066
|
-
* of characters denoting a domestic sorting code
|
|
1060
|
+
* The PC and DP must comply with a PAF format.<br>
|
|
1061
|
+
* Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern<br>
|
|
1062
|
+
* of characters denoting a domestic sorting code.<br>
|
|
1067
1063
|
* A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.
|
|
1068
1064
|
*/
|
|
1069
1065
|
getDestinationPostCodePlusDPS()
|
|
1070
1066
|
{ return this.getJavaClass().getDestinationPostCodePlusDPSSync(); }
|
|
1071
1067
|
|
|
1072
1068
|
/**
|
|
1073
|
-
* The PC and DP must comply with a PAF format
|
|
1074
|
-
* Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern
|
|
1075
|
-
* of characters denoting a domestic sorting code
|
|
1069
|
+
* The PC and DP must comply with a PAF format.<br>
|
|
1070
|
+
* Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern<br>
|
|
1071
|
+
* of characters denoting a domestic sorting code.<br>
|
|
1076
1072
|
* A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.
|
|
1077
1073
|
*/
|
|
1078
1074
|
setDestinationPostCodePlusDPS(value)
|
|
@@ -1130,6 +1126,9 @@ class MailmarkCodetext extends IComplexCodetext
|
|
|
1130
1126
|
}
|
|
1131
1127
|
}
|
|
1132
1128
|
|
|
1129
|
+
/**
|
|
1130
|
+
* Class for encoding and decoding the text embedded in the Royal Mail 2D Mailmark code.
|
|
1131
|
+
*/
|
|
1133
1132
|
class Mailmark2DCodetext extends IComplexCodetext
|
|
1134
1133
|
{
|
|
1135
1134
|
|
|
@@ -1155,18 +1154,18 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1155
1154
|
* Identifies the UPU Country ID.Max length: 4 characters.
|
|
1156
1155
|
* @param value Country ID
|
|
1157
1156
|
*/
|
|
1158
|
-
|
|
1157
|
+
setUPUCountryID(value)
|
|
1159
1158
|
{
|
|
1160
1159
|
this.getJavaClass().setUPUCountryIDSync(value);
|
|
1161
1160
|
}
|
|
1162
1161
|
|
|
1163
1162
|
/**
|
|
1164
|
-
* Identifies the Royal Mail Mailmark barcode payload for each product type
|
|
1165
|
-
* Valid Values
|
|
1166
|
-
*
|
|
1167
|
-
* '0' - Domestic Sorted & Unsorted
|
|
1168
|
-
* 'A' - Online Postage
|
|
1169
|
-
* 'B' - Franking
|
|
1163
|
+
* Identifies the Royal Mail Mailmark barcode payload for each product type.<br>
|
|
1164
|
+
* Valid Values:<br>
|
|
1165
|
+
* <br>
|
|
1166
|
+
* '0' - Domestic Sorted & Unsorted<br>
|
|
1167
|
+
* 'A' - Online Postage<br>
|
|
1168
|
+
* 'B' - Franking<br>
|
|
1170
1169
|
* 'C' - Consolidation
|
|
1171
1170
|
*
|
|
1172
1171
|
* @return Information type ID
|
|
@@ -1175,29 +1174,29 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1175
1174
|
{
|
|
1176
1175
|
return this.getJavaClass().getInformationTypeIDSync();
|
|
1177
1176
|
}
|
|
1178
|
-
|
|
1177
|
+
|
|
1179
1178
|
/**
|
|
1180
|
-
* Identifies the Royal Mail Mailmark barcode payload for each product type
|
|
1181
|
-
* Valid Values
|
|
1182
|
-
*
|
|
1183
|
-
* '0' - Domestic Sorted & Unsorted
|
|
1184
|
-
* 'A' - Online Postage
|
|
1185
|
-
* 'B' - Franking
|
|
1179
|
+
* Identifies the Royal Mail Mailmark barcode payload for each product type.<br>
|
|
1180
|
+
* Valid Values:<br>
|
|
1181
|
+
* <br>
|
|
1182
|
+
* '0' - Domestic Sorted & Unsorted<br>
|
|
1183
|
+
* 'A' - Online Postage<br>
|
|
1184
|
+
* 'B' - Franking<br>
|
|
1186
1185
|
* 'C' - Consolidation
|
|
1187
1186
|
*
|
|
1188
1187
|
* @param value Information type ID
|
|
1189
1188
|
*/
|
|
1190
|
-
|
|
1189
|
+
setInformationTypeID(value)
|
|
1191
1190
|
{
|
|
1192
1191
|
this.getJavaClass().setInformationTypeIDSync(value);
|
|
1193
1192
|
}
|
|
1194
|
-
|
|
1195
|
-
|
|
1193
|
+
|
|
1194
|
+
|
|
1196
1195
|
/**
|
|
1197
|
-
* Identifies the barcode version as relevant to each Information Type ID
|
|
1198
|
-
* Valid Values
|
|
1199
|
-
*
|
|
1200
|
-
* Currently '1'
|
|
1196
|
+
* Identifies the barcode version as relevant to each Information Type ID.<br>
|
|
1197
|
+
* Valid Values:<br>
|
|
1198
|
+
* <br>
|
|
1199
|
+
* Currently '1'.<br>
|
|
1201
1200
|
* '0' & '2' to '9' and 'A' to 'Z' spare reserved for potential future use.
|
|
1202
1201
|
*
|
|
1203
1202
|
* @return Version ID
|
|
@@ -1206,30 +1205,30 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1206
1205
|
{
|
|
1207
1206
|
return this.getJavaClass().getVersionIDSync();
|
|
1208
1207
|
}
|
|
1209
|
-
|
|
1208
|
+
|
|
1210
1209
|
/**
|
|
1211
|
-
* Identifies the barcode version as relevant to each Information Type ID
|
|
1212
|
-
* Valid Values
|
|
1213
|
-
*
|
|
1214
|
-
* Currently '1'
|
|
1210
|
+
* Identifies the barcode version as relevant to each Information Type ID.<br>
|
|
1211
|
+
* Valid Values:<br>
|
|
1212
|
+
* <br>
|
|
1213
|
+
* Currently '1'.<br>
|
|
1215
1214
|
* '0' & '2' to '9' and 'A' to 'Z' spare reserved for potential future use.
|
|
1216
1215
|
*
|
|
1217
1216
|
* @param value Version ID
|
|
1218
1217
|
*/
|
|
1219
|
-
|
|
1218
|
+
setVersionID(value)
|
|
1220
1219
|
{
|
|
1221
1220
|
this.getJavaClass().setVersionIDSync(value);
|
|
1222
1221
|
}
|
|
1223
|
-
|
|
1222
|
+
|
|
1224
1223
|
/**
|
|
1225
|
-
* Identifies the class of the item
|
|
1226
|
-
*
|
|
1227
|
-
* Valid Values
|
|
1228
|
-
* '1' - 1C (Retail)
|
|
1229
|
-
* '2' - 2C (Retail)
|
|
1230
|
-
* '3' - Economy (Retail)
|
|
1231
|
-
* '5' - Deffered (Retail)
|
|
1232
|
-
* '8' - Premium (Network Access)
|
|
1224
|
+
* Identifies the class of the item.<br>
|
|
1225
|
+
* <br>
|
|
1226
|
+
* Valid Values:<br>
|
|
1227
|
+
* '1' - 1C (Retail)<br>
|
|
1228
|
+
* '2' - 2C (Retail)<br>
|
|
1229
|
+
* '3' - Economy (Retail)<br>
|
|
1230
|
+
* '5' - Deffered (Retail)<br>
|
|
1231
|
+
* '8' - Premium (Network Access)<br>
|
|
1233
1232
|
* '9' - Standard (Network Access)
|
|
1234
1233
|
*
|
|
1235
1234
|
* @return class of the item
|
|
@@ -1238,27 +1237,27 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1238
1237
|
{
|
|
1239
1238
|
return this.getJavaClass().getclassSync();
|
|
1240
1239
|
}
|
|
1241
|
-
|
|
1240
|
+
|
|
1242
1241
|
/**
|
|
1243
|
-
* Identifies the class of the item
|
|
1244
|
-
*
|
|
1245
|
-
* Valid Values
|
|
1246
|
-
* '1' - 1C (Retail)
|
|
1247
|
-
* '2' - 2C (Retail)
|
|
1248
|
-
* '3' - Economy (Retail)
|
|
1249
|
-
* '5' - Deffered (Retail)
|
|
1250
|
-
* '8' - Premium (Network Access)
|
|
1242
|
+
* Identifies the class of the item.<br>
|
|
1243
|
+
* <br>
|
|
1244
|
+
* Valid Values:<br>
|
|
1245
|
+
* '1' - 1C (Retail)<br>
|
|
1246
|
+
* '2' - 2C (Retail)<br>
|
|
1247
|
+
* '3' - Economy (Retail)<br>
|
|
1248
|
+
* '5' - Deffered (Retail)<br>
|
|
1249
|
+
* '8' - Premium (Network Access)<br>
|
|
1251
1250
|
* '9' - Standard (Network Access)
|
|
1252
1251
|
*
|
|
1253
1252
|
* @param value class of the item
|
|
1254
1253
|
*/
|
|
1255
|
-
|
|
1254
|
+
setclass(value)
|
|
1256
1255
|
{
|
|
1257
1256
|
this.getJavaClass().setclassSync(value);
|
|
1258
1257
|
}
|
|
1259
|
-
|
|
1258
|
+
|
|
1260
1259
|
/**
|
|
1261
|
-
* Identifies the unique group of customers involved in the mailing
|
|
1260
|
+
* Identifies the unique group of customers involved in the mailing.<br>
|
|
1262
1261
|
* Max value: 9999999.
|
|
1263
1262
|
*
|
|
1264
1263
|
* @return Supply chain ID
|
|
@@ -1267,22 +1266,22 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1267
1266
|
{
|
|
1268
1267
|
return this.getJavaClass().getSupplyChainIDSync();
|
|
1269
1268
|
}
|
|
1270
|
-
|
|
1269
|
+
|
|
1271
1270
|
/**
|
|
1272
|
-
* Identifies the unique group of customers involved in the mailing
|
|
1271
|
+
* Identifies the unique group of customers involved in the mailing.<br>
|
|
1273
1272
|
* Max value: 9999999.
|
|
1274
1273
|
*
|
|
1275
1274
|
* @param value Supply chain ID
|
|
1276
1275
|
*/
|
|
1277
|
-
|
|
1276
|
+
setSupplyChainID(value)
|
|
1278
1277
|
{
|
|
1279
1278
|
this.getJavaClass().setSupplyChainIDSync(value);
|
|
1280
1279
|
}
|
|
1281
|
-
|
|
1280
|
+
|
|
1282
1281
|
/**
|
|
1283
|
-
* Identifies the unique item within the Supply Chain ID
|
|
1284
|
-
* Every Mailmark barcode is required to carry an ID
|
|
1285
|
-
* so it can be uniquely identified for at least 90 days
|
|
1282
|
+
* Identifies the unique item within the Supply Chain ID.<br>
|
|
1283
|
+
* Every Mailmark barcode is required to carry an ID<br>
|
|
1284
|
+
* so it can be uniquely identified for at least 90 days.<br>
|
|
1286
1285
|
* Max value: 99999999.
|
|
1287
1286
|
*
|
|
1288
1287
|
* @return item within the Supply Chain ID
|
|
@@ -1291,25 +1290,25 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1291
1290
|
{
|
|
1292
1291
|
return this.getJavaClass().getItemIDSync();
|
|
1293
1292
|
}
|
|
1294
|
-
|
|
1293
|
+
|
|
1295
1294
|
/**
|
|
1296
|
-
* Identifies the unique item within the Supply Chain ID
|
|
1297
|
-
* Every Mailmark barcode is required to carry an ID
|
|
1298
|
-
* so it can be uniquely identified for at least 90 days
|
|
1295
|
+
* Identifies the unique item within the Supply Chain ID.<br>
|
|
1296
|
+
* Every Mailmark barcode is required to carry an ID<br>
|
|
1297
|
+
* so it can be uniquely identified for at least 90 days.<br>
|
|
1299
1298
|
* Max value: 99999999.
|
|
1300
1299
|
*
|
|
1301
1300
|
* @param value item within the Supply Chain ID
|
|
1302
1301
|
*/
|
|
1303
|
-
|
|
1302
|
+
setItemID(value)
|
|
1304
1303
|
{
|
|
1305
1304
|
this.getJavaClass().setItemIDSync(value);
|
|
1306
1305
|
}
|
|
1307
|
-
|
|
1306
|
+
|
|
1308
1307
|
/**
|
|
1309
|
-
* Contains the Postcode of the Delivery Address with DPS
|
|
1310
|
-
* If inland the Postcode/DP contains the following number of characters
|
|
1311
|
-
* Area (1 or 2 characters) District(1 or 2 characters)
|
|
1312
|
-
* Sector(1 character) Unit(2 characters) DPS (2 characters)
|
|
1308
|
+
* Contains the Postcode of the Delivery Address with DPS<br>
|
|
1309
|
+
* If inland the Postcode/DP contains the following number of characters.<br>
|
|
1310
|
+
* Area (1 or 2 characters) District(1 or 2 characters)<br>
|
|
1311
|
+
* Sector(1 character) Unit(2 characters) DPS (2 characters).<br>
|
|
1313
1312
|
* The Postcode and DPS must comply with a valid PAF® format.
|
|
1314
1313
|
*
|
|
1315
1314
|
* @return the Postcode of the Delivery Address with DPS
|
|
@@ -1318,21 +1317,21 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1318
1317
|
{
|
|
1319
1318
|
return this.getJavaClass().getDestinationPostCodeAndDPSSync();
|
|
1320
1319
|
}
|
|
1321
|
-
|
|
1320
|
+
|
|
1322
1321
|
/**
|
|
1323
|
-
* Contains the Postcode of the Delivery Address with DPS
|
|
1324
|
-
* If inland the Postcode/DP contains the following number of characters
|
|
1325
|
-
* Area (1 or 2 characters) District(1 or 2 characters)
|
|
1326
|
-
* Sector(1 character) Unit(2 characters) DPS (2 characters)
|
|
1322
|
+
* Contains the Postcode of the Delivery Address with DPS<br>
|
|
1323
|
+
* If inland the Postcode/DP contains the following number of characters.<br>
|
|
1324
|
+
* Area (1 or 2 characters) District(1 or 2 characters)<br>
|
|
1325
|
+
* Sector(1 character) Unit(2 characters) DPS (2 characters).<br>
|
|
1327
1326
|
* The Postcode and DPS must comply with a valid PAF® format.
|
|
1328
1327
|
*
|
|
1329
1328
|
* @param value the Postcode of the Delivery Address with DPS
|
|
1330
1329
|
*/
|
|
1331
|
-
|
|
1330
|
+
setDestinationPostCodeAndDPS(value)
|
|
1332
1331
|
{
|
|
1333
1332
|
this.getJavaClass().setDestinationPostCodeAndDPSSync(value);
|
|
1334
1333
|
}
|
|
1335
|
-
|
|
1334
|
+
|
|
1336
1335
|
/**
|
|
1337
1336
|
* Flag which indicates what level of Return to Sender service is being requested.
|
|
1338
1337
|
*
|
|
@@ -1342,19 +1341,19 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1342
1341
|
{
|
|
1343
1342
|
return this.getJavaClass().getRTSFlagSync();
|
|
1344
1343
|
}
|
|
1345
|
-
|
|
1344
|
+
|
|
1346
1345
|
/**
|
|
1347
1346
|
* Flag which indicates what level of Return to Sender service is being requested.
|
|
1348
1347
|
*
|
|
1349
1348
|
* @return RTS Flag
|
|
1350
1349
|
*/
|
|
1351
|
-
|
|
1350
|
+
setRTSFlag(value)
|
|
1352
1351
|
{
|
|
1353
1352
|
this.getJavaClass().setRTSFlagSync(value);
|
|
1354
1353
|
}
|
|
1355
|
-
|
|
1354
|
+
|
|
1356
1355
|
/**
|
|
1357
|
-
* Contains the Return to Sender Post Code but no DPS
|
|
1356
|
+
* Contains the Return to Sender Post Code but no DPS.<br>
|
|
1358
1357
|
* The PC(without DPS) must comply with a PAF® format.
|
|
1359
1358
|
*
|
|
1360
1359
|
* @return Return to Sender Post Code but no DPS
|
|
@@ -1363,24 +1362,24 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1363
1362
|
{
|
|
1364
1363
|
return this.getJavaClass().getReturnToSenderPostCodeSync();
|
|
1365
1364
|
}
|
|
1366
|
-
|
|
1365
|
+
|
|
1367
1366
|
/**
|
|
1368
|
-
* Contains the Return to Sender Post Code but no DPS
|
|
1367
|
+
* Contains the Return to Sender Post Code but no DPS.<br>
|
|
1369
1368
|
* The PC(without DPS) must comply with a PAF® format.
|
|
1370
1369
|
*
|
|
1371
1370
|
* @param value Return to Sender Post Code but no DPS
|
|
1372
1371
|
*/
|
|
1373
|
-
|
|
1372
|
+
setReturnToSenderPostCode(value)
|
|
1374
1373
|
{
|
|
1375
1374
|
this.getJavaClass().setReturnToSenderPostCodeSync(value);
|
|
1376
1375
|
}
|
|
1377
|
-
|
|
1376
|
+
|
|
1378
1377
|
/**
|
|
1379
|
-
* Optional space for use by customer
|
|
1380
|
-
*
|
|
1381
|
-
* Max length by Type
|
|
1382
|
-
* Type 7: 6 characters
|
|
1383
|
-
* Type 9: 45 characters
|
|
1378
|
+
* Optional space for use by customer.<br>
|
|
1379
|
+
* <br>
|
|
1380
|
+
* Max length by Type:<br>
|
|
1381
|
+
* Type 7: 6 characters<br>
|
|
1382
|
+
* Type 9: 45 characters<br>
|
|
1384
1383
|
* Type 29: 25 characters
|
|
1385
1384
|
*
|
|
1386
1385
|
* @return Customer content
|
|
@@ -1389,24 +1388,24 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1389
1388
|
{
|
|
1390
1389
|
return this.getJavaClass().getCustomerContentSync();
|
|
1391
1390
|
}
|
|
1392
|
-
|
|
1391
|
+
|
|
1393
1392
|
/**
|
|
1394
|
-
* Optional space for use by customer
|
|
1395
|
-
*
|
|
1396
|
-
* Max length by Type
|
|
1397
|
-
* Type 7: 6 characters
|
|
1398
|
-
* Type 9: 45 characters
|
|
1393
|
+
* Optional space for use by customer.<br>
|
|
1394
|
+
* <br>
|
|
1395
|
+
* Max length by Type:<br>
|
|
1396
|
+
* Type 7: 6 characters<br>
|
|
1397
|
+
* Type 9: 45 characters<br>
|
|
1399
1398
|
* Type 29: 25 characters
|
|
1400
1399
|
*
|
|
1401
1400
|
* @param value Customer content
|
|
1402
1401
|
*/
|
|
1403
|
-
|
|
1402
|
+
setCustomerContent(value)
|
|
1404
1403
|
{
|
|
1405
1404
|
this.getJavaClass().setCustomerContentSync(value);
|
|
1406
1405
|
}
|
|
1407
|
-
|
|
1406
|
+
|
|
1408
1407
|
/**
|
|
1409
|
-
* Encode mode of Datamatrix barcode
|
|
1408
|
+
* Encode mode of Datamatrix barcode.<br>
|
|
1410
1409
|
* Default value: DataMatrixEncodeMode.C40.
|
|
1411
1410
|
*
|
|
1412
1411
|
* @return Encode mode of Datamatrix barcode.
|
|
@@ -1415,9 +1414,9 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1415
1414
|
{
|
|
1416
1415
|
return this.getJavaClass().getCustomerContentEncodeModeSync();
|
|
1417
1416
|
}
|
|
1418
|
-
|
|
1417
|
+
|
|
1419
1418
|
/**
|
|
1420
|
-
* Encode mode of Datamatrix barcode
|
|
1419
|
+
* Encode mode of Datamatrix barcode.<br>
|
|
1421
1420
|
* Default value: DataMatrixEncodeMode.C40.
|
|
1422
1421
|
*
|
|
1423
1422
|
* @param value Encode mode of Datamatrix barcode.
|
|
@@ -1426,7 +1425,7 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1426
1425
|
{
|
|
1427
1426
|
this.getJavaClass().setCustomerContentEncodeModeSync(value);
|
|
1428
1427
|
}
|
|
1429
|
-
|
|
1428
|
+
|
|
1430
1429
|
/**
|
|
1431
1430
|
* 2D Mailmark Type defines size of Data Matrix barcode.
|
|
1432
1431
|
*
|
|
@@ -1436,7 +1435,7 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1436
1435
|
{
|
|
1437
1436
|
return this.getJavaClass().getDataMatrixTypeSync();
|
|
1438
1437
|
}
|
|
1439
|
-
|
|
1438
|
+
|
|
1440
1439
|
/**
|
|
1441
1440
|
* 2D Mailmark Type defines size of Data Matrix barcode.
|
|
1442
1441
|
*
|
|
@@ -1446,7 +1445,7 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1446
1445
|
{
|
|
1447
1446
|
this.getJavaClass().setDataMatrixTypeSync(value);
|
|
1448
1447
|
}
|
|
1449
|
-
|
|
1448
|
+
|
|
1450
1449
|
/**
|
|
1451
1450
|
* Create default instance of Mailmark2DCodetext class.
|
|
1452
1451
|
*/
|
|
@@ -1456,29 +1455,29 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1456
1455
|
super(new java_class_link());
|
|
1457
1456
|
this.init();
|
|
1458
1457
|
}
|
|
1459
|
-
|
|
1458
|
+
|
|
1460
1459
|
init()
|
|
1461
1460
|
{}
|
|
1462
|
-
|
|
1461
|
+
|
|
1463
1462
|
/**
|
|
1464
1463
|
* Construct codetext from Mailmark data.
|
|
1465
1464
|
* @return Constructed codetext
|
|
1466
1465
|
*/
|
|
1467
1466
|
getConstructedCodetext()
|
|
1468
1467
|
{
|
|
1469
|
-
|
|
1468
|
+
|
|
1470
1469
|
return this.getJavaClass().getConstructedCodetextSync();
|
|
1471
1470
|
}
|
|
1472
|
-
|
|
1471
|
+
|
|
1473
1472
|
/**
|
|
1474
1473
|
* Initializes Mailmark data from constructed codetext.
|
|
1475
1474
|
* @param constructedCodetext Constructed codetext.
|
|
1476
1475
|
*/
|
|
1477
|
-
|
|
1476
|
+
initFromString(constructedCodetext)
|
|
1478
1477
|
{
|
|
1479
1478
|
this.getJavaClass().initFromStringSync(constructedCodetext);
|
|
1480
1479
|
}
|
|
1481
|
-
|
|
1480
|
+
|
|
1482
1481
|
/**
|
|
1483
1482
|
* Gets barcode type.
|
|
1484
1483
|
* @return Barcode type.
|
|
@@ -1489,11 +1488,11 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1489
1488
|
}
|
|
1490
1489
|
|
|
1491
1490
|
/**
|
|
1492
|
-
* Base class for encoding and decoding the text embedded in the MaxiCode code
|
|
1493
|
-
*
|
|
1491
|
+
* Base class for encoding and decoding the text embedded in the MaxiCode code.<br>
|
|
1492
|
+
* <br>
|
|
1494
1493
|
* This sample shows how to decode raw MaxiCode codetext to MaxiCodeCodetext instance.
|
|
1495
1494
|
*
|
|
1496
|
-
*
|
|
1495
|
+
* @example
|
|
1497
1496
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.MAXI_CODE);
|
|
1498
1497
|
* reader.readBarCodes().forEach(function(result, i, results)
|
|
1499
1498
|
* {
|
|
@@ -1502,7 +1501,6 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1502
1501
|
* console.log("MaxiCode mode: " + resultMaxiCodeCodetext.getMode());
|
|
1503
1502
|
* console.log("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext());
|
|
1504
1503
|
* });
|
|
1505
|
-
* </pre>
|
|
1506
1504
|
*/
|
|
1507
1505
|
class MaxiCodeCodetext extends IComplexCodetext
|
|
1508
1506
|
{
|
|
@@ -1531,8 +1529,6 @@ class MaxiCodeCodetext extends IComplexCodetext
|
|
|
1531
1529
|
this.getJavaClass().setMaxiCodeEncodeModeSync(value);
|
|
1532
1530
|
}
|
|
1533
1531
|
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
1532
|
/**
|
|
1537
1533
|
* Gets ECI encoding. Used when MaxiCodeEncodeMode is AUTO.
|
|
1538
1534
|
*/
|
|
@@ -1569,6 +1565,7 @@ class MaxiCodeCodetext extends IComplexCodetext
|
|
|
1569
1565
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext());
|
|
1570
1566
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1571
1567
|
*
|
|
1568
|
+
* @example
|
|
1572
1569
|
* //Mode 5
|
|
1573
1570
|
* let maxiCodeCodetext = new MaxiCodeStandardCodetext();
|
|
1574
1571
|
* maxiCodeCodetext.setMode(MaxiCodeMode.MODE_5);
|
|
@@ -1576,6 +1573,7 @@ class MaxiCodeCodetext extends IComplexCodetext
|
|
|
1576
1573
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext());
|
|
1577
1574
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1578
1575
|
*
|
|
1576
|
+
* @example
|
|
1579
1577
|
* //Mode 6
|
|
1580
1578
|
* let maxiCodeCodetext = new MaxiCodeStandardCodetext();
|
|
1581
1579
|
* maxiCodeCodetext.setMode(MaxiCodeMode.MODE_6);
|
|
@@ -1585,10 +1583,37 @@ class MaxiCodeCodetext extends IComplexCodetext
|
|
|
1585
1583
|
*/
|
|
1586
1584
|
class MaxiCodeSecondMessage extends joint.BaseJavaClass
|
|
1587
1585
|
{
|
|
1588
|
-
|
|
1589
|
-
|
|
1586
|
+
getMessage()
|
|
1587
|
+
{}
|
|
1590
1588
|
}
|
|
1591
1589
|
|
|
1590
|
+
/**
|
|
1591
|
+
* Class for encoding and decoding MaxiCode codetext for modes 4, 5 and 6.
|
|
1592
|
+
*
|
|
1593
|
+
* @example
|
|
1594
|
+
* //Mode 4
|
|
1595
|
+
* let maxiCodeCodetext = new MaxiCodeStandardCodetext();
|
|
1596
|
+
* maxiCodeCodetext.setMode(MaxiCodeMode.MODE_4);
|
|
1597
|
+
* maxiCodeCodetext.setMessage("Test message");
|
|
1598
|
+
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext());
|
|
1599
|
+
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1600
|
+
*
|
|
1601
|
+
* @example
|
|
1602
|
+
* //Mode 5
|
|
1603
|
+
* let maxiCodeCodetext = new MaxiCodeStandardCodetext();
|
|
1604
|
+
* maxiCodeCodetext.setMode(MaxiCodeMode.MODE_5);
|
|
1605
|
+
* maxiCodeCodetext.setMessage("Test message");
|
|
1606
|
+
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext());
|
|
1607
|
+
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1608
|
+
*
|
|
1609
|
+
* @example
|
|
1610
|
+
* //Mode 6
|
|
1611
|
+
* let maxiCodeCodetext = new MaxiCodeStandardCodetext();
|
|
1612
|
+
* maxiCodeCodetext.setMode(MaxiCodeMode.MODE_6);
|
|
1613
|
+
* maxiCodeCodetext.setMessage("Test message");
|
|
1614
|
+
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext.getConstructedCodetext());
|
|
1615
|
+
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1616
|
+
*/
|
|
1592
1617
|
class MaxiCodeStandardCodetext extends MaxiCodeCodetext
|
|
1593
1618
|
{
|
|
1594
1619
|
static JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwMaxiCodeStandardCodetext";
|
|
@@ -1737,7 +1762,7 @@ class MaxiCodeStandartSecondMessage extends MaxiCodeSecondMessage
|
|
|
1737
1762
|
}
|
|
1738
1763
|
|
|
1739
1764
|
/**
|
|
1740
|
-
* Returns the hash code for this instance
|
|
1765
|
+
* Returns the hash code for this instance.<br>
|
|
1741
1766
|
* @return A 32-bit signed integer hash code.
|
|
1742
1767
|
*/
|
|
1743
1768
|
getHashCode()
|
|
@@ -1753,8 +1778,9 @@ class MaxiCodeStandartSecondMessage extends MaxiCodeSecondMessage
|
|
|
1753
1778
|
/**
|
|
1754
1779
|
* Base class for encoding and decoding the text embedded in the MaxiCode code for modes 2 and 3.
|
|
1755
1780
|
*
|
|
1756
|
-
* This sample shows how to decode raw MaxiCode codetext to MaxiCodeStructuredCodetext instance.
|
|
1757
1781
|
* @example
|
|
1782
|
+
* This sample shows how to decode raw MaxiCode codetext to MaxiCodeStructuredCodetext instance.
|
|
1783
|
+
*
|
|
1758
1784
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.MAXI_CODE);
|
|
1759
1785
|
* reader.readBarCodes().forEach(function(result, i, results)
|
|
1760
1786
|
* {
|
|
@@ -1805,7 +1831,7 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1805
1831
|
}
|
|
1806
1832
|
|
|
1807
1833
|
/**
|
|
1808
|
-
* Identifies the postal code. Must be 9 digits in mode 2 or
|
|
1834
|
+
* Identifies the postal code. Must be 9 digits in mode 2 or<br>
|
|
1809
1835
|
* 6 alphanumeric symbols in mode 3.
|
|
1810
1836
|
*/
|
|
1811
1837
|
getPostalCode()
|
|
@@ -1903,8 +1929,8 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1903
1929
|
/**
|
|
1904
1930
|
* Class for encoding and decoding the text embedded in the MaxiCode code for modes 2.
|
|
1905
1931
|
*
|
|
1906
|
-
* This sample shows how to encode and decode MaxiCode codetext for mode 2.
|
|
1907
1932
|
* @example
|
|
1933
|
+
* This sample shows how to encode and decode MaxiCode codetext for mode 2.
|
|
1908
1934
|
* //Mode 2 with standart second message
|
|
1909
1935
|
* let maxiCodeCodetext = new MaxiCodeCodetextMode2();
|
|
1910
1936
|
* maxiCodeCodetext.setPostalCode("524032140");
|
|
@@ -1916,6 +1942,7 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1916
1942
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
|
|
1917
1943
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1918
1944
|
*
|
|
1945
|
+
* @example
|
|
1919
1946
|
* //Mode 2 with structured second message
|
|
1920
1947
|
* let maxiCodeCodetext = new MaxiCodeCodetextMode2();
|
|
1921
1948
|
* maxiCodeCodetext.setPostalCode("524032140");
|
|
@@ -1930,46 +1957,46 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1930
1957
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
|
|
1931
1958
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1932
1959
|
*
|
|
1960
|
+
* @example
|
|
1933
1961
|
* //Decoding raw codetext with standart second message
|
|
1934
1962
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.MAXI_CODE);
|
|
1963
|
+
* reader.readBarCodes().forEach(function(result, i, results)
|
|
1935
1964
|
* {
|
|
1936
|
-
*
|
|
1937
|
-
*
|
|
1938
|
-
*
|
|
1939
|
-
*
|
|
1940
|
-
*
|
|
1941
|
-
*
|
|
1942
|
-
*
|
|
1943
|
-
*
|
|
1944
|
-
*
|
|
1945
|
-
*
|
|
1946
|
-
*
|
|
1947
|
-
*
|
|
1948
|
-
*
|
|
1949
|
-
*
|
|
1950
|
-
*
|
|
1951
|
-
*
|
|
1965
|
+
* let resultMaxiCodeCodetext = ComplexCodetextReader.tryDecodeMaxiCode(result.getExtended().getMaxiCode().getMaxiCodeMode(), result.getCodeText());
|
|
1966
|
+
* if (resultMaxiCodeCodetext instanceof MaxiCodeCodetextMode2)
|
|
1967
|
+
* {
|
|
1968
|
+
* let maxiCodeStructuredCodetext = resultMaxiCodeCodetext;
|
|
1969
|
+
* console.log("BarCode Type: " + maxiCodeStructuredCodetext.getPostalCode());
|
|
1970
|
+
* console.log("MaxiCode mode: " + maxiCodeStructuredCodetext.getCountryCode());
|
|
1971
|
+
* console.log("BarCode CodeText: " + maxiCodeStructuredCodetext.getServiceCategory());
|
|
1972
|
+
* if (maxiCodeStructuredCodetext.getSecondMessage() instanceof MaxiCodeStandartSecondMessage)
|
|
1973
|
+
* {
|
|
1974
|
+
* let secondMessage = maxiCodeStructuredCodetext.getSecondMessage();
|
|
1975
|
+
* console.log("Message: " + secondMessage.getMessage());
|
|
1976
|
+
* }
|
|
1977
|
+
* }
|
|
1978
|
+
* });
|
|
1979
|
+
*
|
|
1980
|
+
* @example
|
|
1952
1981
|
* //Decoding raw codetext with structured second message
|
|
1953
1982
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.MAXI_CODE);
|
|
1983
|
+
* reader.readBarCodes().forEach(function(result, i, results)
|
|
1954
1984
|
* {
|
|
1955
|
-
*
|
|
1956
|
-
* {
|
|
1957
|
-
* let
|
|
1958
|
-
*
|
|
1959
|
-
*
|
|
1960
|
-
*
|
|
1961
|
-
*
|
|
1962
|
-
*
|
|
1963
|
-
*
|
|
1964
|
-
*
|
|
1965
|
-
* console.log(
|
|
1966
|
-
*
|
|
1967
|
-
* console.log(identifier);
|
|
1968
|
-
* });
|
|
1969
|
-
* }
|
|
1985
|
+
* let resultMaxiCodeCodetext = ComplexCodetextReader.tryDecodeMaxiCode(result.getExtended().getMaxiCode().getMaxiCodeMode(), result.getCodeText());
|
|
1986
|
+
* if (resultMaxiCodeCodetext instanceof MaxiCodeCodetextMode2){
|
|
1987
|
+
* let maxiCodeStructuredCodetext = resultMaxiCodeCodetext;
|
|
1988
|
+
* console.log("BarCode Type: " + maxiCodeStructuredCodetext.getPostalCode());
|
|
1989
|
+
* console.log("MaxiCode mode: " + maxiCodeStructuredCodetext.getCountryCode());
|
|
1990
|
+
* console.log("BarCode CodeText: " + maxiCodeStructuredCodetext.getServiceCategory());
|
|
1991
|
+
* if (maxiCodeStructuredCodetext.getSecondMessage() instanceof MaxiCodeStructuredSecondMessage){
|
|
1992
|
+
* let secondMessage = maxiCodeStructuredCodetext.getSecondMessage();
|
|
1993
|
+
* console.log("Message:");
|
|
1994
|
+
* secondMessage.getIdentifiers().forEach(identifier,i, identifiers){
|
|
1995
|
+
* console.log(identifier);
|
|
1996
|
+
* });
|
|
1970
1997
|
* }
|
|
1971
|
-
* }
|
|
1972
|
-
* }
|
|
1998
|
+
* }
|
|
1999
|
+
* });
|
|
1973
2000
|
*/
|
|
1974
2001
|
class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
1975
2002
|
{
|
|
@@ -2013,7 +2040,7 @@ class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
|
2013
2040
|
}
|
|
2014
2041
|
|
|
2015
2042
|
/**
|
|
2016
|
-
* Class for encoding and decoding the text embedded in the MaxiCode code for modes 3
|
|
2043
|
+
* Class for encoding and decoding the text embedded in the MaxiCode code for modes 3.<br>
|
|
2017
2044
|
* This sample shows how to encode and decode MaxiCode codetext for mode 3.
|
|
2018
2045
|
* @example
|
|
2019
2046
|
* //Mode 3 with standart second message
|
|
@@ -2027,6 +2054,7 @@ class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
|
2027
2054
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
|
|
2028
2055
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
2029
2056
|
*
|
|
2057
|
+
* @example
|
|
2030
2058
|
* //Mode 3 with structured second message
|
|
2031
2059
|
* let maxiCodeCodetext = new MaxiCodeCodetextMode3();
|
|
2032
2060
|
* maxiCodeCodetext.setPostalCode("B1050");
|
|
@@ -2041,6 +2069,7 @@ class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
|
2041
2069
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
|
|
2042
2070
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
2043
2071
|
*
|
|
2072
|
+
* @example
|
|
2044
2073
|
* //Decoding raw codetext with standart second message
|
|
2045
2074
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.MAXI_CODE);
|
|
2046
2075
|
* reader.readBarCodes().forEach(function(result, i, results)
|
|
@@ -2059,6 +2088,9 @@ class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
|
2059
2088
|
* }
|
|
2060
2089
|
* }
|
|
2061
2090
|
* });
|
|
2091
|
+
*
|
|
2092
|
+
* @example
|
|
2093
|
+
*
|
|
2062
2094
|
* //Decoding raw codetext with structured second message
|
|
2063
2095
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.MAXI_CODE);
|
|
2064
2096
|
* reader.readBarCodes().forEach(function(result, i, results)
|
|
@@ -2134,7 +2166,7 @@ class MaxiCodeStructuredSecondMessage extends MaxiCodeSecondMessage
|
|
|
2134
2166
|
try
|
|
2135
2167
|
{
|
|
2136
2168
|
let java_class = java.import(MaxiCodeStructuredSecondMessage.JAVA_CLASS_NAME);
|
|
2137
|
-
|
|
2169
|
+
super(new java_class());
|
|
2138
2170
|
}
|
|
2139
2171
|
catch (ex)
|
|
2140
2172
|
{
|
|
@@ -2222,22 +2254,17 @@ class MaxiCodeStructuredSecondMessage extends MaxiCodeSecondMessage
|
|
|
2222
2254
|
}
|
|
2223
2255
|
|
|
2224
2256
|
/**
|
|
2225
|
-
*
|
|
2226
|
-
*
|
|
2227
|
-
* </p><p><hr><blockquote><pre>
|
|
2257
|
+
* Base class for encoding and decoding the text embedded in the HIBC LIC code.<br>
|
|
2258
|
+
* <br>
|
|
2228
2259
|
* This sample shows how to decode raw HIBC LIC codetext to HIBCLICComplexCodetext instance.
|
|
2229
|
-
*
|
|
2260
|
+
* @example
|
|
2230
2261
|
* let reader = new BarCodeReader("c:\\test.png", null, DecodeType.HIBC_AZTEC_LIC);
|
|
2262
|
+
* reader.readBarCodes().forEach(function(result, i, results)
|
|
2231
2263
|
* {
|
|
2232
|
-
*
|
|
2233
|
-
*
|
|
2234
|
-
*
|
|
2235
|
-
*
|
|
2236
|
-
* print("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext());
|
|
2237
|
-
* });
|
|
2238
|
-
* }
|
|
2239
|
-
* </pre>
|
|
2240
|
-
* </pre></blockquote></hr></p>
|
|
2264
|
+
* let resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText());
|
|
2265
|
+
* print("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType());
|
|
2266
|
+
* print("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext());
|
|
2267
|
+
* });
|
|
2241
2268
|
*/
|
|
2242
2269
|
class HIBCLICComplexCodetext extends IComplexCodetext
|
|
2243
2270
|
{
|
|
@@ -2288,9 +2315,10 @@ class HIBCLICComplexCodetext extends IComplexCodetext
|
|
|
2288
2315
|
/**
|
|
2289
2316
|
* <p>
|
|
2290
2317
|
* Class for encoding and decoding the text embedded in the HIBC LIC code which stores primary and secodary data.
|
|
2291
|
-
* </p
|
|
2318
|
+
* </p>
|
|
2292
2319
|
* This sample shows how to encode and decode HIBC LIC using HIBCLICCombinedCodetext.
|
|
2293
|
-
*
|
|
2320
|
+
*
|
|
2321
|
+
* @example
|
|
2294
2322
|
*
|
|
2295
2323
|
* let combinedCodetext = new HIBCLICCombinedCodetext();
|
|
2296
2324
|
* combinedCodetext.setBarcodeType(EncodeTypes.HIBCQRLIC);
|
|
@@ -2306,25 +2334,19 @@ class HIBCLICComplexCodetext extends IComplexCodetext
|
|
|
2306
2334
|
* combinedCodetext.getSecondaryAndAdditionalData().setSerialNumber("SERIAL123");
|
|
2307
2335
|
* combinedCodetext.getSecondaryAndAdditionalData().setDateOfManufacture(new Date());
|
|
2308
2336
|
* ComplexBarcodeGenerator generator = new ComplexBarcodeGenerator(combinedCodetext);
|
|
2309
|
-
*
|
|
2310
|
-
*
|
|
2311
|
-
*
|
|
2312
|
-
*
|
|
2313
|
-
*
|
|
2314
|
-
*
|
|
2315
|
-
*
|
|
2316
|
-
*
|
|
2317
|
-
*
|
|
2318
|
-
*
|
|
2319
|
-
*
|
|
2320
|
-
*
|
|
2321
|
-
*
|
|
2322
|
-
* print("Serial number: " + result.getSecondaryAndAdditionalData().getSerialNumber());
|
|
2323
|
-
* print("Date of manufacture: " + result.getSecondaryAndAdditionalData().getDateOfManufacture());
|
|
2324
|
-
* }
|
|
2325
|
-
* }
|
|
2326
|
-
* </pre>
|
|
2327
|
-
* </pre></blockquote></hr></p>
|
|
2337
|
+
* let image = generator.generateBarCodeImage(BarCodeImageFormat.PNG);
|
|
2338
|
+
* let reader = new BarCodeReader(image, null, DecodeType.HIBCQRLIC);
|
|
2339
|
+
* reader.readBarCodes();
|
|
2340
|
+
* let codetext = reader.getFoundBarCodes()[0].getCodeText();
|
|
2341
|
+
* let result = ComplexCodetextReader.tryDecodeHIBCLIC(codetext) ;
|
|
2342
|
+
* print("Product or catalog number: " + result.getPrimaryData().getProductOrCatalogNumber());
|
|
2343
|
+
* print("Labeler identification code: " + result.getPrimaryData().getLabelerIdentificationCode());
|
|
2344
|
+
* print("Unit of measure ID: " + result.getPrimaryData().getUnitOfMeasureID());
|
|
2345
|
+
* print("Expiry date: " + result.getSecondaryAndAdditionalData().getExpiryDate());
|
|
2346
|
+
* print("Quantity: " + result.getSecondaryAndAdditionalData().getQuantity());
|
|
2347
|
+
* print("Lot number: " + result.getSecondaryAndAdditionalData().getLotNumber());
|
|
2348
|
+
* print("Serial number: " + result.getSecondaryAndAdditionalData().getSerialNumber());
|
|
2349
|
+
* print("Date of manufacture: " + result.getSecondaryAndAdditionalData().getDateOfManufacture());
|
|
2328
2350
|
*/
|
|
2329
2351
|
class HIBCLICCombinedCodetext extends HIBCLICComplexCodetext
|
|
2330
2352
|
{
|
|
@@ -2449,9 +2471,9 @@ class HIBCLICCombinedCodetext extends HIBCLICComplexCodetext
|
|
|
2449
2471
|
/**
|
|
2450
2472
|
* <p>
|
|
2451
2473
|
* Class for encoding and decoding the text embedded in the HIBC LIC code which stores primary data.
|
|
2452
|
-
* </p
|
|
2474
|
+
* </p>
|
|
2453
2475
|
* This sample shows how to encode and decode HIBC LIC using HIBCLICPrimaryCodetext.
|
|
2454
|
-
*
|
|
2476
|
+
* @example
|
|
2455
2477
|
* let complexCodetext = new HIBCLICPrimaryCodetext();
|
|
2456
2478
|
* complexCodetext.setBarcodeType(EncodeTypes.HIBCQRLIC);
|
|
2457
2479
|
* complexCodetext.setData(new PrimaryData());
|
|
@@ -2459,20 +2481,14 @@ class HIBCLICCombinedCodetext extends HIBCLICComplexCodetext
|
|
|
2459
2481
|
* complexCodetext.getData().setLabelerIdentificationCode("A999");
|
|
2460
2482
|
* complexCodetext.getData().setUnitOfMeasureID(1);
|
|
2461
2483
|
* let generator = new ComplexBarcodeGenerator(complexCodetext);
|
|
2462
|
-
*
|
|
2463
|
-
*
|
|
2464
|
-
*
|
|
2465
|
-
*
|
|
2466
|
-
*
|
|
2467
|
-
*
|
|
2468
|
-
*
|
|
2469
|
-
*
|
|
2470
|
-
* print("Labeler identification code: " + result.getData().getLabelerIdentificationCode());
|
|
2471
|
-
* print("Unit of measure ID: " + result.getData().getUnitOfMeasureID());
|
|
2472
|
-
* }
|
|
2473
|
-
* }
|
|
2474
|
-
* </pre>
|
|
2475
|
-
* </pre></blockquote></hr></p>
|
|
2484
|
+
* let image = generator.generateBarCodeImage(BarCodeImageFormat.PNG);
|
|
2485
|
+
* let reader = new BarCodeReader(image, null, DecodeType.HIBCQRLIC);
|
|
2486
|
+
* reader.readBarCodes();
|
|
2487
|
+
* let codetext = reader.getFoundBarCodes()[0].getCodeText();
|
|
2488
|
+
* let result = ComplexCodetextReader.tryDecodeHIBCLIC(codetext) ;
|
|
2489
|
+
* print("Product or catalog number: " + result.getData().getProductOrCatalogNumber());
|
|
2490
|
+
* print("Labeler identification code: " + result.getData().getLabelerIdentificationCode());
|
|
2491
|
+
* print("Unit of measure ID: " + result.getData().getUnitOfMeasureID());
|
|
2476
2492
|
*/
|
|
2477
2493
|
class HIBCLICPrimaryDataCodetext extends HIBCLICComplexCodetext
|
|
2478
2494
|
{
|
|
@@ -2694,9 +2710,9 @@ class HIBCLICSecondaryAndAdditionalDataCodetext extends HIBCLICComplexCodetext
|
|
|
2694
2710
|
/**
|
|
2695
2711
|
* <p>
|
|
2696
2712
|
* Class for encoding and decoding the text embedded in the HIBC PAS code.
|
|
2697
|
-
*
|
|
2713
|
+
* @example
|
|
2714
|
+
*
|
|
2698
2715
|
* This sample shows how to encode and decode HIBC PAS using HIBCPASCodetext.
|
|
2699
|
-
* <pre>
|
|
2700
2716
|
*
|
|
2701
2717
|
* let complexCodetext = new HIBCPASComplexCodetext();
|
|
2702
2718
|
* complexCodetext.setDataLocation(HIBCPASDataLocation.PATIENT);
|
|
@@ -2704,21 +2720,15 @@ class HIBCLICSecondaryAndAdditionalDataCodetext extends HIBCLICComplexCodetext
|
|
|
2704
2720
|
* complexCodetext.addRecord(HIBCPASDataType.MANUFACTURER_SERIAL_NUMBER, "SERIAL123");
|
|
2705
2721
|
* complexCodetext.setBarcodeType(EncodeTypes.HIBC_DATA_MATRIX_PAS);
|
|
2706
2722
|
* let generator = new ComplexBarcodeGenerator(complexCodetext);
|
|
2707
|
-
*
|
|
2708
|
-
*
|
|
2709
|
-
*
|
|
2710
|
-
*
|
|
2711
|
-
*
|
|
2712
|
-
*
|
|
2713
|
-
*
|
|
2714
|
-
*
|
|
2715
|
-
*
|
|
2716
|
-
* print("Data type: " + readCodetext.getRecords()[1].getDataType());
|
|
2717
|
-
* print("Data: " + readCodetext.getRecords()[1].getData());
|
|
2718
|
-
* }
|
|
2719
|
-
* }
|
|
2720
|
-
* </pre>
|
|
2721
|
-
* </pre></blockquote></hr></p>
|
|
2723
|
+
* BarCodeReader reader = new BarCodeReader(generator.generateBarCodeImage(BarCodeImageFormat.PNG), null, DecodeType.HIBC_DATA_MATRIX_PAS);
|
|
2724
|
+
* reader.readBarCodes();
|
|
2725
|
+
* let codetext = reader.getFoundBarCodes()[0].getCodeText();
|
|
2726
|
+
* let readCodetext = ComplexCodetextReader.tryDecodeHIBCPAS(codetext);
|
|
2727
|
+
* print("Data location: " + readCodetext.getDataLocation());
|
|
2728
|
+
* print("Data type: " + readCodetext.getRecords()[0].getDataType());
|
|
2729
|
+
* print("Data: " + readCodetext.getRecords()[0].getData());
|
|
2730
|
+
* print("Data type: " + readCodetext.getRecords()[1].getDataType());
|
|
2731
|
+
* print("Data: " + readCodetext.getRecords()[1].getData());
|
|
2722
2732
|
*/
|
|
2723
2733
|
class HIBCPASCodetext extends IComplexCodetext
|
|
2724
2734
|
{
|
|
@@ -3019,7 +3029,7 @@ class PrimaryData extends joint.BaseJavaClass
|
|
|
3019
3029
|
|
|
3020
3030
|
/**
|
|
3021
3031
|
* <p>
|
|
3022
|
-
* Identifies date of labeler identification code
|
|
3032
|
+
* Identifies date of labeler identification code.<br>
|
|
3023
3033
|
* Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
|
|
3024
3034
|
* </p>
|
|
3025
3035
|
*/
|
|
@@ -3030,7 +3040,7 @@ class PrimaryData extends joint.BaseJavaClass
|
|
|
3030
3040
|
|
|
3031
3041
|
/**
|
|
3032
3042
|
* <p>
|
|
3033
|
-
* Identifies date of labeler identification code
|
|
3043
|
+
* Identifies date of labeler identification code.<br>
|
|
3034
3044
|
* Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
|
|
3035
3045
|
* </p>
|
|
3036
3046
|
*/
|
|
@@ -3055,8 +3065,8 @@ class PrimaryData extends joint.BaseJavaClass
|
|
|
3055
3065
|
* </p>
|
|
3056
3066
|
*/
|
|
3057
3067
|
setProductOrCatalogNumber(value)
|
|
3058
|
-
|
|
3059
|
-
|
|
3068
|
+
{
|
|
3069
|
+
this.getJavaClass().setProductOrCatalogNumberSync(value);
|
|
3060
3070
|
}
|
|
3061
3071
|
|
|
3062
3072
|
/**
|
|
@@ -3263,11 +3273,9 @@ class SecondaryAndAdditionalData extends joint.BaseJavaClass
|
|
|
3263
3273
|
}
|
|
3264
3274
|
|
|
3265
3275
|
/**
|
|
3266
|
-
*
|
|
3267
|
-
*
|
|
3268
|
-
* Quantity can be set to -1 in order not to use this field.
|
|
3276
|
+
* Identifies quantity, must be integer value from 0 to 500.<br>
|
|
3277
|
+
* Quantity can be set to -1 in order not to use this field.<br>
|
|
3269
3278
|
* Default value: -1
|
|
3270
|
-
* </p>
|
|
3271
3279
|
*/
|
|
3272
3280
|
getQuantity()
|
|
3273
3281
|
{
|
|
@@ -3344,27 +3352,27 @@ class SecondaryAndAdditionalData extends joint.BaseJavaClass
|
|
|
3344
3352
|
* @enum
|
|
3345
3353
|
*/
|
|
3346
3354
|
Mailmark2DType =
|
|
3347
|
-
{
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3355
|
+
{
|
|
3356
|
+
/**
|
|
3357
|
+
* Auto determine
|
|
3358
|
+
*/
|
|
3359
|
+
AUTO: 0,
|
|
3352
3360
|
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3361
|
+
/**
|
|
3362
|
+
* 24 x 24 modules
|
|
3363
|
+
*/
|
|
3364
|
+
TYPE_7: 1,
|
|
3357
3365
|
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3366
|
+
/**
|
|
3367
|
+
* 32 x 32 modules
|
|
3368
|
+
*/
|
|
3369
|
+
TYPE_9: 2,
|
|
3362
3370
|
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
}
|
|
3371
|
+
/**
|
|
3372
|
+
* 16 x 48 modules
|
|
3373
|
+
*/
|
|
3374
|
+
TYPE_29: 3
|
|
3375
|
+
}
|
|
3368
3376
|
|
|
3369
3377
|
/**
|
|
3370
3378
|
* <p>
|
|
@@ -3372,56 +3380,56 @@ Mailmark2DType =
|
|
|
3372
3380
|
* </p>
|
|
3373
3381
|
*/
|
|
3374
3382
|
HIBCLICDateFormat =
|
|
3375
|
-
{
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
}
|
|
3383
|
+
{
|
|
3384
|
+
/**
|
|
3385
|
+
* <p>
|
|
3386
|
+
* YYYYMMDD format. Will be encoded in additional supplemental data.
|
|
3387
|
+
* </p>
|
|
3388
|
+
*/
|
|
3389
|
+
YYYYMMDD: 0,
|
|
3390
|
+
/**
|
|
3391
|
+
* <p>
|
|
3392
|
+
* MMYY format.
|
|
3393
|
+
* </p>
|
|
3394
|
+
*/
|
|
3395
|
+
MMYY: 1,
|
|
3396
|
+
/**
|
|
3397
|
+
* <p>
|
|
3398
|
+
* MMDDYY format.
|
|
3399
|
+
* </p>
|
|
3400
|
+
*/
|
|
3401
|
+
MMDDYY: 2,
|
|
3402
|
+
/**
|
|
3403
|
+
* <p>
|
|
3404
|
+
* YYMMDD format.
|
|
3405
|
+
* </p>
|
|
3406
|
+
*/
|
|
3407
|
+
YYMMDD: 3,
|
|
3408
|
+
/**
|
|
3409
|
+
* <p>
|
|
3410
|
+
* YYMMDDHH format.
|
|
3411
|
+
* </p>
|
|
3412
|
+
*/
|
|
3413
|
+
YYMMDDHH: 4,
|
|
3414
|
+
/**
|
|
3415
|
+
* <p>
|
|
3416
|
+
* Julian date format.
|
|
3417
|
+
* </p>
|
|
3418
|
+
*/
|
|
3419
|
+
YYJJJ: 5,
|
|
3420
|
+
/**
|
|
3421
|
+
* <p>
|
|
3422
|
+
* Julian date format with hours.
|
|
3423
|
+
* </p>
|
|
3424
|
+
*/
|
|
3425
|
+
YYJJJHH: 6,
|
|
3426
|
+
/**
|
|
3427
|
+
* <p>
|
|
3428
|
+
* Do not encode expiry date.
|
|
3429
|
+
* </p>
|
|
3430
|
+
*/
|
|
3431
|
+
NONE:7
|
|
3432
|
+
}
|
|
3425
3433
|
|
|
3426
3434
|
/**
|
|
3427
3435
|
* <p>
|
|
@@ -3429,86 +3437,86 @@ HIBCLICDateFormat =
|
|
|
3429
3437
|
* </p>
|
|
3430
3438
|
*/
|
|
3431
3439
|
HIBCPASDataLocation =
|
|
3432
|
-
{
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
}
|
|
3440
|
+
{
|
|
3441
|
+
/**
|
|
3442
|
+
* <p>
|
|
3443
|
+
* A - Patient
|
|
3444
|
+
* </p>
|
|
3445
|
+
*/
|
|
3446
|
+
PATIENT: 0,
|
|
3447
|
+
/**
|
|
3448
|
+
* <p>
|
|
3449
|
+
* B - Patient Care Record
|
|
3450
|
+
* </p>
|
|
3451
|
+
*/
|
|
3452
|
+
PATIENT_CARE_RECORD: 1,
|
|
3453
|
+
/**
|
|
3454
|
+
* <p>
|
|
3455
|
+
* C - Specimen Container
|
|
3456
|
+
* </p>
|
|
3457
|
+
*/
|
|
3458
|
+
SPECIMEN_CONTAINER: 2,
|
|
3459
|
+
/**
|
|
3460
|
+
* <p>
|
|
3461
|
+
* D - Direct Patient Image Item
|
|
3462
|
+
* </p>
|
|
3463
|
+
*/
|
|
3464
|
+
DIRECT_PATIENT_IMAGE_ITEM: 3,
|
|
3465
|
+
/**
|
|
3466
|
+
* <p>
|
|
3467
|
+
* E - Business Record
|
|
3468
|
+
* </p>
|
|
3469
|
+
*/
|
|
3470
|
+
BUSINESS_RECORD: 4,
|
|
3471
|
+
/**
|
|
3472
|
+
* <p>
|
|
3473
|
+
* F - Medical Administration Record
|
|
3474
|
+
* </p>
|
|
3475
|
+
*/
|
|
3476
|
+
MEDICAL_ADMINISTRATION_RECORD: 5,
|
|
3477
|
+
/**
|
|
3478
|
+
* <p>
|
|
3479
|
+
* G - Library Reference Material
|
|
3480
|
+
* </p>
|
|
3481
|
+
*/
|
|
3482
|
+
LIBRARY_REFERENCE_MATERIAL: 6,
|
|
3483
|
+
/**
|
|
3484
|
+
* <p>
|
|
3485
|
+
* H - Devices and Materials
|
|
3486
|
+
* </p>
|
|
3487
|
+
*/
|
|
3488
|
+
DEVICES_AND_MATERIALS: 7,
|
|
3489
|
+
/**
|
|
3490
|
+
* <p>
|
|
3491
|
+
* I - Identification Card
|
|
3492
|
+
* </p>
|
|
3493
|
+
*/
|
|
3494
|
+
IDENTIFICATION_CARD: 8,
|
|
3495
|
+
/**
|
|
3496
|
+
* <p>
|
|
3497
|
+
* J - Product Container
|
|
3498
|
+
* </p>
|
|
3499
|
+
*/
|
|
3500
|
+
PRODUCT_CONTAINER: 9,
|
|
3501
|
+
/**
|
|
3502
|
+
* <p>
|
|
3503
|
+
* K - Asset data type
|
|
3504
|
+
* </p>
|
|
3505
|
+
*/
|
|
3506
|
+
ASSET: 10,
|
|
3507
|
+
/**
|
|
3508
|
+
* <p>
|
|
3509
|
+
* L - Surgical Instrument
|
|
3510
|
+
* </p>
|
|
3511
|
+
*/
|
|
3512
|
+
SURGICAL_INSTRUMENT: 11,
|
|
3513
|
+
/**
|
|
3514
|
+
* <p>
|
|
3515
|
+
* Z - User Defined
|
|
3516
|
+
* </p>
|
|
3517
|
+
*/
|
|
3518
|
+
USER_DEFINED: 25
|
|
3519
|
+
}
|
|
3512
3520
|
|
|
3513
3521
|
/**
|
|
3514
3522
|
* <p>
|
|
@@ -3516,152 +3524,152 @@ HIBCPASDataLocation =
|
|
|
3516
3524
|
* </p>
|
|
3517
3525
|
*/
|
|
3518
3526
|
HIBCPASDataType =
|
|
3519
|
-
{
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
}
|
|
3527
|
+
{
|
|
3528
|
+
/**
|
|
3529
|
+
* <p>
|
|
3530
|
+
* A - Labeler Identification Code
|
|
3531
|
+
* </p>
|
|
3532
|
+
*/
|
|
3533
|
+
LABELER_IDENTIFICATION_CODE: 0,
|
|
3534
|
+
/**
|
|
3535
|
+
* <p>
|
|
3536
|
+
* B - Service Identification
|
|
3537
|
+
* </p>
|
|
3538
|
+
*/
|
|
3539
|
+
SERVICE_IDENTIFICATION: 1,
|
|
3540
|
+
/**
|
|
3541
|
+
* <p>
|
|
3542
|
+
* C - Patient Identification
|
|
3543
|
+
* </p>
|
|
3544
|
+
*/
|
|
3545
|
+
PATIENT_IDENTIFICATION: 2,
|
|
3546
|
+
/**
|
|
3547
|
+
* <p>
|
|
3548
|
+
* D - Specimen Identification
|
|
3549
|
+
* </p>
|
|
3550
|
+
*/
|
|
3551
|
+
SPECIMEN_IDENTIFICATION: 3,
|
|
3552
|
+
/**
|
|
3553
|
+
* <p>
|
|
3554
|
+
* E - Personnel Identification
|
|
3555
|
+
* </p>
|
|
3556
|
+
*/
|
|
3557
|
+
PERSONNEL_IDENTIFICATION: 4,
|
|
3558
|
+
/**
|
|
3559
|
+
* <p>
|
|
3560
|
+
* F - Administrable Product Identification
|
|
3561
|
+
* </p>
|
|
3562
|
+
*/
|
|
3563
|
+
ADMINISTRABLE_PRODUCT_IDENTIFICATION: 5,
|
|
3564
|
+
/**
|
|
3565
|
+
* <p>
|
|
3566
|
+
* G - Implantable Product Information
|
|
3567
|
+
* </p>
|
|
3568
|
+
*/
|
|
3569
|
+
IMPLANTABLE_PRODUCT_INFORMATION: 6,
|
|
3570
|
+
/**
|
|
3571
|
+
* <p>
|
|
3572
|
+
* H - Hospital Item Identification
|
|
3573
|
+
* </p>
|
|
3574
|
+
*/
|
|
3575
|
+
HOSPITAL_ITEM_IDENTIFICATION: 7,
|
|
3576
|
+
/**
|
|
3577
|
+
* <p>
|
|
3578
|
+
* I - Medical Procedure Identification
|
|
3579
|
+
* </p>
|
|
3580
|
+
*/
|
|
3581
|
+
MEDICAL_PROCEDURE_IDENTIFICATION: 8,
|
|
3582
|
+
/**
|
|
3583
|
+
* <p>
|
|
3584
|
+
* J - Reimbursement Category
|
|
3585
|
+
* </p>
|
|
3586
|
+
*/
|
|
3587
|
+
REIMBURSEMENT_CATEGORY: 9,
|
|
3588
|
+
/**
|
|
3589
|
+
* <p>
|
|
3590
|
+
* K - Blood Product Identification
|
|
3591
|
+
* </p>
|
|
3592
|
+
*/
|
|
3593
|
+
BLOOD_PRODUCT_IDENTIFICATION: 10,
|
|
3594
|
+
/**
|
|
3595
|
+
* <p>
|
|
3596
|
+
* L - Demographic Data
|
|
3597
|
+
* </p>
|
|
3598
|
+
*/
|
|
3599
|
+
DEMOGRAPHIC_DATA: 11,
|
|
3600
|
+
/**
|
|
3601
|
+
* <p>
|
|
3602
|
+
* M - DateTime in YYYDDDHHMMG format
|
|
3603
|
+
* </p>
|
|
3604
|
+
*/
|
|
3605
|
+
DATE_TIME: 12,
|
|
3606
|
+
/**
|
|
3607
|
+
* <p>
|
|
3608
|
+
* N - Asset Identification
|
|
3609
|
+
* </p>
|
|
3610
|
+
*/
|
|
3611
|
+
ASSET_IDENTIFICATION: 13,
|
|
3612
|
+
/**
|
|
3613
|
+
* <p>
|
|
3614
|
+
* O - Purchase Order Number
|
|
3615
|
+
* </p>
|
|
3616
|
+
*/
|
|
3617
|
+
PURCHASE_ORDER_NUMBER: 14,
|
|
3618
|
+
/**
|
|
3619
|
+
* <p>
|
|
3620
|
+
* P - Dietary Item Identification
|
|
3621
|
+
* </p>
|
|
3622
|
+
*/
|
|
3623
|
+
DIETARY_ITEM_IDENTIFICATION: 15,
|
|
3624
|
+
/**
|
|
3625
|
+
* <p>
|
|
3626
|
+
* Q - Manufacturer Serial Number
|
|
3627
|
+
* </p>
|
|
3628
|
+
*/
|
|
3629
|
+
MANUFACTURER_SERIAL_NUMBER: 16,
|
|
3630
|
+
/**
|
|
3631
|
+
* <p>
|
|
3632
|
+
* R - Library Materials Identification
|
|
3633
|
+
* </p>
|
|
3634
|
+
*/
|
|
3635
|
+
LIBRARY_MATERIALS_IDENTIFICATION: 17,
|
|
3636
|
+
/**
|
|
3637
|
+
* <p>
|
|
3638
|
+
* S - Business Control Number
|
|
3639
|
+
* </p>
|
|
3640
|
+
*/
|
|
3641
|
+
BUSINESS_CONTROL_NUMBER: 18,
|
|
3642
|
+
/**
|
|
3643
|
+
* <p>
|
|
3644
|
+
* T - Episode of Care Identification
|
|
3645
|
+
* </p>
|
|
3646
|
+
*/
|
|
3647
|
+
EPISODE_OF_CARE_IDENTIFICATION: 19,
|
|
3648
|
+
/**
|
|
3649
|
+
* <p>
|
|
3650
|
+
* U - Health Industry Number
|
|
3651
|
+
* </p>
|
|
3652
|
+
*/
|
|
3653
|
+
HEALTH_INDUSTRY_NUMBER: 20,
|
|
3654
|
+
/**
|
|
3655
|
+
* <p>
|
|
3656
|
+
* V - Patient Visit ID
|
|
3657
|
+
* </p>
|
|
3658
|
+
*/
|
|
3659
|
+
PATIENT_VISIT_ID: 21,
|
|
3660
|
+
/**
|
|
3661
|
+
* <p>
|
|
3662
|
+
* X - XML Document
|
|
3663
|
+
* </p>
|
|
3664
|
+
*/
|
|
3665
|
+
XML_DOCUMENT: 22,
|
|
3666
|
+
/**
|
|
3667
|
+
* <p>
|
|
3668
|
+
* Z - User Defined
|
|
3669
|
+
* </p>
|
|
3670
|
+
*/
|
|
3671
|
+
USER_DEFINED: 25
|
|
3672
|
+
}
|
|
3665
3673
|
|
|
3666
3674
|
module.exports = {
|
|
3667
3675
|
SwissQRCodetext,
|