Reference of MS office format - http://en.wikipedia.org/wiki/Microsoft_Office_Open_XML and a blog of experience of using this - http://sixlegs.com/blog/java/java-opc.html