Patent ID: 8412692

Claim:
A method of inserting a scanned document comprising: inputting a user command to select a position to insert a second document file in a first document file that includes a first trailer storing first document position information, the first document being stored in a memory device; scanning a second document and generating the second document file which is scan data of the scanned second document, to have the same format as the first document file in response to the scanning; and generating a third document file by inserting the second document file in the first document file, at the selected position, in response to generating the second document file, wherein the generating of the second document file comprises: generating scan data of the scanned second document, and adding an information header with respect to the second document to the scan data of the second document in response to generating the scan data, wherein the generating of the third document file comprises: changing the first document position information of the first trailer based on the selected position in response to adding the information header to the scan data of the second document to insert the second document file in the first document file; inserting the second document file in the first document file, based on the changed first document position information; and creating a new trailer in the third document file based on the changed first document position information of the first trailer in response to inserting the second document file in the first document file.