feat: added elenph article template

This commit is contained in:
Georgy Litvinov 2021-10-20 15:50:37 +02:00
parent c0ecae410c
commit 535e91d860
2 changed files with 5 additions and 0 deletions

View file

@ -13,6 +13,7 @@ Public Const template_name_pa = "Философская антрополо
Public Const template_name_pcr = "Проблемы цивилизационного развития"
Public Const template_name_eifn = "Эпистемология и философия науки"
Public Const template_name_et = "Этическая мысль"
Public Const template_name_ephe = "Электронная философская энциклопедия"
Public Const template_name_iph_big = "Большой формат издания"
Public Const template_manual = "custom_selected_template"
Public Const articles_path = "/templates/articles/"
@ -336,6 +337,7 @@ Function getTemplateNames() As Variant
AddToArray(names, template_name_pcr)
AddToArray(names, template_name_eifn)
AddToArray(names, template_name_et)
AddToArray(names, template_name_ephe)
AddToArray(names, template_name_iph_big)
getTemplateNames = names
End Function
@ -385,6 +387,9 @@ Function getTemplateFile(templateName As String) As String
Case template_name_hpe
getTemplateFile = extensionPath() & articles_path & "статья_ифе.ott"
Exit Function
Case template_name_ephe
getTemplateFile = extensionPath() & articles_path & "статья_эфэ.ott"
Exit Function
Case template_name_iph_big
getTemplateFile = extensionPath() & "/templates/books/большой_формат_для_архива.ott"
Exit Function

Binary file not shown.