XFA Specification
Chapter 15, Template Specification
Template Reference
434
fontSpecific
The characters are encoded in a font-specific way. Each character is represented by one 8-bit byte.
The font referred to is font property of the enclosing field or draw.
The checksum property
Algorithm for the checksum to insert into the barcode. The checksum is calculated based upon the
supplied barcode data. The template schema allows any one of the choices listed below. Some barcode
formats, however, either require a particular checksum or never allow a checksum; for such barcodes the
XFA processor
must
ignore this property. Some of the remaining barcode formats support only a limited
subset of these choices; for such barcodes the template must not specify a non-supported choice.
none
Do not insert a checksum. This is the default.
auto
Insert the default checksum for the barcode format.
1mod10
Insert a "1 modulo 10" checksum.
2mod10
Insert a "2 modulo 10" checksum.
1mod10_1mod11
Insert a "1 modulo 10" checksum followed by a "1 modulo 11" checksum.
"1 modulo 10", "2 modulo 10", and "1 modulo 11" are defined in barcode standards documents for the
barcodes to which they apply.
The dataColumnCount property
(2-d barcodes only.) Optional number of data columns to encode for supported barcodes. The template
must supply this property in conjunction with dataRowCount to specify a fixed row and column bar code,
otherwise the XFA processor must use rowColumnRatio to determine the row and column count. The
template must not supply the dataColumnCount property unless the dataRowCount property is also
supplied. When these properties are used the size of the bar code is fixed. If the supplied data does not fill
the barcode it is padded out with padding symbols.
The dataLength property
(1-d barcodes only.) The expected maximum number of characters for this instance of the barcode.
For software barcodes, when
moduleWidth
is not specified, this property must be supplied by the
template. The XFA processor uses this value and the field width, plus its knowledge of the barcode format,
to compute the width of a narrow bar. The width of a wide bar is derived from the width of a narrow bar.
When
moduleWidth
is specified this property, if present, is ignored by the XFA processor.
For hardware barcodes this parameter is ignored. Because the XFA processor does not know the details of
the barcode format, it cannot use this information to determine the bar width.
The data being displayed is not validated against this parameter. For software barcodes the XFA processor
allows the data to overflow the assigned region of the field. For hardware bar codes the result of an
overflow depends upon the printer.
Home Index Bookmark Pages
Pages: Home Index All Pages