The first edition of my book was published by Hentzenwerke, but, the book is no longer available in printed form and the price for used copies is very high. You can see the original listing here: OpenOffice.org Macros Explained. You can still purchase a PDF version from the publisher.
I am the author and you are reading my personal web site. The third edition is in progress and it has not yet been decided how the files will be distributed. For now, at least a portion of the book is available for immediate download. Note that I am far from finished with the third edition. Much of the content will remain the same, but the material is updated to reflect the newer versions of OOo.
I am writing the book using OOo. The current version embeds the macros with the document so that you can run many of the macros while reading the book. This is useful for verifying that a specific macro continues to function in the current OOo version.
One of my biggest fears while writing is that I will not be able to write this as a single document because of OOo bug 84159. Internally, OOo maintains an list of style changes. The list is stored in an array which has maximum size of 64K elements. If I understand the problem correctly, every time my character style changes, a new array entery is required. With multiple formatted code listings, I have many style changes. This is why AndrewMacro.odt crashes OOo when you close the document, and it is also why I rarely edit the document even though I have content to add.