Purpose of the Open Office integration is to convert one type of data format to another type
of data format.
For example I have uploaded one word document into documentLibrary portlet. But I want to
download the document as pdf. Here in this scenerio openoffice integration comes into the
picture.
To integrate with Liferay Portal Server please follow the below steps :
Step 1 : Install openoffice software into your machine. We can install the software on any OS like windows, MAC, linux.
Step 2 : Go to the folder where it was installed (for example, C:\Program Files\OpenOffice.org\program) and start OpenOffice service with the following command:
open cmd and run the below command under above specified path
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
The above command will be executed irrespective of Operating Systems.
Step 3 : Goto Control panel --> Server Category --> Server Administration --> Open Office
Step 4 : Select check box of Enableed and make sure that port number should be 8100
or
Step 5 : We can enable the property from portal-ext.properties by providing the property as
openoffice.server.enabled=true
openoffice.server.host=//YourServerURL//
Step 6 : Now you can upload the document into document library and try to download the document in another format.
I hope it will be helpful to you
Enjoy :)
of data format.
For example I have uploaded one word document into documentLibrary portlet. But I want to
download the document as pdf. Here in this scenerio openoffice integration comes into the
picture.
To integrate with Liferay Portal Server please follow the below steps :
Step 1 : Install openoffice software into your machine. We can install the software on any OS like windows, MAC, linux.
Step 2 : Go to the folder where it was installed (for example, C:\Program Files\OpenOffice.org\program) and start OpenOffice service with the following command:
open cmd and run the below command under above specified path
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
The above command will be executed irrespective of Operating Systems.
Step 3 : Goto Control panel --> Server Category --> Server Administration --> Open Office
Step 4 : Select check box of Enableed and make sure that port number should be 8100
or
Step 5 : We can enable the property from portal-ext.properties by providing the property as
openoffice.server.enabled=true
openoffice.server.host=//YourServerURL//
Step 6 : Now you can upload the document into document library and try to download the document in another format.
I hope it will be helpful to you
Enjoy :)
Hi in web content display, there is a option to enable conversion to doc or pdf anything. How it is possible to make it in my custom development pulgin portlet
ReplyDeletehi , is this possible to convert .doc to .lar(liferay archive).
ReplyDeleteplease suggest