Standard filters

AFP Visual Environment contains these standard filters:

1. Count Objects

Counts the number of AFP Objects in the file. Select Object Identifier from the list. The value is returned to the console output.

Parameters:

Object Identifier
Mandatory parameter. You must select one object type from the Supported Objects table.

2. Count Structure fields

Counts the number of AFP structure fields in the file. Select Structure field Identifier from the list. The value is returned to the console output.

Parameters:

Structure field Identifier
Mandatory parameter. You must select one structure field type from the Supported structure fields table.

3. Create Document Index File

Creates an AFP Document Index File. The output file is offset based. This filter should go at the end of the filter chain list.

Parameters:

Document Index file name
Mandatory parameter. Save location of the output document index.
Form Definition file name
Optional parameter. Path to an input form definition.

4. Create External Resource Group

Creates and External Resource Group from the in-line resource group and external resource directories. It requires a fully qualified Resource Group file name. It also allows you to specify an optional external resource directory and form definition file name.

Parameters:

Resource group file name
Mandatory parameter. Path to the output resource group.
External resource directory
Optional parameter. Path to an external resource directory.
Form Definition file name
Optional parameter. Path to an input form definition.
Additional External resource directory
Optional parameter. Can be added using the Create another instance of this parameter button.
Note: It extracts only form definitions, code-pages character sets, and coded fonts. Other resource types (for example: overlay, page segments) are not included.

5. Create Page Sheet Map

Creates an ACIF style Page or Sheet map. It requires a Page or Sheet Map file name. It also allows you to specify an optional form definition file name. An error message is displayed if the specified form definition is not found.

Parameters:

Page sheet map file name
Mandatory parameter. Path to the output.
Form Definition file name
Optional parameter. Path to an input form definition.

6. Cut AFP Objects

Removes AFP Objects from the file. Select the Object Identifier from the list. It allows you to specify an optional Object name with matching parameters.

Parameters:

Object Identifier
Mandatory parameter. You must select one object type from the Supported Objects table.
Object Name
Optional parameter. If we want to delete only with the specified object name.
    Note:
  • An asterisk (*) in front specifies “ends with”.
  • An asterisk (*) in at the end specifies “starts with”.
  • An asterisk (*) on both sides specifies “contains”.
Range
Optional parameter. You can use it to specify how many elements we should cut. This parameter is in the form of “first:last” where the first value starts at zero (0). An ‘e’ stands for “end”. For example, 0:7 means the first eight objects. 0:e means from the beginning to the end of the file.

7. Cut AFP Structured Fields

Removes AFP Structure fields from the file. Select a type structure field from the list that should be removed. You can specify how many using the Range option.

Parameters:

Structure field Identifier
Mandatory parameter. You must select one structure field type from the Supported structure fields table.
Range
Optional parameter. You can use it to specify how many elements should be cut. This parameter is in the form of “first:last” where the first value starts at zero (0). An ‘e’ stands for “end”. For example, 0:7 means the first eight objects. 0:e means from the beginning to the end of the file.

8. Ensure Even Number Pages in Page Group

Adds a blank page to groups with odd number of pages. Does not require any parameters.

9. In-Line Resource

Adds resources to the in-line resource group. You must supply the fully qualified resource file name and the actual resource name itself.

Parameters:

Resource file name
Mandatory parameter. Name and path of the resource on the disk.
Resource name
Mandatory parameter. Name of the resource that should be written in AFP.

10. Remove Incomplete Pages

Removes incomplete pages, where a new page begins before the previous one is ended.

11. Remove Page Groups

Removes all Page Groups and Page Group TLEs, but not any other data within the Page Group. There is also an optional Range parameter.

Parameters:

Range
Optional parameter. You can use it to specify how many elements should be cut. This parameter is in the form of “first:last” where the first value starts at zero (0). An ‘e’ stands for “end”. For example, 0:7 means the first eight objects. 0:e means from the beginning to the end of the file.

12. Validate AFP Structured Fields

Validates the order and context of structured fields. Missing Begin Document (BDT) and End Document (EDT) Structured Fields are allowed.

Parameters:

Exit on Error
Optional parameter. The customer can specify with a Boolean input parameter whether the validation should stop after the first error occurs or continue until the end.

13. Write AFP Structured Fields

Dumps AFP Structured Field information. Information can be written to an external file. You can also write the output in Hexadecimal format with the optional Show Hex selection.

Parameters:

Output file name
Optional parameter. The name and path of the output file.
Show Hex values
Optional parameter. Use the Boolean values to show or hide the hexadecimal values of the AFP structure fields.