Ir al contenido
Otras versiones

Cargando…

LibreOffice configuration

Esta página aún no está disponible en tu idioma.

Install application:

$ apt-get install libreoffice

Install languages:

$ apt-get install libreoffice-l10n-en-gb

Go to Administration > Configuration parameters:

Field / Property Type Description
system.openoffice.path String The path may change depending your OS version. To verify that your path is correct, take a look into your chosen path and it should be a folder named program, otherwise the path is not correct.
/usr/bin/libreoffice

Install the application:

$ yum install libreoffice

Install languages:

$ yum install libreoffice-langpack-en

Check if you’ve installed all needed packages:

$ rpm -qa | grep openoffice

These packages are mandatory:

  • openoffice.org-ure-3.1.1-19.5.el5_5.6 ( ure )
  • openoffice.org-headless-3.1.1-19.5.el5_5.6 ( headless )
  • openoffice.org-pyuno-3.1.1-19.5.el5_5.6 ( pyuno )

Go to Administration > Configuration parameters:

Field / Property Type Description
system.openoffice.path String The path can change depending your OS version. To verify your path is correct, into your chosen path should be a folder named program, otherwise the path is not correct.
/usr/bin/libreoffice

 Download and install one of them:

Go to Administration > Configuration parameters:

Field / Property Type Description
system.openoffice.path String The path can change depending your OS version. To verify your path is correct, into your chosen path should be a folder named program, otherwise the path is not correct.
c:\Program files\OpenOffice 4
  • Go to Administration > Configuration parameters and click on check icon . If all is right you should see under system.openoffice.path parameter an OK status.
  • After application starts you should see a process called soffice.bin.
  • Upload a MS Office or OpenOffice file. Select the document and from toolbar choose the option Download as PDF .
  • Take a look at $TOMCAT_HOME/logs/catalina.log file. At the end of the startup process you should see something like this:
2015-03-17 17:10:45,792 [pool-2-thread-1] INFO com.openkm.servlet.RepositoryStartupServlet - *** Start OpenOffice manager ***
2015-03-17 17:10:45,813 [pool-2-thread-1] INFO com.openkm.util.DocConverter - *** Build Office Manager ***
2015-03-17 17:10:45,813 [pool-2-thread-1] INFO com.openkm.util.DocConverter - system.openoffice.path=/usr/lib/libreoffice
2015-03-17 17:10:45,813 [pool-2-thread-1] INFO com.openkm.util.DocConverter - system.openoffice.tasks=200
2015-03-17 17:10:45,813 [pool-2-thread-1] INFO com.openkm.util.DocConverter - system.openoffice.port=2002
2015-03-17 17:10:45,866 [pool-2-thread-1] INFO org.artofsolving.jodconverter.office.ProcessPoolOfficeManager - ProcessManager implementation is SigarProcessManager
2015-03-17 17:10:45,915 [OfficeProcessThread-0] WARN org.artofsolving.jodconverter.office.OfficeProcess - profile dir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002' already exists; deleting
2015-03-17 17:10:45,934 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess - starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
2015-03-17 17:10:45,956 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess - started process; pid = 22097
2015-03-17 17:10:48,818 [OfficeProcessThread-0] WARN org.artofsolving.jodconverter.office.ManagedOfficeProcess - office process died with exit code 81; restarting it
2015-03-17 17:10:48,825 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess - starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
2015-03-17 17:10:48,832 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess - started process; pid = 22137