Patent ID: 7379950

Claim:
A document processing method executed in a document processing apparatus, comprising: (a) first displaying step of displaying a first document file in a display region; (b) inputting step of inputting an insertion instruction to insert at least one second document file into a specified insertion position in the display region using a first or a second inputting method; (c) judging step of judging whether the first or the second inputting method is used for inputting the insertion instruction in said inputting step; (d) first determining step of determining an insertion method for the at least one second document file from a plurality of insertion methods using an attribute of the at least one second document file, when the judging step judges that the first inputting method is used; (e) second displaying step of displaying a menu dialog including a plurality of choices corresponding to the plurality of insertion methods when the judging step judges that the second inputting method is used; (f) second determining step of determining the insertion method for the at least one second document file from the plurality of insertion methods, based on a choice selected from the plurality of choices in the menu dialog; and (g) inserting step of inserting the at least one second document file into the first document file on the basis of the insertion method determined in said first determining step or said second determining step; wherein the plurality of insertion methods include at least a first insertion method in which one chapter is newly generated at the insertion position and the at least one second document file is inserted into the newly generated chapter, and a second insertion method in which the at least one second document file is inserted into an existing chapter at the insertion position.