Results > View Documents > View Templates > Modify the HTML Output for PDF Files

Modify the HTML Output for PDF Files
You can modify the HTML output from the conversion of PDF files by setting the following parameters in the [KVHTMLConfig] section of the template file.
 
Converts each page of a PDF document to a JPEG file providing a high-fidelity conversion of the document. By default, PDF files are converted to HTML.
Prevents using bookmarks in a PDF file to generate a table of contents in the HTML output. By default, the table of contents is generated from bookmarks in the PDF file.
Removes soft hyphens in the source document and joins the hyphenated words in the HTML output. By default, soft hyphens are maintained.
Determines the order in which to extract paragraphs from a PDF. By default, the View service extracts PDF paragraphs in the order in which they are stored in the file (unstructured reading order), not the order in which they appear on the visual page (logical reading order). You can specify the following paragraph directions:
*
LPDF_LTR. Logical reading order and left-to-right paragraph direction. Specify this option when most of your documents are in a language using a left-to-right reading order, such as English or German.
*
LPDF_RTL. Logical reading order and right-to-left paragraph direction. Specify this option when most of your documents are in a language using a right-to-left reading order, such as Hebrew or Arabic.
*
LPDF_AUTO. Logical reading order. The PDF reader determines the paragraph direction for each PDF page, and then sets the direction accordingly. When no paragraph direction is specified, this option is used.
*
LPDF_RAW. Unstructured paragraph flow. This value is the default behavior. If you enable logical reading order, and you want to return to an unstructured paragraph flow, set this flag.
Displays rotated text in a file at zero degrees at the bottom of the page it appears on. It enlarges the page to accommodate the text.
By default, rotated text in a file is displayed in its original position, at the original font size, and at zero degrees rotation. Because the text is the original size, but may be displayed in a smaller space, the text may overlap adjacent text in the HTML output. Use the KVCFG_SETTEXTROTATE option to avoid this problem.
Related Topics 
*