The guys at Sonata have submitted another instructive Java code sample. This one shows how to do some basic document management chores such as adding or removing parts from the Open XML Format package. It's packaged as a simple utility. Click here for the article and source code.