Control Hyphenation

There are two types of hyphens in a PDF document:

By default, KeyView skips the source document’s soft hyphens in the Filter output to provide more searchable text content. However, if you want to maintain the document layout, you can keep soft hyphens in the Filter output. To keep soft hyphens, you must enable the soft hyphen flag in formats.ini or in the API.

Use the formats.ini File

To keep soft hyphens by using the formats.ini file, set the following parameter:

[pdf_flags]
keepsofthyphen=TRUE

Use the C++ API

To keep soft hyphens by using the C++ API, call the soft_hyphens(true) method on a Configuration object. See The Configuration Class and soft_hyphens for more information.


_HP_HTML5_bannerTitle.htm