a document processor includes : a processing unit that performs a process instructed by a user to an electronic document ; a first storing unit that stores at least one of keywords of an attribute element respectively for a plurality of attribute elements ; a second storing unit that coordinates at least one attribute element of the plurality of attribute elements with a user , and that stores the at least one attribute element ; a determining unit that determines whether or not the stored keyword is included in the processed electronic document ; an attribute element specifying unit that specifies the attribute element of the plurality of attribute elements satisfying a prescribed condition on the basis of a keyword determined to be included in the electronic document ; and an inquiry unit that inquires about whether or not the specified attribute element is allowed to be stored in the second storing unit .