Macros Included with OpenOffice.org


Many macros are included with OOo in libraries. Spend some time investigating these macros. Many wonderful examples are included. For example, the Gimmicks library contains a ReadDir module that reads an entire directory and creates a draw page with the information displayed in a tree structure. The Tools library also contains numerous excellent examples. The Debug module in the Tools library contains some useful macros, such as WriteDbgInfo and PrintDbgInfo-check them out.

If you don't know how to solve a problem, you should always try to find the answer first, rather than writing a completely new solution. The macros included with OOo are a good place to start. I once posted a request for help to determine the size of a control in a dialog. The response, which included the solution, indicated that I should look in the ModuleControls module in the Tools library that is included with OOo. In other words, the macros included with OOo contained the solution to my problem.

Tip  

You can see the libraries and modules included with OOo by selecting Tools Macros Macro to open the Macro dialog. The macros available at the application level are in the library container named "soffice".




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