| View previous topic :: View next topic |
| Author |
Message |
echidna21 General User

Joined: 21 Jul 2010 Posts: 5
|
Posted: Thu Aug 05, 2010 5:40 am Post subject: Add image files to ooo extension |
|
|
I created a Dialog with imagecontiners containing images I have on my Desktop.
When I created the oxt and I installed it on another computer the dialog was without the images.
I tried to put them into the oxt file. But after this operation how I can say to my dialog to use that images?
Echidna21 |
|
| Back to top |
|
 |
B Marcelly Super User

Joined: 12 May 2004 Posts: 1414 Location: France
|
Posted: Thu Aug 05, 2010 6:12 am Post subject: |
|
|
Hi,
You can get the address of your installed extension, see Dev'Guide here.
Once you have the location of this folder, complete the URL with the address of your image.
Store the URL into yourControl.Model.ImageURL _________________ Bernard
OpenOffice.org 1.1.5 fr / OpenOffice.org 3.4.1 en-US + langpacks, MS-Windows XP Home SP3
This forum is unusable, use instead Apache OpenOffice forums |
|
| Back to top |
|
 |
echidna21 General User

Joined: 21 Jul 2010 Posts: 5
|
Posted: Fri Aug 06, 2010 1:47 am Post subject: |
|
|
It work!
Thank you very much!
Echidna21 |
|
| Back to top |
|
 |
|