Patent ID: 7606823

Claim:
A document processing apparatus capable of creating document information based on electronic data created by an application program, comprising: a generation unit, adapted to generate a document part by importing the electronic data; a first adding unit, adapted to add the document part generated by said generation unit to the document information, wherein a plurality of document parts are included in the document information; a storage unit, adapted to store original document information for each of the plurality of document parts to specify electronic data which is a source of each of the plurality of document parts; a specification unit, adapted to, when new electronic data is imported, specify the document part having the original document information same as the original document information of the new electronic data, an insertion unit, adapted to create a new document part by updating the document part specified by said specification unit based on the new electronic data, and subsequently to insert the new document part based on the new electronic data in place of the document part specified by said specification unit when said specification unit specifies the document part having the original document information same as the original document information of the new electronic data, and a second adding unit, adapted to add the new document part based on the new electronic data to the document information when said specification unit does not specify the document part having the original document information same as the original document information of the new electronic; and, wherein said generation unit generates the document part based on the electronic data when the electronic data is imported in display screen by drag and drop operation.