I know that Alfresco can search the contents of a file but I have the next doubt: is possible manipulate, modify or restrict some part of the contents of a file using Alfresco or with some configuration or extension?
Yes, you could implement your own custom action or custom behaviour dedicated to parse contents and change the body of the content internally. This type of changes could be implemented using policies interfaces related to the services of the Alfresco API.
Alfresco Java API consists of a group of Spring beans that are based on policies that are events that could be extended to bind your own custom behaviour.
According to the information that I have reviewed: My requirement is possible but is not simple with Alfresco. In my case would have to maintain a database for metadata of the contents (title, structure, paragraphs, etc) for editing content with the "Component Policies" of Alfresco and this would be a problem when updating versions of Alfresco.
However, for simple cases the "component policies" could be very useful. In the link http://wiki.alfresco.com/wiki/Services_Framework#Component_Policies there is examples of policies for Node component and CheckOutCheckIn component but there is not for the content. Where I can find information about the events supported to define policies on the content in Alfresco?
Does anyone have any example or tutorial for implementing policies in alfresco?