http:api.openoffice.org


http://api.openoffice.org/

For the serious macro writer, the site http://api.openoffice.org/ is very important. I spend most of my time here while investigating how to solve problems. The first accessible programming document for StarOffice version 5.x is available from this site. The document, http://api.openoffice.org/basic/man/tutorial/tutorial.pdf , may be old, but it contains some nice examples-and it is very accessible.

http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html contains the Developer's Guide, which is kept up-to-date. The target audience for this document is the professional developer. A lot of information is here, and it requires some talent to find what you need. This is only because so much information is available. Basic programming is only a small portion of this document's coverage. When you require the complete story, or at least the most complete story available, look in the Developer's Guide. (But, be prepared for the complete story...)

Tip  

Module contents used to be located at http://api.openoffice.org/common/ref/... but most links have now been moved to http://api.openoffice.org/ docs /common/ref... Many links exist to the old site, including Web searches from Google. If you have a link to the old site and receive a "site not found" error, try inserting "docs".

I spend most of my time in the portion investigating the individual modules, which list the interfaces and services available. A good starting point is http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html because it contains all of the main modules. Notice that the name of the Web page is "module-ix.html". If you are looking at a Web page for a service or interface, you can usually remove the name of the Web page and substitute the name "module-ix.html". For example, assume that you are looking at the TextCursor service at http://api.openoffice.org/docs/common/ref/com/sun/star/text/TextCursor.html and you want to see the services. Change "TextCursor.html" to "module-ix.html" and you can see all of the definitions, services, contained modules, constants, and interfaces in the com.sun.star.text module.

Tip  

If you know the module, service, or interface name, you can easily see how it is defined. For example, the interface com.sun.star.awt.XDialog has a page at http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XDialog.html and you can see the module by replacing "XDialog.html" with "module-ix.html".

You should start investigating the different modules at the main Sun module, http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html , which will provide a feel for the different modules and their purposes. Because the modules group related functionality, I sometimes look here when I need to find a service that solves a specific problem but I don't know what the service is.




OpenOffice.org Macros Explained
OpenOffice.org Macros Explained
ISBN: 1930919514
EAN: 2147483647
Year: 2004
Pages: 203

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net