Creating index tags for text blocks
- If the AFP file does not contain page groups, create page groups. Otherwise, to create an index tag on a page outside a page group, see Creating index tags on supplemental pages.
- In AFP Visual Environment you can display measurement units in inches or millimeters. To change the measurement unit, click .
- In AFP Visual Environment, open a sample AFP file that contains the text you want to index. Then click .
- Click the text that you want to use to mark specific data in each page group. The text blocks you can select are defined in the AFP file, from one character to the entire line of text. You see a red box around the text you selected.
- Right-click anywhere on the page and click Create Index Tag. You see the Create Index Tag window with the text to index in the Edited index value field.
- Use the default code page encoding or select an encoding from the drop-down list if the text displays incorrectly.
- Type a descriptive name for the index tag in the Index tag name field. For example, if you select
Joe Smithfor the index tag, the name could be
- Decide whether you want to use the entire text value to create the index tag or specify
part of the text. You can edit the text block to reduce the number of characters you
use for the index value (you cannot increase the characters in a text block). To select
part of the text as the index tag:
- Click Edit index value.
- Edit the index value in the Edit Value window.For example, if the account number is one text block, 01-345678, you can create an index value with part of the account number, such as 345678.
- Click OK.
- Make sure Page group is selected as the index type.You also see the index type Page within page group, which is used to create an index tag on an individual page in a page group. See Creating page-level indexes.
- Click the Advanced tab to change the threshold to look for a text value that is in slightly different
positions on some pages. You can select a range from 1/100 to 1 inch or from 1 to 25 millimeters.Although text might appear to be present in the same location on each statement, slight position variations can occur in the AFP file. The threshold defines how far the text can be from the original location and be considered an index tag. For example, a threshold value of 12 indicates that the index tag can be located within .12 of an inch or 12 millimeters, either vertically or horizontally. Usually the default threshold value of 10 is sufficient (10 for inches or 2 for millimeters).
Keep in mind that if you increase the threshold above the default value, you might create an index tag you did not expect because the match is only done on location, so the first text block found in the threshold range is used as the index tag.
- Click OK. You see the index tags listed in the bottom pane for each page group.
- Verify that the correct index tag has been created:
- Double-click the index tag in the bottom pane and verify that the correct page in the page group is displayed.
- If the index tag is incorrect, click to modify or delete the tag.The index tag is listed as a Page Group Definition under Page Group Indexes.