More fixes
This commit is contained in:
parent
3f8fd4f186
commit
2fd1adc5bc
1 changed files with 10 additions and 3 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="Hyphenations" script:language="StarBasic">Private Sub markHyph3
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Hyphenations" script:language="StarBasic">Private Sub markHyph4
|
||||
End sub
|
||||
|
||||
Private Sub convertHyphInDoc()
|
||||
|
@ -139,7 +139,7 @@ Private Sub convertParaHyphens(para)
|
|||
replaceHyphen(autoHyphens(i),lineNumbers(i))
|
||||
Next i
|
||||
EndIf
|
||||
' verifyHyphenation(lineEnds,lineShifts)
|
||||
verifyHyphenation(lineEnds)
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -157,6 +157,11 @@ Private Sub verifyHyphenation(lineEnds() As Object)
|
|||
Stop
|
||||
EndIf
|
||||
Next i
|
||||
' dim description as String
|
||||
' description = "Проверка прошла успешно"
|
||||
' If NOT confirm(description) Then
|
||||
' Stop
|
||||
' EndIf
|
||||
End Sub
|
||||
|
||||
|
||||
|
@ -230,6 +235,8 @@ Private Sub compressLine(tCurs As Object)
|
|||
tPortion = vCurs.Text.createTextCursorByRange(startPosition)
|
||||
tPortion.goToRange(tLine.Start,true)
|
||||
addToArray(textPortions(),tPortion)
|
||||
Else
|
||||
addToArray(textPortions(),tLine)
|
||||
EndIf
|
||||
|
||||
vCurs.goToRange(tCurs,false)
|
||||
|
@ -412,4 +419,4 @@ Private Function confirm(description)
|
|||
EndIf
|
||||
|
||||
End Function
|
||||
</script:module>
|
||||
</script:module>
|
Loading…
Add table
Reference in a new issue