File Formats and Document Readers
The KeyView configuration file formats.ini
contains a section named [Formats]
. Each line in this section matches a file format with the reader to use to parse the format. For most file formats there is only one suitable reader, but for some formats you can choose a reader to use.
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. For example, the following line specifies that an Adobe PDF file (format 230) should be parsed by the 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).