• Open Office Word Document Previewer Configuration

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #24797  by ADSJake
 
I have tried many different configurations to attempt to get the previewer to word for MS office documents but continue to get the following message:
"The system has generated an error Conversion: Error in application/msword to pdf conversion."

I am running OpenKm V 6.2.2 (Tomcat) on Windows 7 (SP1 x64) with Open Office 3.4.1 (program started & initialized under current user) running as a windows service in headless mode. The PDF and imagmagik viewer both work fine.

Excerpts from my config below:
Code: Select all
system.ghostscript.ps2pdf	= C:\Program Files\gs\gs9.07\lib\ps2pdf
system.imagemagick.convert =  C:\OKMTools\ImageMagick-6.8.6-Q16\convert.exe
system.ocr = C:\OKMTools\Tesseract-OCR\tesseract.exe
system.openoffice.dictionary =  C:\Program Files (x86)\OpenOffice.org 3\share\extensions\install\dict-en.oxt
system.openoffice.path =  C:\Program Files (x86)\OpenOffice.org 3
system.openoffice.port = 2222
system.openoffice.tasks = 5
system.previewer = zviewer
system.swftools.pdf2swf = C:\OKMTools\SWFTools\pdf2swf.exe -T 9 -f ${fileIn} -o ${fileOut}
OpenKM.config : system.openoffice=on

Open office windows service info:
"C:\Program Files (x86)\OpenOffice.org 3\program\soffice.exe" -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

Any help would be greatly appreciated since I have been searching the documentation and forums for a working solution.
I'm not sure if there is some sort of version compatibility here or not.
Thanks in advance!
 #24808  by jllort
 
Take in mind newer depending your openoffice version can openkm latest ms word versions. To test if openoffice service is running correctly simply add file text, and then in toolbar try to convert to pdf. If you can donwload txt file as pdf then there's no problem is soffice service otherside you got problem there.

You can take a look http://wiki.openkm.com/index.php/Previsualization also

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.