Page 1 of 1

Preview not working

PostPosted:Fri Oct 04, 2013 3:35 pm
by aleinss
Windows 7 Enterprise x64
OpenKM 6.2.3
Internet Explorer 9 (32-bit version)

OpenOffice 5 installed to C:\openoffice
ImageMagick installed to C:\ImageMagick
SWFtools installed to C:\SWFTools

I can click on a TXT file and click the icon in the taskbar to convert to PDF and that works fine. However, when I click on a DOC or PDF file, it says "Starting conversion", goes to 100%, but nothing happens.

Config check shows:

•system.swftools.pdf2swf
OK - c:\swftools\pdf2swf.exe

•system.imagemagick.convert
OK - C:\ImageMagick\convert.exe

•system.ocr
Not configured

•system.openoffice.path
OK - c:\openoffice\program\soffice.bin

Per the instructions (lots of dfferent articles for different versions), I have this for the command line:

c:\swftools\pdf2swf.exe -T 9 -f ${fileIn} -o ${fileOut}

Attached is the catalina.log file. I cannot immediately see the problem from here. From the documentation, it seems that you use to have to run OpenOffice as a service, but this is no longer the case.

Any ideas?

Re: Preview not working

PostPosted:Fri Oct 04, 2013 4:59 pm
by aleinss
Interesting...ok, it works for DOCX, but not PDF or DOC files...

Re: Preview not working

PostPosted:Sat Oct 05, 2013 9:13 am
by jllort
Better c:\swftools\pdf2swf.exe -f -T 9 -t -s storeallcharacters ${fileIn} -o ${fileOut}

1- With pdf should work
2- Try convert from UI doc file to pdf ( you have this option in toolbar )