KeyView Export SDK enables you to convert many different types of documents to HTML. Converting is the process of extracting the text from a document without the application-specific markup, and applying HTML markup. The conversion process can also include the following:
Extracting subfiles to expose all subfiles for conversion. See Subfile Extraction.
Setting conversion options to determine the content, structure, and appearance of the HTML output. See Set Conversion Options.
Extracting the file's format to detect a file's format, and report the information to the API, which in turn reports the information to the developer's application. See Extract File Format Information.
Extracting metadata (document properties) from a file. See Extract Metadata.
Converting character sets to control the character set of both the input and the output text. See Convert Character Sets.
Implementing callbacks to control the conversion while it is in progress. See HTML Export API Callback Functions.
You can use one of the following methods to convert documents:
Use the Export Demo sample program. This Visual Basic program demonstrates most Export API functionality and is the easiest way to get started. See Use the Export Demo Program.
Use the C-language implementation of the API from your C or C++ application. See Use the C-Language Implementation of the API.
Use the COM implementation of the API from your Visual Basic, Delphi, or J++ or C application (32-bit Windows platforms only). See Use the COM Implementation of the API.
Use the C sample programs. See Sample Programs.
NOTE: Micro Focus strongly recommends that you convert documents out of process. During out-of-process conversion, Export runs independently from the calling application. Out-of-process conversions protects the stability of the calling application in the rare case when a malformed document causes Export to fail. Convert Files Out of Process.
|