Separated footnotes style cleaning from format cleaning
This commit is contained in:
parent
ede7ffb41d
commit
072b46aacc
2 changed files with 9 additions and 3 deletions
|
@ -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="Clean" script:language="StarBasic">Sub mark30
|
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark31
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
@ -47,6 +47,11 @@ Private Sub cleanAccordingTo(dialog)
|
||||||
statusIndicator.Start("Чистим ручное форматирование",100)
|
statusIndicator.Start("Чистим ручное форматирование",100)
|
||||||
cleanFormatting
|
cleanFormatting
|
||||||
EndIf
|
EndIf
|
||||||
|
If dialog.getControl("resetFootnotesStyle").state = 1 Then
|
||||||
|
statusIndicator.Start("Очищаем стили сносок",100)
|
||||||
|
resetFootnotesStyle
|
||||||
|
EndIf
|
||||||
|
|
||||||
If dialog.getControl("removeUnusedStyles").state = 1 Then
|
If dialog.getControl("removeUnusedStyles").state = 1 Then
|
||||||
removeUnusedStyles
|
removeUnusedStyles
|
||||||
EndIf
|
EndIf
|
||||||
|
@ -109,6 +114,7 @@ Private Sub quietCleaning
|
||||||
unicodeSymbolsConversion
|
unicodeSymbolsConversion
|
||||||
statusIndicator.Start("Чистим ручное форматирование",100)
|
statusIndicator.Start("Чистим ручное форматирование",100)
|
||||||
cleanFormatting
|
cleanFormatting
|
||||||
|
resetFootnotesStyle
|
||||||
removeUnusedStyles
|
removeUnusedStyles
|
||||||
statusIndicator.Start("Удаляем гиперссылки",100)
|
statusIndicator.Start("Удаляем гиперссылки",100)
|
||||||
removeHyperlinks
|
removeHyperlinks
|
||||||
|
@ -617,7 +623,7 @@ Private Sub cleanFormatting
|
||||||
|
|
||||||
convertFormattingFromText
|
convertFormattingFromText
|
||||||
|
|
||||||
resetFootnotesStyle
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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.Redaction" />
|
<identifier value="pro.litvinovg.Redaction" />
|
||||||
<version value="0.5.5" />
|
<version value="0.5.6" />
|
||||||
<platform value="all" />
|
<platform value="all" />
|
||||||
<display-name>
|
<display-name>
|
||||||
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
||||||
|
|
Loading…
Add table
Reference in a new issue