# OpenOffice.org (Apache OpenOffice) Examples

Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can use the free and open-source editor `"[g]vim"`, which is available for practically all platforms and can be downloaded from its homepage at http://www.vim.org/.

. <directory> (List of this directory)
  Display all of this directory's files and directories.
.. <directory> (List of parent directory)
  Display all of the parent directory's files and directories.
ahammer <directory> (List of this directory)
  Updated examples from Andreas Ahammer's Bachelor Thesis.
burger <directory> (List of this directory)
  Updated examples from Martin Burger's Bachelor Thesis.
demoFileUriConvert.rxo
  Demonstrate using the OOo interface `com.sun.star.ucb.XFileIdentifierConverter` to convert between operating system dependent paths and the URI (Uniform Resource Locator) format needed for OOo.
  Goes back to a great Java example in an e-mail by Ariel Constenla-Haile.
demoPathSubstitution.rxo
  Demonstrate using the OOo service `com.sun.star.util.PathSubstitution`.
getUserDirectory.rxo
  Demonstrate using the OOo service `com.sun.star.util.PathSettings`.
  Goes back to a great OOo Basic example in an e-mail by Carsten Driesner.
getVersion.rxo
  Demonstrate using the OOo services `com.sun.star.configuration.ConfigurationProvider` and `com.sun.star.configuration.ConfigurationAccess`.
  Goes back to a great OOo Basic example in an e-mail by Laurent Godard.
listAllMacros.rxo
  Demonstrate using the OOo singleton `/singletons/com.sun.star.script.browse.theBrowseNodeFactory` and the OOo service `com.sun.star.script.browse.BrowseNodeFactoryViewTypes`.
  Goes back to a great OOo Basic example in an e-mail by Paolo Mantovani.
listPathSettings.rxo
  Demonstrate using the OOo service `com.sun.star.util.PathSettings`.
readme.txt
  Information about the work of Mr. Ahammer and Mr. Burger.
scalc_chart.rxo
  Using `UNO.CLS` create a new `scalc` worksheet, create random data and a chart based on it. Demonstrates how to incorporate `UNO_CONSTANTS` and `UNO_ENUM` values into a `Rexx` directory-like collection for easier use. Hint: This is the portable version of the same OLE (Windows-only) program in ooRexx 5.0 for Windows: `samples\ole\apps\AOO_scalc_chart.rex`.
simpress_present.rxo
  Using `UNO.CLS` create a new `simpress` presentation about `REXX` and `ooRexx` and then display it as a presentation. Demonstrates how to use enumeration to enumerate paragraphs of a text and query their `'NumberingLevel'` property. Hint: This is the portable version of the same OLE (Windows-only) program in ooRexx 5.0 for Windows: `samples\ole\apps\AOO_simpress_present.rex`.
swriter_paragraphs.rxo
  Using `UNO.CLS` create a new `swriter` document, add paragraphs that get aligned in four different ways. Demonstrates how to incorporate `UNO_CONSTANTS` and `UNO_ENUM` values into a `Rexx` directory-like collection for easier use. Hint: This is the portable version of the same OLE (Windows-only) program in ooRexx 5.0 for Windows: `samples\ole\apps\AOO_swriter_paragraphs.rex`.
swriter_table.rxo
  Using `UNO.CLS` create a new `swriter` document, a `TextTable`, a `TextFrame`, paragraphs and apply various formattings. Hint: This is the portable version of the same OLE (Windows-only) program in ooRexx 5.0 for Windows: `samples\ole\apps\AOO_swriter_table.rex`.

Rony G. Flatscher, 2022-06-28, Wien/Vienna, Austria, Europe