Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your references are older and refer to OpenOffice v3.x. The referred to library is now the "Tools" library. However, you will not find anything useful there for accessing data. This is all done through (somewhat transparently) the UNO API.

For more information here are some useful documents:

Chapter 9 - LO Base Macros click here

Open Office Macros Explained (OOME) by Andrew Pitonyak - click here

Your references are older and refer to OpenOffice v3.x. The referred to library is now the "Tools" library. However, you will not find anything useful there for accessing data. This is all done through (somewhat transparently) the UNO API.

For more information here are some useful documents:

Chapter 9 - LO Base Macros click here

Open Office Macros Explained (OOME) by Andrew Pitonyak - click here

Edit 2/22/2017:

You also referred to getDataSource in your question. This is actually part of the API and NOT in the "Tools" library. The com.sun.star.sdb.DataSource information can be seen here.