Conclusion


Building any significant OOo macro program requires understanding the syntax of OOo Basic. This chapter covered the key elements:

  • The syntax of a macro determines valid and invalid constructs.

  • The logic of a macro determines what the macro does.

  • Flow control directs the macro as it runs.

  • Error handling directs the macro when it does something unexpected.

A complete, well- constructed macro that accomplishes any significant function will most likely use all of these characteristics of OOo programming. The specific elements within OOo that one uses to build a specific program depend on the application, the desired logical behavior of the program, and the best judgment of the programmer. One major part of successful programming is developing the experience to apply the ideas of this chapter in the most effective way.

start sidebar

Updates and corrections to this chapter can be found on Hentzenwerke's Web site, www.hentzenwerke.com . Click "Catalog" and navigate to the page for this book.

end sidebar
 



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