The KeyView Export SDK includes a reference implementation that demonstrates how to export documents to HTML. The reference implementation includes source code for a library named libkvhtmlexport
, and a sample program named kvhtmlexport
.
The libkvhtmlexport
library is written in C++ and provides a simple interface to HTML Export. You can:
The library uses partition information provided by KeyView to provide the following features out-of-the-box:
The following image shows a Microsoft Word document that has been exported to HTML, being displayed in a web browser:
The following image shows a Microsoft Excel workbook that has been exported to HTML, being displayed in a web browser. Additional sheets can be viewed by clicking the tabs at the bottom of the window.
The interface for the library is in htmlexport/libkvhtmlexport/include/libkvhtmlexport.h
, and the implementation is in htmlexport/libkvhtmlexport/src/
.
The kvhtmlexport
sample program uses the library to convert documents to HTML. The source code is provided in htmlexport/libkvhtmlexport/sample/src/
. A compiled binary is also provided, in the PLATFORM/bin
folder, so that you can try it without having to build it yourself. For more information, see kvhtmlexport.
NOTE: The compiled binary for kvhtmlexport
has an embedded trial license, which expires approximately five months after release.