diff --git a/Redaction/Clean.xba b/Redaction/Clean.xba index ff95c4a..67e1bae 100644 --- a/Redaction/Clean.xba +++ b/Redaction/Clean.xba @@ -1,6 +1,6 @@ -Sub mark37 +Sub mark38 End Sub @@ -47,10 +47,6 @@ Private Sub cleanAccordingTo(dialog As Object) statusIndicator.Start("Чистим ручное форматирование",100) cleanFormatting EndIf - If dialog.getControl("resetFootnotesStyle").state = 1 Then - statusIndicator.Start("Очищаем стили сносок",100) - resetFootnotesStyle - EndIf If dialog.getControl("replaceWhiteBackground").state = 1 Then statusIndicator.Start("Заменяем белый фон на прозрачный",100) replaceWhiteBackgroundWithTransparent @@ -117,7 +113,6 @@ Private Sub quietCleaning unicodeSymbolsConversion statusIndicator.Start("Чистим ручное форматирование",100) cleanFormatting - resetFootnotesStyle removeUnusedStyles statusIndicator.Start("Удаляем гиперссылки",100) removeHyperlinks @@ -630,6 +625,8 @@ Private Sub cleanFormatting replaceBaseWithStandard() + resetFootnotesStyle + removeDirectFormatting() convertUserFieldsToFormatting diff --git a/Redaction/CleaningDialog.xdl b/Redaction/CleaningDialog.xdl index 01f84d0..70c88c0 100644 --- a/Redaction/CleaningDialog.xdl +++ b/Redaction/CleaningDialog.xdl @@ -1,24 +1,23 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file