Preview parameters

In this section you can find the most common configuration parameters related to preview. Some of these commands are included in OpenKM by default, like pdf2swf or ffmpeg (binaries compiles for Linux and Windows) but others need to be installed by the system administrator.

Linux

Field / PropertyTypeDescription
system.imagemagick.convert String

Path to ImageMagick convert tool.

/usr/bin/convert

system.ocr String

Path to OCR text extractor engine.

/usr/bin/tesseract ${fileIn} ${fileOut}

system.swftools.pdf2swf String

Path to pd2swf conversion tool.

/home/openkm/tomcat-7.0.27/bin/pdf2swf -f -T 9 -t -s storeallcharacters ${fileIn} -o ${fileOut}

system.pdfimages String

 Path to pdfimages extractor tool.

/usr/bin/pdfimages -j -f ${firstPage} -l ${lastPage} ${fileIn} ${imageRoot}

system.openoffice.path

 String

Deprecated from OpenKM version 6.3.10

Path to OpenOffice or LibreOffice installation path.

/usr/lib/libreoffice

system.openoffice.program

String

Available from OpenKM version 6.3.10

Path to OpenOffice or LibreOffice executable.

/usr/bin/soffice

system.ghostscript

String

Path tot the ghosscript conversion tool.

/usr/bin/gs

Windows

Field / PropertyTypeDescription

system.imagemagick.convert

String

Path to image magick convert tool.

C:\openkm\bin\convert.exe

system.ocr

String

Path to ocr text extractor engine.

C:\openkm\tools\Tesseract-OCR\tesseractexe ${fileIn} ${fileOut} 

system.swftools.pdf2swf

String

Path to pd2swf conversion tool.

C:\openkm\bin\pdf2swf.exe -f -T 9 -t -s storeallcharacters ${fileIn} -o ${fileOut}

system.pdfimages

String

Path to pdfimages extractor tool.

C:\openkm\tools\pdfimages -j -f ${firstPage} -l ${lastPage} ${fileIn} ${imageRoot}

system.openoffice.path

String

Deprecated from OpenKM version 6.3.10

Path to Open Office or Libre Office installation path.

C:\Program Files (x86)\OpenOffice 4

system.openoffice.program

String

Available from OpenKM version 6.3.10.

Path to OpenOffice or LibreOffice executable.

C:\Program Files\LibreOffice\program\soffice.exe

system.ghostscript

String

Path tot the ghosscript conversion tool.

C:\openkm\bin\gswin32c.exe