Writing a Program to Control OpenOffice.org