List of Commands, properties and Methods

Creating a macro - Writing a Script - Using the API

List of Commands, properties and Methods

Postby Ant » Wed Jan 28, 2009 6:54 am

I'm coding in the dark.
Where can I find a resource that lists commands, methods & properties?

I've searched oOO help and the internet but can find nothing.

I'm trying to code ooBase in Basic
OOo 3.0.X on Ms Windows XP + MS Windows Vista
User avatar
Posts: 21
Joined: Wed Oct 08, 2008 5:22 am

Re: List of Commands, properties and Methods

Postby FJCC » Wed Jan 28, 2009 7:30 am

I don't work with Base, but I can point you to some basic documentation. The official reference for the API is at Click on the IDL reference link under Developer's Guide on the left. The Developers Guide, listed under "Browse API related Documentation Online" is full of information, though the examples are mostly in JAVA.
I found both of these took some getting used to.

Andrew Pitonyak has written very useful documents for Macros. He has a web page that includes a document dedicated to database access. I think the link is

The XRay tool is indispensable for writing macros. It tells you the properties, methods, and services for any object and will bring up the API reference if you down load the SDK. It is at this link:

I hope that can get you started. For specific questions, the people on this forum are very helpful.
Windows 10 and Linux Mint, since 2017
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Posts: 7440
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: List of Commands, properties and Methods

Postby sqykly » Sat Feb 07, 2009 9:06 am

Also, most (all?) Uno objects have the properties "dbg_properties" and "dbg_methods", which return a list of properties/methods as a string. There's another property that lists supported interfaces, but if you're using Basic, you probably won't need it. If you can't find the objects to begin with, you can get almost all of them with createUnoService(servicename) for objects that are not subordinates of other objects or through thisComponent and its subordinates. If you don't know what services you're looking for in the first place, the Basic programmer's guide on the API wiki is a decent start, and the IDL reference knows almost everything.
OOo 3.0.X on Ms Windows XP
Posts: 27
Joined: Mon Nov 24, 2008 8:28 am

Return to Macros and UNO API

Who is online

Users browsing this forum: FJCC and 9 guests