User Tools

Site Tools


en:plugin:openofficeplugin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
en:plugin:openofficeplugin [2014/04/13 23:52] – external edit 127.0.0.1en:plugin:openofficeplugin [2020/06/16 02:16] – [Installing OpenOffice Extension] kjdon
Line 1: Line 1:
 ===== OpenOfficePlugin ===== ===== OpenOfficePlugin =====
-//Top level [[plugins|plugin]] that uses Open Office to convert various types of documents.//+//Top level [[index|plugin]] that uses Open Office to convert various types of documents.//
  
   * Processes files with extensions: ''.doc'', ''.dot'', ''.docx'', ''.odt'', ''.wpd'', ''.ppt'', ''.pptx'', ''.odp'', ''.rtf'', ''.xls'', ''.xlsx'', ''.ods'' \\ Perl regular expression: //''<nowiki>(?i).(doc|dot|docx|odt|wpd|ppt|pptx|odp|rtf|xls|xlsx|ods)$</nowiki>''//   * Processes files with extensions: ''.doc'', ''.dot'', ''.docx'', ''.odt'', ''.wpd'', ''.ppt'', ''.pptx'', ''.odp'', ''.rtf'', ''.xls'', ''.xlsx'', ''.ods'' \\ Perl regular expression: //''<nowiki>(?i).(doc|dot|docx|odt|wpd|ppt|pptx|odp|rtf|xls|xlsx|ods)$</nowiki>''//
  
-==== Installing OpenOffice Extension ==== 
 The OpenOfficePlugin is an extension that is available for Greenstone. It is useful for processing both Open Office and Microsoft Office documents, as well as other text formats. The OpenOfficePlugin is an extension that is available for Greenstone. It is useful for processing both Open Office and Microsoft Office documents, as well as other text formats.
 +
 +With OpenOffice and the extension installed and the Greenstone environment set up for this, 
 +the OpenOfficePlugin will be available.
 +
 +Furthermore, an OpenOfficeConverter helper plugin provides a new option for Greenstone's Word, PowerPoint and Excel Plugins, 
 +''-openoffice_conversion'', allowing conversion with Open Office instead of the existing 
 +converter. Switching on this new option means that more recent Office formats like 
 +''docx'' can be included in Greenstone collections and processed by Greenstone.
 +
 +
 +==== Installing OpenOffice ====
 +
  
 To use OpenOfficePlugin or [[OpenOfficeConverter]], you must first install  To use OpenOfficePlugin or [[OpenOfficeConverter]], you must first install 
 [[http://www.openoffice.org/| Open Office]]. Once Open Office is installed, you may have to set the environment variables so Greenstone can find OpenOffice: [[http://www.openoffice.org/| Open Office]]. Once Open Office is installed, you may have to set the environment variables so Greenstone can find OpenOffice:
 +===Linux ===
 +  * If SOFFICE_HOME is not set, set it to the full path to your OpenOffice folder.
 +=== Windows ===
   * In the Start Menu, type "environment" in the search box and select ''Edit environment variables for your account''   * In the Start Menu, type "environment" in the search box and select ''Edit environment variables for your account''
   * In the Environment Variables window, press ''New...'' under the User variables section. For Variable name, enter ''SOFFICE_HOME''. For Variable value, enter the full path to your OpenOffice folder (for example ''C:\Program Files (x86)\OpenOffice 4'') and click ''OK''.   * In the Environment Variables window, press ''New...'' under the User variables section. For Variable name, enter ''SOFFICE_HOME''. For Variable value, enter the full path to your OpenOffice folder (for example ''C:\Program Files (x86)\OpenOffice 4'') and click ''OK''.
Line 15: Line 29:
   * Click ''OK'' in the Environment Variables window to save your changes.    * Click ''OK'' in the Environment Variables window to save your changes. 
  
 +
 +==== Installing OpenOffice Extension ====
 <TABAREA tabs="Greenstone3,Greenstone2"> <TABAREA tabs="Greenstone3,Greenstone2">
 <TAB> <TAB>
 Once you have Open Office set up, download the Greenstone extension for it  Once you have Open Office set up, download the Greenstone extension for it 
-[[http://trac.greenstone.org/browser/main/tags/2.85/gs2-extensions/open-office/trunk|from here]], +[[http://trac.greenstone.org/browser/gs2-extensions/open-office/trunk|from here]], 
 which is available in tar.gz and zip formats, and unzip into Greenstone's ''gs2build/ext'' folder.  which is available in tar.gz and zip formats, and unzip into Greenstone's ''gs2build/ext'' folder. 
 </TAB> </TAB>
 <TAB> <TAB>
-Once you have Open Office set up, download the Greenstone extension for it [[http://trac.greenstone.org/browser/main/tags/2.85/gs2-extensions/open-office/trunk|from here]], +Once you have Open Office set up, download the Greenstone extension for it [[http://trac.greenstone.org/browser/gs2-extensions/open-office/trunk|from here]], 
 which is available in tar.gz and zip formats, and unzip into Greenstone's ''ext'' folder.  which is available in tar.gz and zip formats, and unzip into Greenstone's ''ext'' folder. 
 </TAB> </TAB>
 </TABAREA> </TABAREA>
- 
-(If you have any issues try the latest  
-version [[http://trac.greenstone.org/browser/gs2-extensions/open-office/trunk|located here]].  
-Note that if you get the latest version of the open office extension, you cannot already  
-have an instance of OpenOffice running when using GLI, you will need to terminate any 
- previously running instance. It is also unlikely that you can get a separate instance of  
-OpenOffice running after quitting GLI. If you wish to do so, you will need to use Task  
-Manager to terminate the open office process launched by the extension upon running GLI.) 
  
 If you have Greenstone open during this, be sure to completely exit both the GLI and the If you have Greenstone open during this, be sure to completely exit both the GLI and the
Line 39: Line 47:
 environment. environment.
  
-With OpenOffice and the extension installed and the Greenstone environment set up for this +If you are running Greenstone or GLI from a terminalyou need to start fresh terminal, and run 'source gs3-setup.sh(linux) or 'gs3-setup' (windows) to include the extension setup in the environment 
-The OpenOfficePlugin will be available and the OpenOfficeConverter provides new option for Greenstone's WordPowerPoint and Excel Plugins,  + 
-''-openoffice_conversion'', allowing conversion with Open Office instead of the existing  +Note that you cannot already  
-converterSwitching on this new option means that more recent Office formats like  +have an instance of OpenOffice running when using GLI: you will need to terminate any 
-''docx'' can be included in Greenstone collections and processed by Greenstone.+ previously running instance. It is also unlikely that you can get a separate instance of  
 +OpenOffice running after quitting GLI. If you wish to do so, you will need to use Task  
 +Manager to terminate the open office process launched by the extension upon running GLI. 
  
  
en/plugin/openofficeplugin.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1