image tests

This commit is contained in:
George Litvinov 2019-10-16 16:17:28 +03:00
parent 827520ee7f
commit 1802ec7abb
9 changed files with 24 additions and 12 deletions

View file

@ -35,19 +35,31 @@
<value xml:lang="ru">Панель редактора</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///IPHRedaction.Validation.validate</value>
<value>macro:///IPHRedaction.Validation.validateButton</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</value>
<value>%origin%/IPHRedaction/validate</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>
</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%/IPHRedaction/testfont</value>
</prop>
</node>
</node>
<node oor:name="buttonValidate" oor:op="replace">
@ -59,14 +71,14 @@
<value xml:lang="en">Validation</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>macro:///IPHRedaction.Validation.validate</value>
<value>macro:///IPHRedaction.Validation.validateButton</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 oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/IPHRedaction/validate</value>
</prop>
</node>
<node oor:name="buttonClean" oor:op="replace">
<prop oor:name="Context" oor:type="xs:string">
@ -82,9 +94,9 @@
<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 oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/IPHRedaction/testfont</value>
</prop>
</node>

Binary file not shown.

View file

@ -71,7 +71,7 @@ Sub workaroundForDiacriticKerningBug
AskAndReplace("([:print:][\u0300-\u036F])","$1")
End Sub
Sub validate
Sub validateButton
MsgBox "Validation works!"
End Sub

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 B

View file

@ -29,8 +29,8 @@
</extension-description>
<icon>
<default xlink:href="images/img-48.png" />
<high-contrast xlink:href="images/img-48.png" />
<default xlink:href="icons/img-48.png" />
<high-contrast xlink:href="icons/img-48.png" />
</icon>
</description>