Copy space if endnote is empty
This commit is contained in:
parent
f2cf656958
commit
383c0c832d
2 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<identifier value="pro.litvinovg.epublishing" />
|
<identifier value="pro.litvinovg.epublishing" />
|
||||||
<version value="0.7.2" />
|
<version value="0.7.3" />
|
||||||
<platform value="all" />
|
<platform value="all" />
|
||||||
<display-name>
|
<display-name>
|
||||||
<name lang="ru">Инструменты для создания электронных изданий</name>
|
<name lang="ru">Инструменты для создания электронных изданий</name>
|
||||||
|
|
|
@ -291,6 +291,9 @@ Sub convertNativeEndnoteToCustom(sign As String, nativeEndNoteTextRange As Objec
|
||||||
oViewCursor = ThisComponent.CurrentController.getViewCursor()
|
oViewCursor = ThisComponent.CurrentController.getViewCursor()
|
||||||
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.Start,false)
|
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.Start,false)
|
||||||
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.End,true)
|
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.End,true)
|
||||||
|
If oViewCursor.String = "" Then
|
||||||
|
oViewCursor.String = " "
|
||||||
|
EndIf
|
||||||
unoCut()
|
unoCut()
|
||||||
oViewCursor.goToRange(outputPosition,false)
|
oViewCursor.goToRange(outputPosition,false)
|
||||||
getEndnotePara()
|
getEndnotePara()
|
||||||
|
|
Loading…
Add table
Reference in a new issue