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.

HPE 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, specify the following in the formats.ini file:

[Options]
TableDetection=TRUE
TabDelimited=TRUE

Alternatively, you can enable these options programmatically by setting KVFLT_TABLEDETECTION and KVFLT_TABDELIMITED to true in fpFilterConfig().

NOTE:

Table detection is only available with the pdf2sr reader. To enable this reader, set the following configuration parameter:

[Formats]
200=pdf2

_HP_HTML5_bannerTitle.htm