Fórum

RE: OpenOffice und Liferay 5.2.3

thumbnail
Jonas Yuan, modificado 14 Anos atrás.

RE: OpenOffice und Liferay 5.2.3

Liferay Master Postagens: 993 Data de Entrada: 27/04/07 Postagens Recentes
Hi Sa Ru,

Sie können sich auf (Abstrahiert vom Liferay Portal 5.3 Enterprise Intranets) beziehen

Converting Documents with OpenOffice
It would be useful to converts documents between different office formats. For example, in Display Settings of Asset Publisher portlet, we have an ability to convert current documents to different documents formats, e.g. DOC, ODT, PDF, RTF, SXW, and TXT. Likewise we are able to convert Wiki articles to different documents formats, e.g. DOC, ODT, PDF, RTF, SXW, and TXT. When clicking on the link, e.g., PDF, the portal will convert current Wiki article to that format, e.g., PDF. How to achieve this? Let’s integrate OpenOffice.

How to integrate 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 as you will need it when setting your OPENOFFICE_HOME variable.
To start OpenOffice as a service, go to $OPENOFFICE_HOME/program and run the following command.
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"
As shown in above code, we start OpenOffice as a service with the host 127.0.0.1 and the port 8100.

Configuration
Then we need to enabling OpenOffice integration provides document conversion functionality. How to get it? We could implement this via Server Administration as shown in following figure.
• Login as an admin, e.g., “Palm Tree”; and go to Manage->Control Panel under the dock bar menu;
• Go to Server Administration->OpenOffice at the category Server of Control Panel;
• Check the checkbox Enabled.
• Finally, click on the Save button when you are ready.
Note that if OpenOffice was installed in a remote machine, we have to change the host and port accordingly. But how?
What’s happening?
...

You can also refer to Wiki article:
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Document+Conversion+with+OpenOffice

Hoffen Sie, dass es hilft.

Dank

Jonas Yuan
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Sa Ru, modificado 14 Anos atrás.

RE: OpenOffice und Liferay 5.2.3

New Member Postagens: 11 Data de Entrada: 10/09/09 Postagens Recentes
Hallo,

erstmal danke für eine Antwort ;-)

Das mit der OpenOffice habe ich schon realisiert. Meine eigentliche Frage ist, ob es mit Liferay möglich, Dokumente ohne Zwischenspeichern direkt ins Portal zu laden. Also in der Dokumentenablage in Open Office öffnen, bearbeiten und direkt wieder einspielen.

Danke