How you build an Open Office Macro

Background
I hope to make this a detailed resource for OpenOffice macro information. I have found it rather difficult to find OpenOffice macro info and especially chart info. This page is an attempt to put some of this together.