Instead of the obsolete OpenOffice formats, I'd advise to go with ODF instead. There is a
Java library for it (
ODFDOM), but ODF is just zipped XML files. It may be easier to create those directly than to use an API; depends on how complex your requirements are.