Patent ID: 8316053

Claim:
An information processing apparatus for outputting document information different from original document information for each access user, the information processing apparatus comprising: a management unit configured to acquire a property of a partial area included in document information and manage the partial area in connection with the property as an object; an acquisition unit configured to acquire a user property of an access user accessing the document information; a deleting unit configured to compare the user property acquired by the acquisition unit with the property of the object managed by the management unit, and delete, from the document information, an object that is not allowed to be accessed by a user having the user property; a search unit configured to search for an object with which to replace the deleted object deleted by the deleting unit, based on properties of objects present in the neighborhood of the deleted object in the document information managed by the management unit, wherein the objects present in the neighborhood of the deleted object remain and undeleted objects in the document information are adjusted by an adjustment unit; the adjustment unit configured to adjust, if the object with which to replace the deleted object is retrieved by the search unit, a layout of the document information using the retrieved object; and an output unit configured to output, for the access user, the document information having the layout adjusted by the adjustment unit, wherein the adjustment unit adjusts the layout of the document information such that when the object with which to replace the object deleted by the deleting unit is not found by the search unit, a blank area created in the document information as a result of deleting the object by the deleting unit is filled with the objects present in the neighborhood of the object deleted by the deleting unit.