An error occurred while processing the template.
Failed to get value for key "com.liferay.portal.kernel.util.DocumentConversionUtil"; see cause exception.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign DocumentConversionUtil = stat...  [in template "429355#429390#4711371" at line 1, column 1]
----
1<#assign DocumentConversionUtil = staticUtil["com.liferay.portal.kernel.util.DocumentConversionUtil"]> 
2<#if entries?has_content> 
3    <#assign layoutId = themeDisplay.getLayout().getPlid()/> 
4    <#assign portletId = htmlUtil.escapeAttribute(portletDisplay.getId())/> 
5    <#assign addToPagePermission = portletPermission.contains(permissionChecker, layoutId, portletId, 'ADD_TO_PAGE')/> 
6 
7    <table class="table table-bordered table-hover"> 
8    <thead> 
9		<tr> 
10			<th>Дата размещения</th> 
11			<th>Название</th> 
12			<#if addToPagePermission> 
13    			<th>Изменить</th> 
14			</#if> 
15		</tr> 
16	</thead> 
17	<tbody> 
18    <#list entries as entry> 
19        <#assign renderer = entry.getAssetRenderer()/> 
20        <#assign valuesReader = renderer.getDDMFormValuesReader()/> 
21        <#assign ddmFormValues = valuesReader.getDDMFormValues()/> 
22        <#assign ddmFormValuesMap = ddmFormValues.getDDMFormFieldValuesMap()/> 
23        <#assign categories = entry.getCategories()/> 
24 
25        <#assign fileEntry = renderer.getAssetObject()/> 
26        <#assign extension = fileEntry.getExtension()/> 
27 
28        <#assign description = entry.getDescription(locale)/> 
29 
30        <#assign date = ddmFormValuesMap['date'][0].getValue().getString(locale)/> 
31        <#assign number = ddmFormValuesMap['number'][0].getValue().getString(locale)/> 
32        <#assign publishDate = ddmFormValuesMap['publishDate'][0].getValue().getString(locale)/> 
33        <#assign downloadUrl = renderer.getURLDownload(themeDisplay)/> 
34         
35        <#if date?has_content> 
36            <#assign formatedDate = date?datetime("yyyy-MM-dd")?date/> 
37        </#if> 
38 
39        <#if publishDate?has_content> 
40            <#assign formatedPublishDate = publishDate?datetime("yyyy-MM-dd")?date/> 
41        <#elseif date?has_content> 
42            <#assign formatedPublishDate = entry.getPublishDate()?date/> 
43        </#if> 
44         
45         
46        <#assign documentType = 'Документ'/> 
47        <#list categories as category> 
48            <#if category.getCategoryId() == 446642> 
49                <#assign documentType = category.getName()/> 
50            </#if> 
51        </#list> 
52        <#list categories as category> 
53            <#if category.getCategoryId() == 446643> 
54                <#assign documentType = category.getName()/> 
55            </#if> 
56        </#list> 
57        <#list categories as category> 
58            <#if category.getCategoryId() == 446651> 
59                <#assign documentType = category.getName()/> 
60            </#if> 
61        </#list> 
62        <#list categories as category> 
63            <#if category.getCategoryId() == 446652> 
64                <#assign documentType = category.getName()/> 
65            </#if> 
66        </#list> 
67         
68        <#list categories as category> 
69            <#if category.getCategoryId() == 446651> 
70                <#assign documentType = category.getName()/> 
71            </#if> 
72        </#list> 
73         
74         
75        <#assign target = ''/> 
76        <#assign isConvertible = DocumentConversionUtil.getConversions(extension)?seq_contains('pdf')/> 
77        <#if isConvertible> 
78    		<#assign downloadUrl = downloadUrl?replace('&download=true', '')/> 
79    		<#assign downloadUrl = downloadUrl + '&targetExtension=pdf'/> 
80    		<#assign target = 'target="_blank"'/> 
81    	</#if> 
82    	<#if extension == 'pdf'> 
83    		<#assign downloadUrl = downloadUrl?replace('&download=true', '')/> 
84    		<#assign target = 'target="_blank"'/> 
85    	</#if> 
86    	<#assign editPermission = layoutPermission.contains(permissionChecker, layoutId, 'EDIT')/> 
87    	<#assign editUrl = renderer.getURLEdit(renderRequest,renderResponse,windowStateFactory.getWindowState("NORMAL"),portletURLFactory.create(renderRequest, themeDisplay.getPortletDisplay().getId(),themeDisplay.getPlid(), "RENDER_PHASE"))/> 
88 
89        <tr> 
90            <td>${formatedDate}</td> 
91            <td> 
92                <a href="${downloadUrl}" target="${target}" class="d-block">${description}</a> 
93                <span class="reference-mark">Дата публикации: ${formatedPublishDate}</span> 
94            </td> 
95             <#if editPermission> 
96            <td> 
97    			<a href="${editUrl}" class="text-secondary"> 
98    				<@liferay.language key="edit" /> 
99    			</a> 
100            </td> 
101            </#if> 
102		</tr> 
103	</#list> 
104	</tbody> 
105	</table> 
106</#if>