/o//commerce-media/accounts/-1/images/18558511?download=true

WebContent To PDF convertor
Icon
DXP App
18557860
Hello Developers,

This utility allow user to convert web content/Journal Article to PDF.
This hook leverage the power of Liferay open office service.No need to use any third party jars to achieve pdf conversation.

Configuration:
Which can be enabled from Liferay Control Panel > Server Administration > External Services > Enabling OpenOffice integration provides document conversion functionality.
Check the box and save it.

Before that you have to follow below steps to start this service

1. Install OpenOffice.org v2.0.3 or higher (has been tested on many versions, include 3.2).

2. Go to the folder where it was installed (for example, C:\Program Files\OpenOffice.org\program) and start OpenOffice service with the following command:

soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

Now enable the service from control panel and deploy the hook.You will be able to see the option as mentioned in screenshot 'Download as PDF' in option menu.
DEVELOPER
Abhishek Suthar
DEVELOPER
16-7-21 上午12:00
Published date
处理模板时发生错误。
The string doesn't match the expected date/time/date-time format. The string to parse was: "16-7-21 上午12:00". The expected format was: "MM/dd/yy HH:mm".
The nested reason given follows:
Unparseable date: "16-7-21 上午12:00"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${CPDefinition_displayDate.getData()?...  [in template "3192443#3192485#null" at line 4, column 9]
----
1<#setting date_format="MMMMM d, yyyy"> 
2 
3<#if (CPDefinition_displayDate.getData())??> 
4	${CPDefinition_displayDate.getData()?datetime("MM/dd/yy HH:mm")?date} 
5</#if> 
Published Date
16-7-21 上午12:00
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
6.2
Resource Requirements
Edition
CE, EE
PRICE
Free
help & support
Terms & Conditions
SHARE LINK
Copy & Share Link

HTML Example

A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.