The invention relates to the technical field of
data processing, in particular to a Word document content merging method and
system and a terminal. Newly creating a content
list and a target document; sequentially reading each
directory in the
directory structure; adding the read
directory to the end of the target document; all the Word documents to be merged are traversed; judging whether a current directory exists in the traversed document, if yes, judging whether content exists in the current directory, if yes, reading all content in the directory, adding the content to a content
list, judging whether content identical to the added content exists in the content
list, and if not, adding the content to the content list; and if not,
copying the added content to a corresponding directory in the target document. The method and the device are used for avoiding simple additional listing of document contents, merging the contents under the same catalog and putting the merged contents under the corresponding catalog, and meanwhile, avoiding repeated addition of the same contents and avoiding repeated chapter contents of the finally merged document.