Page 1 of 1

preview tab problem on windows

PostPosted:Wed Apr 28, 2010 10:26 am
by soplicy
Hi,

I have problem with preview tab. OpenKM is running on windows xp. OOO is installed, pdf2swf installed.
Maybe I shoud change something on cfg file? I can't find openoffice in listed services running on winXP - maybe this is the problem.

Have you got any ideas to solve this problem?

best regards, Rafal

Re: preview tab problem on windows

PostPosted:Wed Apr 28, 2010 1:30 pm
by abernut
I had to change a line in my OpenKM.cfg.

system.openoffice=on
system.pdf2swf=/usr/local/bin/pdf2swf

I am running it on Ubuntu so it will be different for you.

Re: preview tab problem on windows

PostPosted:Wed Apr 28, 2010 5:13 pm
by soplicy
probably the problem is with the path in the second entry i've tried with
C:\Program Files\SWFTools
or C:\Program Files\SWFTools\pdf2swf.exe

but with no results.

best regards, Rafal

Re: preview tab problem on windows

PostPosted:Wed Apr 28, 2010 8:17 pm
by pavila

Re: preview tab problem on windows

PostPosted:Thu Apr 29, 2010 12:08 pm
by soplicy
Hi,

Problem solved.
Path should be:
system.pdf2swf=pdf2swf.exe

best regards, rafal

Re: preview tab problem on windows

PostPosted:Thu Apr 29, 2010 5:47 pm
by jllort
You've put on your path environment or in jboss_home ?

Normally it'll be c:\some windows route,
Other easy way is to put the folder that contains .exe file in path environment variable.

Re: preview tab problem on windows

PostPosted:Thu Aug 05, 2010 2:58 am
by shylva
soplicy wrote:Hi,

Problem solved.
Path should be:
system.pdf2swf=pdf2swf.exe

best regards, rafal
Where is the installed path of your swftools and OpenKM home?

I've got the same problem as you were, but it didn't work with command system.pdf2swf=pdf2swf.exe in OpenKM.cfg

Re: preview tab problem on windows

PostPosted:Thu Aug 05, 2010 10:23 am
by jllort
in windows environment variables there's one called path ( system variables ) ... simply there add your swftools path, then any program it'll be searched there. Probably you'll must restart jboss ( or cmd because variables are not refreshing before cmd has been estarted ).