Hello,
In a AddonConfiguration.xcs and AddonConfiguration.xcu, a StarBasic extension,
I have the key "Description2" defined (see below).
I try to access it with the following macro:
Sub test ()
Dim oRegKey
oRegKey Tools.Misc.GetRegistryKeyContent =
("/ooo.ext.BasicAddonBuilder.Configuration/" & "ProductInfo")
msgbox oRegKey.Description2
End Sub
In some cases, it does, however, in other cases, the key is not found.
When identical defined key "Description" (see below) it works *always*.
What is the problem? Do I maybe "Description2" enter into other configuration
files?
greetings,
Jörg
========================
AddonConfiguration.xcs
========================
<?xml version='1.0' encoding='UTF-8'?>
<!--
BasicAddonBuilder for OpenOffice.org
$ Version: 0.5.0 $
Copyright (C) 2006-2008 Paolo Mantovani
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
Please email me with any bug reports, questions or comments:
[email protected]
-->
<oor:component-schema oor:name="Configuration"
oor:package="ooo.ext.BasicAddonBuilder" xml:lang="en-US"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<templates>
<group oor:name="Contributor">
<prop oor:name="ContributorName" oor:type="xs:string"/>
<prop oor:name="Email" oor:type="xs:string"/>
<prop oor:name="Copyright" oor:type="xs:string"/>
</group>
<group oor:name="Translator">
<prop oor:name="TranslatorName" oor:type="xs:string"/>
<prop oor:name="Email" oor:type="xs:string"/>
<prop oor:name="Language" oor:type="xs:string"/>
</group>
<group oor:name="Message">
<prop oor:name="Text" oor:type="xs:string"
oor:localized="true"/>
</group>
<group oor:name="FileResource">
<prop oor:name="Url" oor:type="xs:string"
oor:localized="true"/>
</group>
</templates>
<component>
<group oor:name="ProductInfo">
<prop oor:name="ProductName" oor:type="xs:string"/>
<prop oor:name="Description" oor:type="xs:string"
oor:localized="true"/>
<prop oor:name="Description2" oor:type="xs:string"
oor:localized="true"/>
<prop oor:name="jms" oor:type="xs:string"
oor:localized="true"/>
<prop oor:name="Version" oor:type="xs:string"/>
<prop oor:name="License" oor:type="xs:string"/>
<prop oor:name="AuthorName" oor:type="xs:string"/>
<prop oor:name="AuthorEmail" oor:type="xs:string"/>
<prop oor:name="Copyright" oor:type="xs:string"/>
<set oor:name="Contributors"
oor:node-type="Contributor"/>
<set oor:name="Translators" oor:node-type="Translator"/>
</group>
<set oor:name="FileResources" oor:node-type="FileResource"/>
<set oor:name="Messages" oor:node-type="Message"/>
</component>
</oor:component-schema>
========================
AddonConfiguration.xcu
========================
<?xml version='1.0' encoding='UTF-8'?>
<!--
BasicAddonBuilder for OpenOffice.org
$ Version: 0.5.0 $
Copyright (C) 2006-2008 Paolo Mantovani
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
Please email me with any bug reports, questions or comments:
[email protected]
-->
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Configuration"
oor:package="ooo.ext.BasicAddonBuilder">
<!-- General info -->
<node oor:name="ProductInfo">
<prop oor:name="ProductName" oor:type="xs:string">
<value>BasicAddonBuilder</value>
</prop>
<prop oor:name="Description" oor:type="xs:string"
oor:localized="true">
<value>A wizard for creating OpenOffice.org Extensions
(Add-on's) from StarBasic libraries</value>
<value xml:lang="en">A wizard for creating
OpenOffice.org Extensions (Add-on's) from StarBasic libraries</value>
<value xml:lang="it">Creazione guidata di Estensioni
per OpenOffice.org (Add-on's) in StarBasic</value>
<value xml:lang="de">Ein Assistent zum Exportieren von
StarBasic Bibliotheken als UNO-Packages </value>
<value xml:lang="es-AR">Un asistente para exportar
bibliotecas StarBasic como paquetes UNO</value>
<value xml:lang="fr">Assistant de création
d'extension OpenOffice.org (Add-ons) à partir de librairies
StarBasic</value>
<value xml:lang="da">En guide til at danne
OpenOffice.org Udvidelser (Add-ons) fra StarBasic biblioteker</value>
</prop>
<prop oor:name="Description2" oor:type="xs:string"
oor:localized="true">
<value>This version contains a patch, created by
Jörg Schmidt ([email protected]). For more information, see the module
"patch_information".</value>
<value xml:lang="en">This version contains a patch,
created by Jörg Schmidt ([email protected]). For more information, see
the module "patch_information".</value>
<value xml:lang="it">Questa versione contiene una
patch, creato da Jörg Schmidt ([email protected]). Per ulteriori
informazioni, vedere il modulo "patch_information".</value>
<value xml:lang="de">Diese Version beinhaltet einen
Patch, erstellt von Jörg Schmidt ([email protected]). Weitere
Informationen finden Sie im Modul "patch_information".</value>
<value xml:lang="fr">Cette version contient un patch,
créé par Jörg Schmidt ([email protected]). Pour plus
d'informations, consultez le module "patch_information".</value>
<value xml:lang="da">Denne version indeholder en patch,
skabt af Jörg Schmidt ([email protected]). For mere information, se
modulet "patch_information".</value>
</prop>
...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]