掲示板

pdf export in liferay

8年前 に Mahaboob Basha によって更新されました。

pdf export in liferay

New Member 投稿: 6 参加年月日: 15/04/23 最新の投稿
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
8年前 に Denis Signoretto によって更新されました。

RE: pdf export in liferay

Expert 投稿: 375 参加年月日: 09/04/21 最新の投稿
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
8年前 に Andew Jardine によって更新されました。

RE: pdf export in liferay

Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
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.