fix: fixed footnote sign position while converting from links
This commit is contained in:
parent
79f8164650
commit
d05aed70d6
1 changed files with 2 additions and 12 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="Archive" script:language="StarBasic" script:moduleType="normal">Sub archMark21
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Archive" script:language="StarBasic" script:moduleType="normal">Sub archMark22
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -484,6 +484,7 @@ Function isLowerCase(character As String) As Boolean
|
|||
isLowerCase = false
|
||||
End Function
|
||||
|
||||
|
||||
Sub balancePara(targetPara As Object)
|
||||
' Globalscope.BasicLibraries.LoadLibrary( "MRILib" )
|
||||
Dim oViewCursor As Object
|
||||
|
@ -709,8 +710,6 @@ Function calculateMedianParaLen(oPara As Object) As Integer
|
|||
EndIf
|
||||
End Function
|
||||
|
||||
|
||||
|
||||
Sub convertBookmarksToFootnotes()
|
||||
Dim description As String
|
||||
description = getTranslation("convertIndesignFoonotesConfirmation")
|
||||
|
@ -749,9 +748,7 @@ Sub convertBookmarksToFootnotes()
|
|||
EndIf
|
||||
convertLinkToFootnote(forwardLink,backwardLink)
|
||||
EndIf
|
||||
|
||||
Next i
|
||||
|
||||
resetNotesStyle
|
||||
MsgBox getTranslation("convertIndesignFootnotesFinish")
|
||||
End Sub
|
||||
|
@ -831,13 +828,6 @@ Sub removeFootnoteSignInText
|
|||
character = oViewCursor.String
|
||||
Loop
|
||||
oViewCursor.goRight(1,true)
|
||||
character = oViewCursor.String
|
||||
Do While isLinkCharacter(character)
|
||||
oViewCursor.String = ""
|
||||
oViewCursor.goRight(1,true)
|
||||
character = oViewCursor.String
|
||||
Loop
|
||||
oViewCursor.goRight(1,false)
|
||||
End Sub
|
||||
|
||||
Function isLinkCharacter(character As String) As Boolean
|
||||
|
|
Loading…
Add table
Reference in a new issue