Most Helpful Customer Reviews
30 of 30 people found the following review helpful:
5.0 out of 5 stars
Very Useful, February 15, 2006
This review is from: OpenOffice.org Macros Explained (Paperback)
I've been playing with openoffice macros for several months after using some VBA over the past few years. Initally it was very difficult. I found this book to be very helpful. The material is DENSE - you will be frustrated if you try to read it cover to cover. My suggestion for those who want to learn OO macros is download the StarOffice manuals (free), download the Xray macro (free), start with Calc macros (easiest) and read the pertinent parts of this book. OO macros are harder than MS Office in the beginning, but I've found that it is now EASIER for me to write a macro in OO.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
32 of 34 people found the following review helpful:
2.0 out of 5 stars
Confused, rather random description, June 28, 2005
This review is from: OpenOffice.org Macros Explained (Paperback)
Sadly, this book suffers from a common malady: it explains the simple stuff well, but does a bad job with more complex material. IMHO this is the exact *opposite* of what is needed here. OOo macros have the potential to be powerful, but good luck figuring this out from the book. The first 8 chapters do an adequate job of describing the core BASIC language (not very useful, since OOo online help does that). However, the complexities of the UNO and the OOo object model in general are very poorly described. The book suffers badly from a lack of diagrams -- there are none! So figuring out the object hierarchy is left as an exercise of reverse-engineering the text. To make this harder, the text jumps all over the place, sometimes talking about one object, sometimes another. Core concepts like "object", "interface" and "service" are left with fuzzy descriptions and are used erroneously in many places, leaving the distinct impression that the author is himself unsure of the meanings. I set myself an exercise to create a macro to insert and format a table at the current cursor position. Finding the necessary information in this book was an exercise in frustration. With no clear object model and muddy text its unclear when you are dealing with an object, a service, a property or a structure. In the end I was able to partly get what I wanted, but it took endless experiments to try to overcome the lack of clarity in the text. Overall, this book reads like a rather poorly organized cookbook. I'm giving it 2 stars only because it has no real competition and if you invest a great deal of time reading between the lines and studying the examples, *and* trying to make sense of the text, you might be able to create a few useful OOo macros.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
15 of 15 people found the following review helpful:
5.0 out of 5 stars
Excellent Synopsis, December 13, 2005
This review is from: OpenOffice.org Macros Explained (Paperback)
The first eight chapters provide numerous working examples of the core language; including features that I did not find in the help. Numerous bugs and work arounds are demonstrated. New features introduced in OOo 2.0 are mentioned in the text. It might have been helpful in the file section, if the author had provided a reference to the SimpleFileAccess service. The Developer's Guide for the OOo API is over 1000 pages long. It is, therefore, not a surprise that this book does not provide exhausitive coverage for the internal API. When a topic is covered, however, there are typically complete working examples and descriptive text for the topic. For example, I had trouble inserting and naming my tables until I noticed that the book includes a tip that a text table needs to be named after it is inserted into the document. Not all topics are covered exhaustively. Again, considering text tables, no method is provided to individually enumerate all cells in a text table. Numerous complicated text table examples are provided, however, including methods to select and copy entire text tables. Although, the author does not provide a solution for every problem that I have needed to solve, there is generally a pointer along the way and a simpler example to get me started. For example, I read about the current controller in the "UNO and the Dispatcher" section. The controller is then used to select things such as tables and cells, but I had to figure out for myself that I could also use the controller to select an entire row or column. The simpler a problem, the more likely it is to be solved. The book was published before Base was available and it provides no coverage for the Databse capability built into OOo. In the section on Universal Network Objects, the author provides examples demonstrating how to create and use your own data types in OOo Basic (this should have been in the help. This section also provides simple definitions for things such as Interface, Service, and Context. After buying the book, be certain to obtain the PDF from the publisher, this is one of the few books that provides the PDF. The PDF is very useful for searching through the text. Although the examples are all available from the publisher as well, I found that it was usually just as easy to copy them from the PDF file to where I need them.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
|