According to this invention, a document processing apparatus capable of
creating document information including attribute information and page
content information from electronic data created by an application
program, includes a storage unit which stores, as part of document
information, original document information for specifying electronic data
as a source of the document information, an update instruction unit which
allows a user to instruct regeneration of the document information, and
an update unit which creates content information of the document
information from electronic data specified by using the original document
information and replaces the content information included in the document
information with the created content information, in accordance with an
instruction issued through the update instruction unit.