Add e.g. a string entry to your addons.xcu, using %origin%. The token %origin%
will be replaced with the actual cache directory of the .xcufile, so you can
point to a file next to your addon.xcu, e.g. %origin%/my_file.txt
You have to keep in mind that you get a macrofied url when retrieving the string out of configuration, e.g. vnd.sun.star.expand:$USER_UNO_PACKAGES_CACHE/my...../my_file.txt If you need a file url, you have to 1. cut out the scheme-specific-part (everything behind
vnd.sun.star.expand:) 2. decode that part (%xx etc) 3. expand the result using the macro expander object you get fromcomponent
content: key is "/singletons/com.sun.star.util.theMacroExpander" hope this helps, regards, --Daniel if you need your own configuration you should define and deploy your own
configuration schemata (*.xcs) and an appropriate configuration file (*.xcu)
with your component. It make no sense to reuse exsisting values in the
Addons.xcu with maybe a different meaning but the same type you need. Think about a special configuration schemata for your component. Juergen |