feat: more templates added
This commit is contained in:
parent
d5b3b4c9e8
commit
4c4b9221df
12 changed files with 12 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark87
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark88
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -2101,4 +2101,4 @@ Function fixColoredBackgroundInDoc() As Boolean
|
|||
EndIf
|
||||
|
||||
End Function
|
||||
</script:module>
|
||||
</script:module>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Configuration" script:language="StarBasic" script:moduleType="normal">Public Const redactionExtensionName = "cleanAndValidate"
|
||||
Public Const redactionExtensionVersion = "0.10.1"
|
||||
Public Const redactionExtensionVersion = "0.10.2"
|
||||
Public Const template_name_monography = "Монография"
|
||||
Public Const template_name_pj = "Философский журнал"
|
||||
Public Const template_name_pq = "Вопросы философии"
|
||||
|
@ -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_iph_big = "Большой формат издания"
|
||||
Public Const template_manual = "custom_selected_template"
|
||||
|
||||
Function initRedactionConfiguration()
|
||||
|
@ -351,12 +352,15 @@ Function getTemplateFile(templateName As String) As String
|
|||
fileName = config.getPropertyValue("defaultTemplate")
|
||||
getTemplateFile = getTemplatePath() & "/" & fileName
|
||||
Exit Function
|
||||
Case template_name_pj
|
||||
getTemplateFile = extensionPath() & "/templates/articles/default_article_template_ru.ott"
|
||||
Exit Function
|
||||
Case template_name_eifn
|
||||
getTemplateFile = extensionPath() & "/templates/articles/статья_журнала_ЭиФН.ott"
|
||||
Exit Function
|
||||
Case template_name_et
|
||||
getTemplateFile = extensionPath() & "/templates/articles/статья_этическая_мысль.ott"
|
||||
Exit Function
|
||||
Case template_name_iph_big
|
||||
getTemplateFile = extensionPath() & "/templates/books/большой_формат_для_архива.ott"
|
||||
Exit Function
|
||||
Case Else
|
||||
getTemplateFile = extensionPath() & "/templates/articles/default_article_template_ru.ott"
|
||||
Exit Function
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
|
||||
|
||||
<version value="0.10.1"/>
|
||||
<version value="0.10.2"/>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
version=0.10.1
|
||||
version=0.10.2
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
templates/articles/статья_журнала_вопросы_философии.ott
Normal file
BIN
templates/articles/статья_журнала_вопросы_философии.ott
Normal file
Binary file not shown.
BIN
templates/articles/статья_журнала_философский_журнал.ott
Normal file
BIN
templates/articles/статья_журнала_философский_журнал.ott
Normal file
Binary file not shown.
BIN
templates/articles/статья_журнала_эифн.ott
Normal file
BIN
templates/articles/статья_журнала_эифн.ott
Normal file
Binary file not shown.
BIN
templates/articles/статья_журнала_этическая_мысль.ott
Normal file
BIN
templates/articles/статья_журнала_этическая_мысль.ott
Normal file
Binary file not shown.
BIN
templates/books/большой_формат_для_архива.ott
Normal file
BIN
templates/books/большой_формат_для_архива.ott
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue