Installing
OpenOffice in your Operating System:
If
your OS is XP /
Windows7 follow these steps:
1.
Install OpenOffice.org
v2.0.3 or any other version.
2.
Navigate to C: \ Program Files \ OpenOffice.org \ Programs folder in
the command prompt .
3.
run the following command:
soffice-headless-accept
= “socket, host = 127.0.0.1, port = 8100, URP,”-nofirststartwizard.
4.
Then Restart
If
your Linux Operating System follow these steps:
1.
Install Package v2.0.3 OpenOffice or any other version.
2.
Run the following command from the Command Prompt: cd / usr / lib /
LibreOffice / program .
3.
sudo . / soffice – headless – accept = “socket, host = 127.0.0.1, port
= 8100; URP;” – nofirststartwizard.
4.
Then Restart
Enable
OpenOffice in Liferay:
1.
Log in as Administrator
Portal.
2.
Navigate to ControlPanel -> Administration Server.
3.
On the menu tabs select External Service.
4.
To activate the check box on OpenOffice
enable openoffice.
5.
If you want to change the port you can change it.
6.
Then Save Settings.
Implement
the functionality in Open Office web content portlet:
1.
Now you add a portlet in the portal Web Content Display in one page.
2.
Then navigate to your portlet configuration page.
3.
Select Add Web
Content and write the Title and content of information
that will be created,
4.
Click Publish.
5.
It will appear articel that have been made earlier.
6.
On the Web Content Display portlet
Navigate
to Settings / Options -> select Configuration
Below
Enable Conversion To we check box PDF, DOC, TXT, ODT, RTF.
7.
Then save.
8.
It will appear the option Convert PDF, DOC, TXT, ODT, RTF.
20Nov