image tests
This commit is contained in:
parent
827520ee7f
commit
1802ec7abb
9 changed files with 24 additions and 12 deletions
30
Addons.xcu
30
Addons.xcu
|
@ -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>
|
||||
|
||||
|
||||
|
|
BIN
IPHRedaction.oxt
BIN
IPHRedaction.oxt
Binary file not shown.
|
@ -71,7 +71,7 @@ Sub workaroundForDiacriticKerningBug
|
|||
AskAndReplace("([:print:][\u0300-\u036F])","$1")
|
||||
End Sub
|
||||
|
||||
Sub validate
|
||||
Sub validateButton
|
||||
MsgBox "Validation works!"
|
||||
End Sub
|
||||
|
||||
|
|
BIN
IPHRedaction/testfont_16.bmp
Normal file
BIN
IPHRedaction/testfont_16.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 822 B |
BIN
IPHRedaction/testfont_26.bmp
Normal file
BIN
IPHRedaction/testfont_26.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
IPHRedaction/testfont_26.png
Normal file
BIN
IPHRedaction/testfont_26.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 837 B |
BIN
IPHRedaction/validate_26.bmp
Normal file
BIN
IPHRedaction/validate_26.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
IPHRedaction/validate_26.png
Normal file
BIN
IPHRedaction/validate_26.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 837 B |
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue