Creating page-level triggers

In an AFP file with existing page groups or after you create page groups in a file, you can create triggers to define individual pages in page groups.

You can create one or more triggers on an individual page, with the same or different page definition names. AFP Indexer defines a page if it finds all the triggers with the same page definition name.

Note: In RICOH Visual Workbench you can display measurement units in inches or millimeters. To change the measurement unit, click View Units.
To create page-level triggers:
  1. In RICOH Visual Workbench, open a sample AFP file. Then click Mode AFP Indexer.
  2. Select a page in a page group.
  3. Click the text that you want to use as a trigger.
    You see a red box around the text you selected.

    The text blocks you can select are defined in the AFP file, from one character to the entire line of text. For example, the text Account Summary might be defined as two text blocks. You can click either the Account or Summary text block to create a trigger.

  4. Right-click the text and click Create Trigger.
    You might see a message that says the page groups might change or the index tags might be invalid and asks if you want to continue. Click Yes.
    You see the Create Trigger window with the selected text in the Edited trigger field.
    Note: You might need to use the scroll arrows to see the text in the Edited trigger field.
  5. Decide whether you want to use the entire text value as the page-level trigger or only part of the text. You can edit the text value to reduce the number of characters you use for the trigger value. To select part of the text as the trigger:
    1. Click Edit trigger.
    2. Edit the trigger value in the Edit Value window.
    3. Click OK.
  6. Click Page for the trigger type.
    You see the Select page definition field.
  7. Type a name to identify the page or select a name from the drop-down list.
  8. Click the Advanced tab to change the text threshold, the method for matching the trigger, or both:
    • Select a range from 1/100 to 1 inch for the text threshold. Although text might appear to be present in the same location, slight position variations can occur in the AFP file. You can change the threshold to look for trigger text that is in slightly different positions on some pages. The threshold defines how far the text can be from the original location and be considered a trigger. For example, a threshold value of 12 indicates that the trigger can be located within .12 of an inch either vertically or horizontally. Usually the default threshold value of 10 is sufficient.
    • Select the method used to match the trigger–on the trigger string value and the text block position, or on the position only:
      On string and X,Y position
      The trigger string value and horizontal and vertical position of the text block are matched. This is the default.
      On string and X position
      The trigger string value and horizontal position of the text block are matched.
      On string and Y position
      The trigger string value and vertical position of the text block are matched.
      On X,Y position only
      The horizontal and vertical position of the text block is matched.
  9. Click OK.
  10. Click Tools Modify Definitions to modify or delete the trigger.
    The trigger is listed under Page Group Definition Page Definition Page Triggers.
  11. Optional: To create an additional trigger, repeat the steps.