Generate thumbnails for office documents