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 linear base lines for character rows included in the first image; a unit for finding, in the first image, a position of each character image relative to the linear baseline found for each character row based upon position coordinates of 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 drawing position of the text data is described in the electronic document based upon the found position of each character image relative to the linear base line.