Macro - python
Links
Getting Started
- On linux, the sample files can be found in: - /usr/lib/openoffice/basis3.1/share/Scripts/python/ 
- OpenOffice will have created a - ~/.openoffice.orgfolder for you. This folder will contains a- Scriptsfolder. We need to create a- pythonfolder inside it for our scripts:- cd ~/.openoffice.org/3/user/Scripts/ mkdir python 
- To get started, make a copy of one of the sample scripts e.g: - cd ~/.openoffice.org/3/user/Scripts/python/ cp /usr/lib/openoffice/basis3.1/share/Scripts/python/HelloWorld.py . 
- To check the script is working, re-start OpenOffice and select Tools, Macros, Organise Macros, Python, My Macros. - Inside the My Macros section you should see the - HelloWorldscript containing the- HelloWorldPythonclass.- Select - HelloWorldPythonand click Run.