# Martin Burger's OpenOffice.org 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.
Example_01_XText.rxo
  Create an empty word processor document and insert some text.
Example_02_XTextTable.rxo
  Create an empty word processor document, insert a TextTable, fill in random numbers, create mean-formulas, format some table rows.
Example_03_XPageCursor_XScreenCursor_XSentenceCursor_XTextCursor.rxo
  Loads an existing word processor document, inserts text using different cursors, demonstrates changing the background color for characters to insert.
Example_04_XPageCursor.rxo
  Loads an existing word processor document, queries its number of pages and inserts a text showing the calculated page numbers.
Example_05_GraphicObjectShape_RectangleShape.rxo
  Create an empty word processor document, create and insert a RectangleShape with text and a GraphicObjectShape.
Example_06_TextField.DateTime_SimpleSystemMail.rxo
  Create and save a word processor document with TextField.DateTime objects, use SimpleSystemMail service to send document as an attachment via the system's (PC's) mail system.
Example_07_TextTable_java.net.URL.rxo
  Create a word processor, insert a TextTable denoting URLs, the title of those URLs, using the TextTable to indicate load status as well.
Example_08_XSearchable_SearchDescriptor.rxo
  Loads an existing word processor file, creates a SearchDescriptor and emphasizes all found strings with a value of 'OpenOffice.org'.
Example_09_XSpreadSheet.rxo
  Creates a new spreadsheet document, fills in two values using '0,0'- and 'A1'-addressing.
Example_10_XSpreadSheet.rxo
  Creates a new spreadsheet document, fills in some numbers and a sum formula using '0,0'- and 'A1'-addressing.
Example_11_XSpreadSheet_XCellRangeMovement.rxo
  Creates a new spreadsheet document, fills in some numbers in 'Sheet1' and copies a range from 'Sheet1' to 'Sheet2'.
Example_12_XSpreadSheet_XMergeable.rxo
  Creates a new spreadsheet document, fills in some numbers, then merges and unmerges a range of cells.
Example_13_XSpreadSheet_XCellRangesQuery.rxo
  Creates a new spreadsheet document, fills in some numbers, then compares columns and rows to a given value, colorizing the reported cells that differ.
Example_14_XSpreadSheet_XChartDocument.rxo
  Creates a new spreadsheet document, fills in some numbers, then creates a chart document, changing the diagram type a few types.
Example_15_XSpreadSheet_XReplaceable.rxo
  Creates a new spreadsheet document, fills in some numbers, then replaces all occurrences of the value '0' with the value 'zero'.
Example_16_XSpreadSheet_XShape.rxo
  Creates a new spreadsheet document, creates a 'RectangleShape', inserts it into the draw page, finally setting the shape to some text.
Example_17_XSpreadSheet_XNumberFormatsSupplier.rxo
  Creates a new spreadsheet document, turns a number into a date, then lists all number formats that are defined for the spreadsheet document.
Example_18_XDrawPagesSupplier_XShape.rxo
  Creates a new draw document, creates three graphic objects (shapes) and manipulates them.
Example_19_XDrawPagesSupplier_ConnectorShape_XShape.rxo
  Creates a new draw document, creates three graphic objects (shapes) and connects them.
Example_20_XDrawPagesSupplier_XLayerManager.rxo
  Creates a new draw document, creates two shape objects and two layer objects, attaching each shape object to one of the layer objects.
Example_21_Impress_XMasterPagesSupplier_XDrawPagesSupplier_XShape.rxo
  Example_21.rxo
Example_22_XSpreadsheet_Impress_XShape_OLE2Shape.rxo
  Creates a new impress (presentation) document and inserts a chart into the first slide (DrawPage) from a spreadsheet that gets loaded hiddenly, using the OLE2Shape service.
Example_23_Impress_XShape_AnimationEffect_ClickAction.rxo
  Creates a new impress (presentation) document, inserts three new pages, adding a GraphicShape on each page, setting animation effects and click actions.
Example_24_SimpleSystemMail_XRowSet_XRow.rxo
  Accesses Thunderbird e-mail addresses that got imported to a database named 'addresses', possesses a table named 'addressmozilla' with a column named 'E-mail' (watch out for case!).
Example_25_Writer_Spreadsheet_Impress_XPrintable_XPrinterServer.rxo
  Print three different document types one after the other, setting different print options and printing synchroneously using the 'Wait' property.

Rony G. Flatscher, 2010-08-22, Wien/Vienna, Austria, Europe