1. An electronic document producing device comprising: a correcting unit for correcting distortion of a first image to obtain a correction image; a character recognition unit for executing character recognition processing on a plurality of character images contained in the correction image to obtain text data; a unit for finding a base line of each character row in the first image; a unit for finding a relative position from the baseline in regard to each character image in the first image; and a producing unit for producing an electronic document including the text data and the first image, wherein a position of the text data is described based on the relative position from the base line.