In my pc the dialog shows the two images in their respective buttons but when executing the extension in another pc the images are lost.
Please can you tell me how to change the absolute reference of the image so that my extension works well on other PCs.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Dialog1" dlg:left="159" dlg:top="91" dlg:width="80" dlg:height="53" dlg:help-text="&0.Dialog1.HelpText" dlg:closeable="true" dlg:moveable="true" dlg:title="&1.Dialog1.Title">
<dlg:bulletinboard>
<dlg:button dlg:id="CommandButton1" dlg:tab-index="0" dlg:left="8" dlg:top="3" dlg:width="28" dlg:height="28" dlg:value="&15.Dialog1.CommandButton1.Label" dlg:image-src="file:///C:/Users/Lucrecia/Desktop/plug%20final%20lucre/DropCaps/images/DropCaps.png">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:DropCaps.DropCaps.setDropCaps?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="CommandButton2" dlg:tab-index="1" dlg:left="41" dlg:top="3" dlg:width="28" dlg:height="28" dlg:value="&16.Dialog1.CommandButton2.Label" dlg:image-src="file:///C:/Users/Lucrecia/Desktop/plug%20final%20lucre/DropCaps/images/NoneDropCaps.png">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:DropCaps.DropCaps.rmvDropCaps?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="CommandButton3" dlg:tab-index="3" dlg:left="15" dlg:top="38" dlg:width="55" dlg:height="14" dlg:help-text="&111.Dialog1.CommandButton3.HelpText" dlg:value="Cancel">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:DropCaps.DropCaps.Cancelar_Dialogo?language=Basic&location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
https://drive.google.com/open?id=0B_PjB ... Xg1VGZfMzQ