A document image processing apparatus has the following construction in
order to draw a manually input line portion along a desired character
string in a document image in good style and high operability. More
specifically, the image data of a document read by a scanner is displayed
at a display portion. At this time, when the user operates a tablet to
manually draw a line portion along a desired character string in the
displayed document, a row region along which the manually input line
portion is drawn is extracted from the region of the document image by a
row extracting portion based on positional information represented by the
input data of the manually drawn line portion and the document image data.
The manually drawn line portion is corrected into a straight line along
the extracted row region for display by curve correcting portion.