Test works
This commit is contained in:
parent
034efe584b
commit
827520ee7f
4 changed files with 28 additions and 6 deletions
25
Addons.xcu
25
Addons.xcu
|
@ -44,6 +44,11 @@
|
||||||
<value>%origin%/icons/img-48</value>
|
<value>%origin%/icons/img-48</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
|
<node oor:name="buttonClean" oor:op="replace">
|
||||||
|
<prop oor:name="Context" oor:type="xs:string">
|
||||||
|
<value>com.sun.star.text.GlobalDocument,com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
|
||||||
|
</prop>
|
||||||
|
</node>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="buttonValidate" oor:op="replace">
|
<node oor:name="buttonValidate" oor:op="replace">
|
||||||
<prop oor:name="Context" oor:type="xs:string">
|
<prop oor:name="Context" oor:type="xs:string">
|
||||||
|
@ -60,7 +65,25 @@
|
||||||
<value>_self</value>
|
<value>_self</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="ImageIdentifier" oor:type="xs:string">
|
<prop oor:name="ImageIdentifier" oor:type="xs:string">
|
||||||
<value>%origin%/icons/img-48</value>
|
<value>%origin%/icons/img-48.png</value>
|
||||||
|
</prop>
|
||||||
|
</node>
|
||||||
|
<node oor:name="buttonClean" oor:op="replace">
|
||||||
|
<prop oor:name="Context" oor:type="xs:string">
|
||||||
|
<value>com.sun.star.text.GlobalDocument,com.sun.star.text.TextDocument,com.sun.star.text.WebDocument</value>
|
||||||
|
</prop>
|
||||||
|
<prop oor:name="Title" oor:type="xs:string">
|
||||||
|
<value xml:lang="ru">Чистка</value>
|
||||||
|
<value xml:lang="en">Purification</value>
|
||||||
|
</prop>
|
||||||
|
<prop oor:name="URL" oor:type="xs:string">
|
||||||
|
<value>macro:///IPHRedaction.Clean.cleanButton</value>
|
||||||
|
</prop>
|
||||||
|
<prop oor:name="Target" oor:type="xs:string">
|
||||||
|
<value>_self</value>
|
||||||
|
</prop>
|
||||||
|
<prop oor:name="ImageIdentifier" oor:type="xs:string">
|
||||||
|
<value>%origin%/icons/img-48.png</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
|
|
||||||
|
|
BIN
IPHRedaction.oxt
BIN
IPHRedaction.oxt
Binary file not shown.
|
@ -67,14 +67,13 @@
|
||||||
saveAndreload()
|
saveAndreload()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Sub cleanButton
|
||||||
|
MsgBox "Clean Works!"
|
||||||
|
End Sub
|
||||||
Sub workaroundForDiacriticKerningBug
|
Sub workaroundForDiacriticKerningBug
|
||||||
AskAndReplace("([:print:][\u0300-\u036F])","$1")
|
AskAndReplace("([:print:][\u0300-\u036F])","$1")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub validate
|
|
||||||
MsgBox TEST WORKS
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Sub executeCitationCorrection
|
Sub executeCitationCorrection
|
||||||
StartTracking
|
StartTracking
|
||||||
AskAndReplace("(?<=[:alpha:])<(?=…>)"," <")
|
AskAndReplace("(?<=[:alpha:])<(?=…>)"," <")
|
||||||
|
|
|
@ -72,7 +72,7 @@ Sub workaroundForDiacriticKerningBug
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub validate
|
Sub validate
|
||||||
MsgBox TEST WORKS
|
MsgBox "Validation works!"
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub executeCitationCorrection
|
Sub executeCitationCorrection
|
||||||
|
|
Loading…
Add table
Reference in a new issue