I want to create a pdf in alfresco using my java code.For that i have used alfresco open-cmis. Any body any idea how can pdf is created in alfresco using open cmis. Please reply if you have any idea.
The short answer is no . the long answer is "Alfresco don't have the ability to generate PDF,but it integrate pdfbox/tika/POI and can transform other format to pdf,But CMIS doesn't provide any api for us to invoke transform component.
You can grab data from repository(cmis) and then use itext to create pdf ,or use pdfbox/tika/POI to convert other format to pdf.