format word detail page