Converting documents with OpenOffice
It would be useful to convert documents of different office formats. For example, in Display Settings of the Asset Publisher portlet, we have the ability to convert current documents to different document formats, for example, DOC, ODT, PDF, RTF, SXW, and TXT. Likewise, we are able to convert Wiki articles to different document formats—for example, DOC, ODT, PDF, RTF, SXW, and TXT. When clicking on the link, for example, PDF, the portal will convert the current Wiki article to that format, that is, PDF. How to achieve this? Let's integrate OpenOffice into our portal.
Integrating OpenOffice
OpenOffice.org is a multiplatform and multilingual office suite and an open source project. First of all, you need to download the latest version of OpenOffice. It is available at http://www.openoffice.org for every OS. The installation instructions can also be found here. When you install it, make a note of the location because you will need it when setting your OPENOFFICE_HOME...