Language Selection

English French German Italian Portuguese Spanish

Extending OpenOffice.org: Turning OpenOffice.org into a document conversion tool

Filed under
OOo
HowTos

One of the less well-known features of OpenOffice.org is its ability to run as a service. You can put that ability to some clever use. For example, you can turn OpenOffice.og into a conversion engine and use it to convert documents from one format to another via a Web-based interface or a command-line tool. JODConverter can help you to unleash OpenOffice.org's file conversion capabilities.

To be able to use OpenOffice.org as a conversion engine, you have to start it as a service. This means launching it without its GUI and making it listen for incoming connections on a particular port. To do this, launch OpenOffice.org using the following command on Linux:

soffice -headless -accept="socket,port=8100;urp;"

On Windows, use this command:

"C:\Program Files\OpenOffice.org 2.2\program\soffice" -accept="socket,port=8100;urp;"

Since JODConverter is Java-based, you have to make sure that the Java runtime environment version 1.4 or higher is installed on your machine. Download the latest version of the jodconverter-tomcat-x.x.x.zip package and extract it into your home directory. You can then launch the JODConverter using the start.sh script (start.bat on Windows) in the bin directory:

Full Story.

More in Tux Machines

News about the migration to ODF in Taiwan

The migration of ODF keeps going in many different fields in Taiwan. Since 2016 the Ministry of Education in Taiwan entrusts the Information Service Association of Chinese Colleges (ISAC) and Software Liberty Association Taiwan (SLAT) with the task of promoting and migrating ODF/LibreOffice in universities in Taiwan. Among all the university, National Chi-Nan University (NCNU) is the earliest one, which started migrating LibreOffice since 2014 and has been working on it for three years. Then on April 20, 2017, a student from NCNU posted an article on Dcard forum saying that, according to her teacher, NCNU “Will not use Microsoft Office anymore due to the budget issue. LibreOffice will be used to replace Microsoft Office.” The student strongly questioned, “LibreOffice is totally unknown to everyone. I don’t know what the administrative staffs of our school are thinking about. Microsoft’s software is a very basic skill for enterprises to recruit people. This decision will make students lost their core competitiveness.” Read more

Phoronix on Graphics

NVIDIA GeForce GTX 1080 Ti: Windows 10 Creators Update vs. Ubuntu Linux Gaming

Earlier this week I posted some fresh AMD Radeon Windows vs. Linux gaming benchmarks using the newly-released Windows 10 Creator Update and Ubuntu 17.04. For your viewing pleasure today are some fresh NVIDIA Windows vs. Linux benchmarks using a high-end GeForce GTX 1080 Ti graphics card. Read more

Bits from the Debian Release Team: release update

We're approaching the final sprint towards Debian 9 "stretch". If you're still planning a BSP for stretch, now is the time to get it organised! Read more