I need to add small table filled with properties from my custom content model in the upper right corner of the pdf document. I am supposed to add this to an existing pdf document. This should be executed when I activate the action defined in share-config-custom.xml (DocLibActions). I am a beginner in Alfresco and don`t know how to do this. Read something about iText, but I can't find how to open the pdf document. I have been looking at the tutorial from Jeff Potts about Custom Actions and so far I have added the action to the menu (you can see the action when you click more), have written a bean to register my java executer in service-context.xml and have created the Java class (It doesn't do anything at the moment). I am passing the nodeRef of the document, but how can I find it and open it with iText and add the table in the corner ? Since I have the nodeRef how can I get to the file itself? Is it possible to update the number of the version when I save the changes of the document? It is a little bit urgent so I would appreciate every help I get.
Thanks in advance,
Irena