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

Release: SymphonyOS 15.0

I am pleased to announce the release of SymphonyOS 15.0. This release continues improvements to the Mezzo 4 desktop bringing it to a much more stable state. Read more

GOL Survey Results: January

Thanks to GOL reader Fedso, we now have month-by-month comparisons for the survey as well as an automated program which takes the raw survey data and makes graphs. This is pretty exciting stuff since now one of the main goals of the survey project has been achieved and we can observe trends over time. You can find the new survey for this month here. Read more

2014 was a record-breaking year for Android smartphones

Apple may be selling more iPhones than ever before, but 2014 was a record-breaking year for Android too: New analyst figures show that one billion smartphones running Google’s mobile OS were shipped over the 12 month period. That’s a rise of 30 percent over the previous year and means that 81 percent of the mobile phones shifted in 2014 were running Android. If you’re wondering why both iOS and Android can be doing so well simultaneously, it’s worth remembering that profits and market share are not the same metric — more devices run Android but Apple is raking in more of the cash. A number of different manufacturers produce Android phones of course, none of whom are doing particularly well at making money from it. Read more

CoreOS 'Rockets' Ahead With Docker Alternative

Linux operating system distribution vendor CoreOs aims to expand its own vision for container-based virtualization. CoreOS is moving forward on its plans to displace the Docker application virtualization technology and expand its own vision for container-based virtualization. CoreOS got its start in 2013 as a clustered operating system project focused on the optimized delivery of Docker containers but has found fault in the Docker model that it aims to correct with its own Rocket approach. Read more Also: CoreOS Linux: it's how Google, Facebook & Twitter run at scale