KeyView 24.2

# cnv2htmloop

The `cnv2htmloop` sample program creates a single, formatted HTML output file, but unlike `cnv2html`, it converts the file out of process. See Convert Files Out of Process for more information on out of process conversions.

To run `cnv2htmloop`, type the following at the command line:

    cnv2htmloop [options] inputfile outputfile

where:

`options` is one or more of the options listed in Options for cnv2htmloop.

`inputfile` is the full path and file name of the source document.

`outputfile` is the full path and file name of the HTML output file.

Options for cnv2htmloop

Option | Description
--- | ---
`-f` | Convert by using out-of-process file mode (default)
`-s` | Convert by using out-of-process stream mode
`-c KVCFG_SETHIFIPDF` | Enables the graphic-based PDF reader `kppdf2rdr` to convert PDF documents. However, to convert the pages of a PDF file into raster images, OpenText recommends using the `pdf2sr` reader instead, as described in Use the pdf2sr Reader. To see which platforms `kppdf2rdr` and `pdf2sr` are available on, see the platform differences section.
`-c KVCFG_SETTEXTROTATE` | This option specifies that rotated text should be displayed at the bottom of a page on which it appears. By default, rotated text in a file is displayed in its original position, at the original font size, and at 0 degrees rotation. The text is not rotated in the output because text rotation is not supported by HTML. See Convert Rotated Text for more information. Currently, this configuration option applies only to PDF files.
`-c KVCFG_DELSOFTHYPHEN` | This option specifies that soft hyphens in PDF files are deleted from the converted output. See Control Hyphenation.
`-pdfauto` | This option specifies that PDF files are output in a logical reading order. The PDF reader determines the paragraph direction (left-to-right or right-to-left) for each PDF page, and then sets the direction accordingly. See Convert PDF Files to a Logical Reading Order.
`-pdfltr` | This option specifies that PDF files are output in a logical reading order, and the paragraph direction is left to right. See Convert PDF Files to a Logical Reading Order.
`-pdfrtl` | This option specifies that PDF files are output in a logical reading order, and the paragraph direction is right to left. See Convert PDF Files to a Logical Reading Order.
`-pdfraw` | This option specifies that PDF files are output in an unstructured paragraph flow. This is the default. Set this flag if logical reading order is enabled, and you want to return to an unstructured paragraph flow. See Convert PDF Files to a Logical Reading Order.

Copyright 1997-2024 Open Text
Version 24.2 | Last updated March 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.2

Topic Title: cnv2htmloop