Docx to HTML V2.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 V2.0 Command line program is executed.
Env-Variable | Description |
---|---|
DHC20_HOME * | Specifies the directory where Docx to HTML V2.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. |
DHC20_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 DhcEngine20.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/etc is set. |
DHC20_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 DhcAHFontService20.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. |
It is necessary to create the Symbolic Links of the library appropriately with the non-Windows versions of Docx to HTML V2.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 libDhcEngine.so $ ln -s libDhcEngine.so.2.0 libDhcEngine.so $ chmod 755 libDhcEngine.so $ rm -f libDhcEngine.so.2 $ ln -s libDhcEngine.so.2.0 libDhcEngine.so.2 $ chmod 755 libDhcEngine.so.2
Module | SymLink 1 | SymLink 2 |
---|---|---|
libDhcXfoCommon.so.2.0 | libDhcXfoCommon.so.2 | libDhcXfoCommon.so |
libDhcEngine.so.2.0 | libDhcEngine.so.2 | libDhcEngine.so |
libDhcCommon.so.2.0 | libDhcCommon.so.2 | libDhcCommon.so |
libDhcOoxCommon.so.2.0 | libDhcOoxCommon.so.2 | libDhcOoxCommon.so |
libDhcOoxShape.so.2.0 | libDhcOoxShape.so.2 | libDhcOoxShape.so |
libDhcVmlShape.so.2.0 | libDhcVmlShape.so.2 | libDhcVmlShape.so |
libDhcWordReader.so.2.0 | libDhcWordReader.so.2 | libDhcWordReader.so |
libDhcFont.so.2.0 | libDhcFont.so.2 | libDhcFont.so |
libDhcGraphic.so.2.0 | libDhcGraphic.so.2 | libDhcGraphic.so |
libDhcHyphen.so.2.0 | libDhcHyphen.so.2 | libDhcHyphen.so |
libDhcRender.so.2.0 | libDhcRender.so.2 | libDhcRender.so |
libDhcText.so.2.0 | libDhcText.so.2 | libDhcText.so |
libDhcJavaCtl20.so | ||
libDhcDotNetNCtl20.so | ||
libDhcInterface.so.2.0 | libDhcInterface.so.2 | libDhcInterface.so |
libDhcSvgCreator.so.2.0 | libDhcSvgCreator.so.2 | libDhcSvgCreator.so |
libDhcAHFontService.so.2.0 | libDhcAHFontService.so.2 | libDhcAHFontService.so |
libDhcAHGraphicService.so.2.0 | libDhcAHGraphicService.so.2 | libDhcAHGraphicService.so |
libDhcAHCommon.so.2.0 | libDhcAHCommon.so.2 | libDhcAHCommon.so |
libDhcAHPDFLib.so.2.0 | libDhcAHPDFLib.so.2 | libDhcAHPDFLib.so |
libDhcAHMathML.so.2.0 | libDhcAHMathML.so.2 | libDhcAHMathML.so |
libDhcGL.so.1.5.060100 | libDhcGL.so.1 | libDhcGL.so |
libDhcOSMesa.so.6.1.060100 | libDhcOSMesa.so.6 | libDhcOSMesa.so |
libDhcGLU.so.1.3.060100 | libDhcGLU.so.6 | libDhcGLU.so |
libicudata.so.67.1 | libicudata.so.67 | libicudata.so |
libicui18n.so.67.1 | libicui18n.so.67 | libicui18n.so |
libicuio.so.67.1 | libicuio.so.67 | libicuio.so |
libicule.so.67.1 | libicule.so.67 | libicule.so |
libiculx.so.67.1 | libiculx.so.67 | libiculx.so |
libicutu.so.67.1 | libicutu.so.67 | libicutu.so |
libicuuc.so.67.1 | libicuuc.so.67 | libicuuc.so |
libAHskia.so |