Next, the tenth specific embodiment concerns with a case in which the layout information of the data is extracted at a time of producing and recording the data such as the document, the data and the layout information are stored in correspondence, and the desired data is retrieved according to this layout information.