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

KWayland Server Component Coming For KDE Plasma 5.2

KWayland was introduced last month with the KDE Plasma 5.1 release but it lacked the server-side code. With the upcoming release of Plasma 5.2, that will change with the server component to KWayland having been merged. Readreactor'smore

Where is M13? Review – A Simple and Powerful Galactic Atlas

Where is M13? is a planetarium application that allows users to view details about distant objects in the sky, covering a very large number of items ranging from stars to other galaxies. There are not many apps that can do this, so most of the shortcomings could be forgotten. Read more

Raspberry Pi and Coder by Google for beginners and kids

Coder is a fantastic resource for learning programming. It simplifies the process of getting started, requires very inexpensive components, and provides fun and engaging activities. If you are planning on gettting a Raspberry Pi for the holidays, (or already have one), Coder is a great addition to get extra fun and learning from that little board. Read more

‘Where is the nearest?’: Spain shares code for web map-tool

The government of Spain is making available as open source the code for Ciudadania Europea, a web site that pointed citizens to the nearest embassies and consular services in European countries. That service was closed this summer, but the code is now freely available for other similar projects. Read more