Copy space if endnote is empty

This commit is contained in:
Georgy Litvinov 2021-06-16 15:55:06 +02:00
parent f2cf656958
commit 383c0c832d
2 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,7 @@
xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="pro.litvinovg.epublishing" />
<version value="0.7.2" />
<version value="0.7.3" />
<platform value="all" />
<display-name>
<name lang="ru">Инструменты для создания электронных изданий</name>

View file

@ -291,6 +291,9 @@ Sub convertNativeEndnoteToCustom(sign As String, nativeEndNoteTextRange As Objec
oViewCursor = ThisComponent.CurrentController.getViewCursor()
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.Start,false)
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.End,true)
If oViewCursor.String = &quot;&quot; Then
oViewCursor.String = &quot; &quot;
EndIf
unoCut()
oViewCursor.goToRange(outputPosition,false)
getEndnotePara()