Foros de discusión

pdf export in liferay

Mahaboob Basha, modificado hace 8 años.

pdf export in liferay

New Member Mensajes: 6 Fecha de incorporación: 23/04/15 Mensajes recientes
hello guys,

i am fresher...in liferay...... i want to export jsp page into pdf which includes images , text, table . so is there any code or converter apis or any thx.......................please need help
greatly appreciated thanks in advance
thumbnail
Denis Signoretto, modificado hace 8 años.

RE: pdf export in liferay

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
Hi Mahaboob,

with Liferay whole pages (or jsp) cannot be exported to pdf but you can enable the pdf convertion for web contents and documents with open office.

This link should help you to activate openoffice conversion.
http://www.liferay.com/community/wiki/-/wiki/Main/Document+Conversion+with+OpenOffice

HTH,
Denis.
thumbnail
Andew Jardine, modificado hace 8 años.

RE: pdf export in liferay

Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
You want to provide this a a page feature for anyone that is using the site? or you just need to do it for yourself? If it is just for yourself you can probably get a browser plugin for it -- for example: https://chrome.google.com/webstore/detail/save-as-pdf/kpdjmbiefanbdgnkcikhllpmjnnllbbc?hl=en

If it's something for the masses that you defnitely have a bit of coding to do. Nothing like that exists out of the box, but I am sure you could create a Struts (portal level) action that could retrieve the http content for the page you want to print and then run it through a third party tool like iText to produce a PDF.