1. A document processing apparatus which stores and manages, as an electronic document file, document data containing both an image page and a non-image page, comprising: electronic document file creation means for creating an electronic document file containing an image page and a non-image page; editing means for editing the image page in the electronic document file; determination means for determining for each page which forms a group of pages selected from the electronic document file as an editing target of said editing means whether a page is an image page or a non-image page; and control means for executing editing by said editing means for a group of pages determined by said determination means to be image pages.