Format of the output document file
This topic contains General-use Programming Interface and Associated Guidance Information.
ACIF can create three separate output files, one of which is the print file in AFP data stream format. In doing so, ACIF might create these structured fields:
- Tag Logical Element (TLE)
- Begin Named Group (BNG)
- End Named Group (ENG)
The TLE is described in Format of the index object file; the other two structured fields are described in this section. Example of code that contains group-level indexing and Example of code that contains group- and page-level indexing illustrate the two possible AFP data stream document formats ACIF can produce.
Example of code that contains group-level indexing
BDT BNG Groupname=(index value + sequence number) TLE (INDEX1) TLE (INDEX2) ... TLE (INDEXn) BPG Page 1 of group 1 EPG BPG Page 2 of group 1 EPG ... BPG Page n of group 1 EPG ENG ... BNG Groupname=(index value + sequence number) TLE (INDEX1) TLE (INDEX2) ... TLE (INDEXn) BPG Page 1 of group n EPG BPG Page 2 of group n EPG ... BPG Page n of group n EPG ENG EDT
Example of code that contains group-level indexing illustrates the format ACIF produces when it converts and indexes a print file with group-level indexing.
Example of code that contains group- and page-level indexing
BDT BNG Groupname=(index value + sequence number) TLE (INDEX1) ... TLE (INDEXn) BPG TLE (INDEX1) ... TLE (INDEXn) Page 1 of group 1 EPG ... BPG TLE (INDEX1) ... TLE (INDEXn) Page n of group 1 EPG ENG ... BNG Groupname=(index value + sequence number) TLE (INDEX1) ... TLE (INDEXn) BPG Page 1 of group n EPG ... BPG Page n of group n EPG ENG EDT
Example of code that contains group- and page-level indexing illustrates an input file that has already been indexed (tagged) and converted to MO:DCA-P format. This example shows that you can index (tag) both groups and pages from an application.