A document processing apparatus, having a printer driver to generate print data, the apparatus comprising: document reading means configured to read the document data made up of a plurality of hierarchical levels with which print attributes have been associated; attribute reading means configured to read first print attributes associated with a first hierarchical level corresponding to the whole document data and second print attributes associated with a hierarchical level lower than the first hierarchical level in the document data read by the document reading means; characterized in that the apparatus further comprises: extracting means configured to extract the settings of the second print attributes which are different from the settings of the first print attributes as exception settings, by comparing the first print attributes with the second print attributes; selecting means configured to select print attributes associated with the whole document or print attributes associated with a hierarchical level lower than the hierarchical level of the whole document, in accordance with a selection instruction entered via the user interface; and displaying means configured to display the exception setting extracted by the extracting means and the print attributes associated with the whole document in the user interface of the printer driver in the case where print attributes associated with the hierarchical level lower than the hierarchical level of the whole document is selected by said selecting means, and to display the print attributes associated with the whole document in the user interface of the printer driver in the case where print attributes associated with the whole document is selected by said selecting means. document reading means configured to read the document data made up of a plurality of hierarchical levels with which print attributes have been associated; attribute reading means configured to read first print attributes associated with a first hierarchical level corresponding to the whole document data and second print attributes associated with a hierarchical level lower than the first hierarchical level in the document data read by the document reading means; characterized in that the apparatus further comprises: extracting means configured to extract the settings of the second print attributes which are different from the settings of the first print attributes as exception settings, by comparing the first print attributes with the second print attributes; selecting means configured to select print attributes associated with the whole document or print attributes associated with a hierarchical level lower than the hierarchical level of the whole document, in accordance with a selection instruction entered via the user interface; and displaying means configured to display the exception setting extracted by the extracting means and the print attributes associated with the whole document in the user interface of the printer driver in the case where print attributes associated with the hierarchical level lower than the hierarchical level of the whole document is selected by said selecting means, and to display the print attributes associated with the whole document in the user interface of the printer driver in the case where print attributes associated with the whole document is selected by said selecting means. extracting means configured to extract the settings of the second print attributes which are different from the settings of the first print attributes as exception settings, by comparing the first print attributes with the second print attributes; selecting means configured to select print attributes associated with the whole document or print attributes associated with a hierarchical level lower than the hierarchical level of the whole document, in accordance with a selection instruction entered via the user interface; and displaying means configured to display the exception setting extracted by the extracting means and the print attributes associated with the whole document in the user interface of the printer driver in the case where print attributes associated with the hierarchical level lower than the hierarchical level of the whole document is selected by said selecting means, and to display the print attributes associated with the whole document in the user interface of the printer driver in the case where print attributes associated with the whole document is selected by said selecting means.