Configured article templates
This commit is contained in:
parent
2fa3ce3c86
commit
0736f72257
21 changed files with 35 additions and 9 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 mark90
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark93
|
||||
|
||||
End Sub
|
||||
|
||||
|
|
|
@ -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.3"
|
||||
Public Const redactionExtensionVersion = "0.10.5"
|
||||
Public Const template_name_monography = "Монография"
|
||||
Public Const template_name_pj = "Философский журнал"
|
||||
Public Const template_name_pq = "Вопросы философии"
|
||||
|
@ -10,11 +10,12 @@ Public Const template_name_hpe = "Историко-философский
|
|||
Public Const template_name_pr = "Философия религии"
|
||||
Public Const template_name_fnit = "Философия науки и техники"
|
||||
Public Const template_name_pa = "Философская антропология"
|
||||
Public Const template_name_pcr = "Путь цивилизационного развития"
|
||||
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"
|
||||
Public Const articles_path = "/templates/articles/"
|
||||
|
||||
Function initRedactionConfiguration()
|
||||
On Error Goto exceptionHandler
|
||||
|
@ -324,13 +325,14 @@ End Function
|
|||
|
||||
Function getTemplateNames() As Variant
|
||||
Dim names() As String
|
||||
AddToArray(names, template_name_monography)
|
||||
' AddToArray(names, template_name_monography)
|
||||
AddToArray(names, template_name_pq)
|
||||
AddToArray(names, template_name_hp)
|
||||
AddToArray(names, template_name_hpe)
|
||||
AddToArray(names, template_name_pr)
|
||||
AddToArray(names, template_name_fnit)
|
||||
AddToArray(names, template_name_pa)
|
||||
AddToArray(names, template_name_pj)
|
||||
AddToArray(names, template_name_pcr)
|
||||
AddToArray(names, template_name_eifn)
|
||||
AddToArray(names, template_name_et)
|
||||
|
@ -354,16 +356,40 @@ Function getTemplateFile(templateName As String) As String
|
|||
getTemplateFile = getTemplatePath() & "/" & fileName
|
||||
Exit Function
|
||||
Case template_name_eifn
|
||||
getTemplateFile = extensionPath() & "/templates/articles/статья_журнала_ЭиФН.ott"
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_эифн.ott"
|
||||
Exit Function
|
||||
Case template_name_fnit
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_фнит.ott"
|
||||
Exit Function
|
||||
Case template_name_pa
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_фа.ott"
|
||||
Exit Function
|
||||
Case template_name_pj
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_фж.ott"
|
||||
Exit Function
|
||||
Case template_name_et
|
||||
getTemplateFile = extensionPath() & "/templates/articles/статья_этическая_мысль.ott"
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_эм.ott"
|
||||
Exit Function
|
||||
Case template_name_pq
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_вф.ott"
|
||||
Exit Function
|
||||
Case template_name_pr
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_фр.ott"
|
||||
Exit Function
|
||||
Case template_name_pcr
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_пцр.ott"
|
||||
Exit Function
|
||||
Case template_name_hp
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_иф.ott"
|
||||
Exit Function
|
||||
Case template_name_hpe
|
||||
getTemplateFile = extensionPath() & articles_path & "статья_ифе.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"
|
||||
getTemplateFile = extensionPath() & articles_path & "статья.ott"
|
||||
Exit Function
|
||||
End Select
|
||||
End Function
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
|
||||
<version value="0.10.3"/>
|
||||
<version value="0.10.5"/>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
version=0.10.3
|
||||
version=0.10.5
|
||||
|
|
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.
Binary file not shown.
Binary file not shown.
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/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/articles/статья_эм.ott
Normal file
BIN
templates/articles/статья_эм.ott
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue