KeyView 24.4
KeyView PDF Export SDK C Programming Guide

# Determine a Document Reader

The format detection module uses information in the file `formats_e.ini` to determine whether a format is supported, and to determine the reader to use to parse a format. The entries in the `[Formats]` section of `formats_e.ini` match file formats with readers.

Each file format has the following structure, where the parts following `MajorFormat` are optional:

    MajorFormat.FileClass.MinorFormat.MajorVersion.MinorVersion

The reader to use for parsing each format is specified as an abbreviation of the reader's library name. Adding "`sr`" to the end of an abbreviation creates the name of the reader.

The following example specifies that an Adobe PDF file (format 230) is parsed by the Adobe PDF reader, `pdfsr`:

    230=pdf

NOTE: The `formats.ini` file applies to all formats except graphics. Detection of graphics formats is handled by an internal module named KeyView Picture Interchange Format (KPIF).

Files Required for Redistribution lists the document readers provided with KeyView.

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: Determine a Document Reader