KeyView 24.1

# Table Detection for PDF Files

PDF files often contain data presented in a tabular form. However, there is no information about the table stored within the PDF itself – the text is simply placed in an arrangement that looks like a table to the human eye. When this data is filtered, it can be very difficult to reconstruct the table.

If table detection is enabled, KeyView attempts to recognize tables within PDF pages, and to reconstruct them before they are output. For each page of the document, KeyView outputs the contents of each table first, and then outputs all remaining text on the page.

OpenText recommends that tab delimited output is also enabled when using table detection. This means that any tables detected appear in the output text in tab delimited format.

To enable table detection and tab delimited output

- In the C API, use the function `fpSetConfig` to set the flags `KVFLT_TABLEDETECTION` and `KVFLT_TABDELIMITED` to true.

- In `formats.ini`, set the following parameters. (This is an alternative approach - you do not need to do this if you have configured this feature through the API).

      [Options]
      TableDetection=TRUE
      TabDelimited=TRUE

NOTE: Table detection is only available with the `pdf2sr` reader. To enable this reader, set the following configuration parameter in `formats.ini`:

    [Formats]
    230=pdf2

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

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.1

Topic Title: Table Detection for PDF Files