Barcode component RRTs
Component RRT ID
The RRT ID for this component is LTB.
Reserved Replacement Tag Names (RRTN)
Name | Description |
---|---|
PagesCount | The count of pages in the original document. |
BarcodePages | The list of page numbers on which barcodes are present. |
BarcodePagesCount | The count of pages containing barcodes. |
SplitSeparatorsCount | The number of pages in the original document considered as split separators. |
SplitSeparatorsPages | Comma-separated list of pages considered as split separators. |
SplittedPartsCount | The number of output documents (parts of the split document). |
The following examples provide sample usage for your reference:
~LTB::PagesCount is replaced with 21.
~LTB::BarcodePages~ is replaced by 3.
Additional RRTNs of two types: Barcode global set RRTs and Barcode named set RRTs.
Field Replacement Tag Names (FRTN)
Fields set on the Field Values tab of the Barcode component settings can be used as RRTs. The syntax used to refer to field values in this case is as follows:
Name | Description |
---|---|
%FieldName% | The RRT specifies the name of a FieldName field defined on the Field Values tab. |
Barcode Separator Pages RRTs
When you use the Split on barcode option, the component generates the special set of RRTs for the barcode values found on pages considered as separators.
The following table describes the RRTs for barcode values from separator pages:
Name | Tag Name | Description |
---|---|---|
Barcode from separator | Separators[SeparatorNumber,BarcodeNumber] |
The value of the BarcodeNumber barcode found on the SeparatorNumber separator page.
SeparatorNumber represents an ordinal number of the separator page relatively to the output file, for which the RRTs are being replaced. You can use positive and negative indexes to specify the separator position; in this case, the following logic is applied:
|
Barcode from separator in zone ZoneName | Separators[%ZoneName%,SeparatorNumber ,BarcodeNumber] |
The value of the BarcodeNumber barcode found in the ZoneName zone on the SeparatorNumber separator page.
The ZoneName is delimited by the '%' character.
|
Example of the separator pages RRTs:
The process splits a document with 7 pages by a barcode value using a regular expression. Each page in the document contain seven barcodes. The first, third, fourth and fifth pages contain barcodes that match the specified expression. Keep barcode page option is off. In this case, for the output document that contains the second page the following RRTs will be replaced:
- ~LTB::Separators[0,1]~ will be replaced with the value of the first found barcode on the first page of the input document, because it is the pre-separator page for the referenced output document.
- ~LTB::Separators[3,7]~ will be replaced with the value of the seventh found barcode on the fifth page of the input document, because it is the third post-separator page for the referenced output document.
- ~LTB::Separators[-1,7]~ will not be replaced, because there is no the second pre-separator page for the referenced output document.
The same logic is applied for the zoned RRT with the only difference: