Skip to content

Commit

Permalink
Fixed: Исправлен баг: неверно определялся код жанра для всех схем, кр…
Browse files Browse the repository at this point in the history
…оме CoolLib.
  • Loading branch information
DikBSD committed Jun 7, 2021
1 parent 8293e1c commit 60d3487
Show file tree
Hide file tree
Showing 12 changed files with 1,934 additions and 1,926 deletions.
4 changes: 4 additions & 0 deletions doc/ChangeLog_Eng.txt
Original file line number Diff line number Diff line change
Expand Up @@ -610,3 +610,7 @@ OoFBTools-3.2
A. Converter:
1. Fixed a bug of the incorrect definition of the CollLib of the library genre.
2. Fixed the bug of the wrong definition of the genre scheme for the CollLib library when validated after export.

OoFBTools-3.3
A. Converter:
1. Fixed the bug of incorrect definition of the Genre code of all schemes.
6 changes: 5 additions & 1 deletion doc/ChangeLog_Rus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1623,4 +1623,8 @@ OOoFBTools-3.1
OOoFBTools-3.2
А. Конвертер:
1. Исправлен баг неверного определения кода Жанра CollLib библиотеки.
2. Исправлен баг неверного определения схемы Жанра для CollLib библиотеки при валидации после экспорта.
2. Исправлен баг неверного определения схемы Жанра для CollLib библиотеки при валидации после экспорта.

OOoFBTools-3.3
А. Конвертер:
1. Исправлен баг неверного определения кода Жанра всех схем.
4 changes: 2 additions & 2 deletions oxt/OOoFBTools/ExportToFB21.xba
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ End Sub
Function GetWorkFB2Schema() As String
On Error Resume Next
Dim sFB21 As String, sFB2LibRusEc As String, sFB2Flibusta As String, sFBUnion As String, sFBCoolLib As String
sFB21 = "0" : sFB2LibRusEc = "0" : sFB2Flibusta = "0" : sFBUnion = "0"
sFB21 = "0" : sFB2LibRusEc = "0" : sFB2Flibusta = "0" : sFBUnion = "0" : sFBCoolLib = "0"
Dim sFileName As String : sFileName = getOOoFBToolsSettingsDir() & sConstFB2PropEditorSettings
Dim nX As Long, nY As Long

Expand Down Expand Up @@ -520,7 +520,7 @@ Function GetWorkFB2Schema() As String
If sFB21 = 1 Then
GetWorkFB2Schema = NativeSeparator() & "fb2-schema" & NativeSeparator() & "FictionBook.xsd"
ElseIf sFB2LibRusEc = 1 Then
GetWorkFB2Schema = NativeSeparator() & "fb2-librusec-schem" & NativeSeparator() & "FictionBook.xsd"
GetWorkFB2Schema = NativeSeparator() & "fb2-librusec-schema" & NativeSeparator() & "FictionBook.xsd"
ElseIf sFB2Flibusta = 1 Then
GetWorkFB2Schema = NativeSeparator() & "fb2-flibusta-schema" & NativeSeparator() & "FictionBook.xsd"
ElseIf sFBUnion = 1 Then
Expand Down
2 changes: 1 addition & 1 deletion oxt/description.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="DikBSD.OOoFBTools" />
<version value="3.2" />
<version value="3.3" />
<dependencies>
<OpenOffice.org-minimal-version value="3.0" dep:name="OpenOffice.org 3.0"/>
</dependencies>
Expand Down
Loading

0 comments on commit 60d3487

Please sign in to comment.