2. The document management system according to claim 1 , wherein the memory stores a plurality of access privilege information, and wherein the controller controls whether, in response to a request from a user to perform an operation on a document element in an electronic document, the operation is executed or not on the document element, using access privilege information associated with the electronic document among the plurality of pieces of access privilege information stored in the memory.
1. A document management system comprising: a memory that stores access privilege information configured to define, for each display style of a document element displayed in an electronic document, privileges of users or user groups regarding access to a document element having a display style; a controller that controls whether, in response to a request from a user to perform an operation on a document element in an electronic document, the operation is executed or not on the document element, using the access privilege information stored in the memory, in accordance with a privilege among privileges of the users or user groups for a display style of the document element, the privilege being a privilege of the user or a user group to which the user belongs; and a second memory that stores information configured to define a target region to be controlled by the controller within an electronic document, wherein the controller does not control whether, in response to a request from a user to perform an operation on a document element in an electronic document, the operation is executed or not on the document element when it is determined, based on the information stored in the second memory, that the document element is not included in the target region in the electronic document, in accordance with the access privilege information, the display style of each document element is used to set the access privilege information for the corresponding document element, and the display style of the document element includes a color of the document element or a color of a decoration element used to decorate the document element.