Hi, Alle 10:30, giovedì 21 luglio 2005, Jorge Marques Pelizzoni ha scritto: > Daniel, > > Thank you also for your idea, but I am afraid I don't quite get it. As far > as I know, pkgchk will only substitute that %origin% variable inside a xcu > file, right? How could I retrieve the generated information > programmatically from a UNO module? What kind of configuration data could > that be?
Daniel has pointed you on the right track, but maybe you want to see some example: This is the code-snippet made when I posted the same question on this list, time ago: http://codesnippets.services.openoffice.org/Office/Office.ArbitraryDeploy.snip BTW the latest version of the CodeSnippet creator is deployed as UNO packages and contains its own configuration schema: AddonConfiguration.xcs and data. AddonConfiguration.xcu In the module"registry" you will find the code that manages that informations If you unzip the package, you will see that it contains also some bitmaps (subfolder ./images/ ) Theese bitmaps are loaded and shown in the dialog at runtime, that should be more or less the task that you are attempting to accomplish. You can find the latest version of the package here: http://www.paolo-mantovani.org You will find other UNO packages that uses their own configuration to retrieve text or binary resources here: http://www.ooomacros.org check for example the "TextToColumns" package hope this helps Paolo Mantovani --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
