Hi Jürgen,

Le 3 janv. 11 à 12:03, Jürgen Schmidt a écrit :

Hi,

mmh, if you want to use the extension as it is see
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ Extensions/Packaging_Notes




If you prefer to integrate the extension as a fix part of OOo you probably have to tweak a little bit more.


That's what I did. More precisely, I

But keep in mind that the configuration changed and we don't have the many xcu/xcs files anymore. They are combined in *.xcd files, for
example brand.xcd


Ah, yes, I'll have a look at the new scheme.


Images are often provided in a zip container but also as single image files,

In this case as single image files (was my need).



The remaining problem would be how to address such an image from a
config file. $(insturl) is expanded some where in the framework.


It was the case +   a bad path (yes, a typo )

I solved the problem using Bootstrap. More precisely :


#if defined( OOo4Kids ) || defined( OOoLight )
OUString aConfigPath( RTL_CONSTASCII_USTRINGPARAM ("$OOO_BASE_DIR/share/config/") );
                ::rtl::Bootstrap::expandMacros( aConfigPath );


And the expandMacros did it  : the feature works now :-)


It
seems that we are missing a macro that can be used here and that can be expanded with the macro expander. Or maybe a special UCP like the one for extensions (using the the extension identifier). But this UCP don't work in this case.



Yes, doing that, I discovered the UCP world, and I think I'll learn more in the future about this great idea.


Sorry i have no real solution for you at the moment or at least i don't know one.



Thanks anyway : I solved all the issues (the interation is done now), and I'm glad to see fast answers.


Regards,
Eric

--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news





Reply via email to