Generate previews for office documents