Page 1 of 1

Open Office Word Document Previewer Configuration

PostPosted:Thu Aug 22, 2013 9:41 pm
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!

Re: Open Office Word Document Previewer Configuration

PostPosted:Sat Aug 24, 2013 3:57 pm
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