Patent ID: 7810040

Claim:
A method of controlling a document processing apparatus which creates a book file formed from at least one chapter, where each chapter includes at least one page, comprising: a setting step of setting an attribute for a folder; a detection step of detecting storage of document data into the folder for which the attribute is set in said setting step; and an import step adapted to import document data stored in the folder into a new chapter of the book file which has been created, according to the stored document data in the folder, when said detection step detects storage of document data into the folder; and a comparing step of comparing the attribute which is set for the folder with an attribute of an entire book of the book file which has already been created; a determining step of determining whether the attribute set for the folder is inconsistent with the attribute of the entire book of the book file which has already been created; an applying step of the attribute set for the folder to the new chapter into which the document data is imported, if it is determined in said determination step that the attribute set for the folder is not inconsistent with the attribute of the entire book of the book file; and a changing step of, if it is determined in said determination step that the attribute set for the folder is inconsistent with the attribute of the entire book of the book file, (i) not applying an attribute different from the attribute set for the folder to the new chapter into which the document data is imported, or (ii) applying an attribute different from the attribute set for the folder to the new chapter into which the document data is imported and changing the attribute of the entire book of the book file or the attribute set for chapters other than the new chapter into which the document data is imported.