use Apache POI Project, it will resolve all ur requirements of Microsoft Office,