Added configuration storage
This commit is contained in:
parent
4858e854b4
commit
1045e9c871
3 changed files with 41 additions and 2 deletions
|
@ -1,10 +1,21 @@
|
|||
<?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 mark21
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark23
|
||||
|
||||
End Sub
|
||||
|
||||
Sub cleanButton
|
||||
Dim config As Object
|
||||
config = initRedactionConfiguration()
|
||||
If config.getPropertyValue("complexity") = "user" then
|
||||
quietCleaning()
|
||||
Else
|
||||
makerUpMenu()
|
||||
EndIf
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub quietCleaning
|
||||
Dim description As String
|
||||
Dim statusIndicator as Object
|
||||
statusIndicator = ThisComponent.getCurrentController.statusIndicator
|
||||
|
@ -39,7 +50,7 @@ Sub cleanButton
|
|||
loadArticleStyles
|
||||
statusIndicator.end()
|
||||
saveAndreload()
|
||||
MsgBox "Чистка завершена."
|
||||
MsgBox "Чистка завершена."
|
||||
End Sub
|
||||
|
||||
Private Sub removeFirstElementPageBreak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue