SSJS or Java generate PDF

223 views Asked by At

Hello I have an application XPages and now I need to create a button that create PDF that combining in one PDF file sources (XLS, WORD, JPEG, PNG etc..) from a richtext attachments.

Now I think that the best solution is used Acrobat Professional on server ...and the API (server side). But I don't know if this is a good solution.

Anyone has suggestions about this? I think that can I use Java Code (If there are the integration API) I'm looking at now Acrobat website and I see that Acrobat X use Javascript (But do you work only client?)

1

There are 1 answers

5
Knut Herrmann On BEST ANSWER

I use Java, Apache FOP and Apache pdfBox in an XPages project to create pdf files with included/attached files from richtext attachments.

It works well but is a lot of work...