Method for production of document