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"?>
|
||||
<!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
|
||||
|
||||
|
@ -47,6 +47,11 @@ Private Sub cleanAccordingTo(dialog)
|
|||
statusIndicator.Start("Чистим ручное форматирование",100)
|
||||
cleanFormatting
|
||||
EndIf
|
||||
If dialog.getControl("resetFootnotesStyle").state = 1 Then
|
||||
statusIndicator.Start("Очищаем стили сносок",100)
|
||||
resetFootnotesStyle
|
||||
EndIf
|
||||
|
||||
If dialog.getControl("removeUnusedStyles").state = 1 Then
|
||||
removeUnusedStyles
|
||||
EndIf
|
||||
|
@ -109,6 +114,7 @@ Private Sub quietCleaning
|
|||
unicodeSymbolsConversion
|
||||
statusIndicator.Start("Чистим ручное форматирование",100)
|
||||
cleanFormatting
|
||||
resetFootnotesStyle
|
||||
removeUnusedStyles
|
||||
statusIndicator.Start("Удаляем гиперссылки",100)
|
||||
removeHyperlinks
|
||||
|
@ -617,7 +623,7 @@ Private Sub cleanFormatting
|
|||
|
||||
convertFormattingFromText
|
||||
|
||||
resetFootnotesStyle
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue