new version
This commit is contained in:
parent
c9b2e2d6fd
commit
15a423b3c4
3 changed files with 9 additions and 11 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.5.8" />
|
<version value="0.5.9" />
|
||||||
<platform value="all" />
|
<platform value="all" />
|
||||||
<display-name>
|
<display-name>
|
||||||
<name lang="ru">Инструменты для создания электронных изданий</name>
|
<name lang="ru">Инструменты для создания электронных изданий</name>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
<!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 archMark9
|
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Archive" script:language="StarBasic" script:moduleType="normal">Sub archMark10
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
@ -193,19 +193,19 @@ sub convertIndesignPageBreaks
|
||||||
MsgBox getTranslation("convertIndesignPageBreaksFinish")
|
MsgBox getTranslation("convertIndesignPageBreaksFinish")
|
||||||
end Sub
|
end Sub
|
||||||
|
|
||||||
Sub adjustLastLine(oTextCursor)
|
Sub adjustLastLine(oTextCursor As Object)
|
||||||
oTextCursor.ParaAdjust = 2
|
oTextCursor.ParaAdjust = 2
|
||||||
oTextCursor.ParaLastLineAdjust = 2
|
oTextCursor.ParaLastLineAdjust = 2
|
||||||
balancePara(oTextCursor)
|
balancePara(oTextCursor)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub adjustFirstLine(oTextCursor)
|
Sub adjustFirstLine(oTextCursor As Object)
|
||||||
oTextCursor.goRight(1,false)
|
oTextCursor.goRight(1,false)
|
||||||
oTextCursor.ParaFirstLineIndent = 0
|
oTextCursor.ParaFirstLineIndent = 0
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Function isLowerCase(character) As Boolean
|
Function isLowerCase(character As String) As Boolean
|
||||||
Dim charNum As Integer
|
Dim charNum As Integer
|
||||||
If (character = "") Then
|
If (character = "") Then
|
||||||
charNum = ASC(""+0)
|
charNum = ASC(""+0)
|
||||||
|
@ -219,7 +219,7 @@ Function isLowerCase(character) As Boolean
|
||||||
isLowerCase = false
|
isLowerCase = false
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Sub balancePara(Optional targetPara As Object)
|
Sub balancePara(targetPara As Object)
|
||||||
' Globalscope.BasicLibraries.LoadLibrary( "MRILib" )
|
' Globalscope.BasicLibraries.LoadLibrary( "MRILib" )
|
||||||
Dim oViewCursor As Object
|
Dim oViewCursor As Object
|
||||||
Dim oTextCursor As Object
|
Dim oTextCursor As Object
|
||||||
|
@ -238,9 +238,7 @@ Sub balancePara(Optional targetPara As Object)
|
||||||
initialLineCount = 0
|
initialLineCount = 0
|
||||||
|
|
||||||
oViewCursor = ThisComponent.CurrentController.getViewCursor()
|
oViewCursor = ThisComponent.CurrentController.getViewCursor()
|
||||||
If NOT IsMissing(targetPara) Then
|
oViewCursor.goToRange(targetPara, false)
|
||||||
oViewCursor.goToRange(targetPara, false)
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
oTextCursor = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
oTextCursor = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
||||||
oPara = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
oPara = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<description xmlns="http://openoffice.org/extensions/update/2006"
|
<description xmlns="http://openoffice.org/extensions/update/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.5.8" />
|
<version value="0.5.9" />
|
||||||
<update-download>
|
<update-download>
|
||||||
<src xlink:href="https://dev.litvinovg.pro/litvinovg/epublishing/uploads/80ff2b1887d50df27b4e0d1a1d616a0e/ePublishing.oxt" />
|
<src xlink:href="https://dev.litvinovg.pro/litvinovg/epublishing/uploads/f468e6b9a01e9a1c5f81913dc95f9507/ePublishing.oxt" />
|
||||||
</update-download>
|
</update-download>
|
||||||
<release-notes>
|
<release-notes>
|
||||||
<src xlink:href="https://dev.litvinovg.pro/litvinovg/epublishing/-/raw/master/releasenotes.txt" lang="en" />
|
<src xlink:href="https://dev.litvinovg.pro/litvinovg/epublishing/-/raw/master/releasenotes.txt" lang="en" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue