Apache POI is open-source Java API for Microsoft documents, including Word, Excel, ...
While no Tcl practitioner has yet been caught using Apache POI, we certainly do a lot with targeted documents, and Java and Tcl make good teammates.