Environment Variables

Docx to HTML Converter of OSDC V10.0 refers to the following environment variables before running. In the Windows version, the installation program sets the default value of the variables that are marked with an asterisk “*”. In the Linux versions the environment variables have to be set by the user. When running command-line program from shell script (run.sh) on Linux versions, after the necessary environment variables are set, the Docx to HTML Converter of OSDC V10.0 Command line program is executed.

Env-Variable Description
SBH100_HOME  * Specifies the directory where Docx to HTML Converter of OSDC V10.0 is installed (“\” or “/” that indicate the directory delimiter are not included at the end of directory strings). The description [Install directory] in this manual indicates the value of this environment variable.
SBH100_LIC_PATH  * Specifies the directory where the license key files are located (“\” or “/” that indicate the directory delimiter are not included at the end of directory strings). In the Windows version, the default value is located in the same place as the SbhEngine100.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/​etc is set.
SBH100_FONT_CONFIGFILE  * Specifies the Font Configuration File. In the Windows version, the default value is font-config.xml located in the same directory as the SbhAHFontService100.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/​etc is set.
PATH * In the Windows version, [Install directory] is added to the PATH environment. In the non-Windows versions, there is no change.
LD_LIBRARY_PATH The setting is required only for the Linux version. When using the Command-line and Java Interface, the directory where *.so is located should be included. In the case of run.sh, [Install directory]/​lib is set.
CLASSPATH When using the Java Interface, the necessary *.jar should be included. In the case of run.sh, [Install directory]/​lib is added.

Symbolic Links

It is necessary to create the Symbolic Links of the library appropriately with the non-Windows versions of Docx to HTML Converter of OSDC V10.0. These are automatically generated by the installation program. However if you need to generate them, see the following:

$ cd [Install directory]/lib
$ rm -f libSbhEngine.so
$ ln -s libSbhEngine.so.10.0 libSbhEngine.so
$ chmod 755 libSbhEngine.so
$ rm -f libSbhEngine.so.10
$ ln -s libSbhEngine.so.10.0 libSbhEngine.so.10
$ chmod 755 libSbhEngine.so.10

Linux

ModuleSymLink 1SymLink 2
libSbhXfoCommon.so.10.0libSbhXfoCommon.so.10libSbhXfoCommon.so
libSbhEngine.so.10.0libSbhEngine.so.10libSbhEngine.so
libSbhCommon.so.10.0libSbhCommon.so.10libSbhCommon.so
libSbhOoxShape.so.10.0libSbhOoxShape.so.10libSbhOoxShape.so
libSbhVmlShape.so.10.0libSbhVmlShape.so.10libSbhVmlShape.so
libSbhWordReader.so.10.0libSbhWordReader.so.10libSbhWordReader.so
libSbhFont.so.10.0libSbhFont.so.10libSbhFont.so
libSbhGraphic.so.10.0libSbhGraphic.so.10libSbhGraphic.so
libSbhHyphen.so.10.0libSbhHyphen.so.10libSbhHyphen.so
libSbhRender.so.10.0libSbhRender.so.10libSbhRender.so
libSbhText.so.10.0libSbhText.so.10libSbhText.so
libSbhJavaCtl100.so
libSbhInterface.so.10.0libSbhInterface.so.10libSbhInterface.so
libSbhSvgCreator.so.10.0libSbhSvgCreator.so.10libSbhSvgCreator.so
libSbhAHFontService.so.10.0libSbhAHFontService.so.10libSbhAHFontService.so
libSbhAHGraphicService.so.10.0libSbhAHGraphicService.so.10libSbhAHGraphicService.so
libSbhAHCommon.so.10.0libSbhAHCommon.so.10libSbhAHCommon.so
libSbhAHPDFLib.so.10.0libSbhAHPDFLib.so.10libSbhAHPDFLib.so
libSbhAHMathML.so.10.0libSbhAHMathML.so.10libSbhAHMathML.so
libSbhGL.so.1.5.060100libSbhGL.so.1libSbhGL.so
libSbhOSMesa.so.6.1.060100libSbhOSMesa.so.6libSbhOSMesa.so
libSbhGLU.so.1.3.060100libSbhGLU.so.6libSbhGLU.so
libicudata.so.67.1libicudata.so.67libicudata.so
libicui18n.so.67.1libicui18n.so.67libicui18n.so
libicuio.so.67.1libicuio.so.67libicuio.so
libicule.so.67.1libicule.so.67libicule.so
libiculx.so.67.1libiculx.so.67libiculx.so
libicutu.so.67.1libicutu.so.67libicutu.so
libicuuc.so.67.1libicuuc.so.67libicuuc.so