cancel
Showing results for 
Search instead for 
Did you mean: 

Create a pdf using CMIS

rutaveejshah
Champ in-the-making
Champ in-the-making
hello everyone!

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.

Thanks
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
Your requirement is not clear, what do you mean by creating pdf?

rutaveejshah
Champ in-the-making
Champ in-the-making
Hi..
I have binary data in my database.I want to create pdf from that using open cmis.
Is it possible?Yes then please give me some guidance.

kaynezhang
World-Class Innovator
World-Class Innovator
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.