Hi,

> I didn't get you when you said namespaces in *.xdl and *.xcu files. The
> xmlns is defined in the beginning of the files. Am I supposed to add

from the example:

*.xdl:
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog";
                   xmlns:script="http://openoffice.org/2000/script"; 
dlg:id="FooOptionsPage" ....

*.xcu:
<oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office"
  xmlns:oor="http://openoffice.org/2001/registry";
  xmlns:xs="http://www.w2.org/2001/XMLSchema";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

i am pretty sure you have to use the 'oor:package="org.openoffice.Office" ' 
statement as show here,
not inserting your own package name ... i just had a look a my options dialogs 
too...

and the string in ' public static String[] SupportedWindowNames = 
{"FooOptionsPage"}; '
should be equal to ' dlg:id="FooOptionsPage" ' as shown here...

> If this dummy project works then I can
> put my real configuration data in the extension project and continue.

IMHO the best solution change the provided demo sourcecode step by step ...  ;-)

Oliver

-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to