I want to view any uploaded document as pdf when anchor link is clicked. For this problem I need to transform the document (like .doc, .xls etc) to pdf before downloading it so that it can be viewed in browser. One solution to this problem is : Override DownloadContentServlet and apply transformation by using one of the transformer in alfresco.
Now I want to know is there any other way to resolve this problem (like using action or actionListener). :?:
Check out the Thumbnail service implementation. If you look at thumbnail-service-context.xml, you'll see examples for doc -> png (various sizes) and doc -> flash. You can create one that is doc -> pdf. You can use the thumbnail webscript (thumbnail.get.*) to get your custom thumbnail. Or just use the webscript as your download link. Modify the UI to include this link.
here the client requirement is they want to edit the document or pdf in alfresco with out using googledocs because the users systems they don't have the internet connection to edit the Document.
So they want view a document in browser with out net connection in the system.
so can u please help me out how can i edit the document or pdf programmatically or is there any way to do the same.