To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=56526 Issue #:|56526 Summary:|Macro Library name inconsistency (dots in a library |name) Component:|framework Version:|OOo 2.0 Platform:|All URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|tm Reported by:|rvojta
------- Additional comments from [EMAIL PROTECTED] Mon Oct 24 01:56:00 -0700 2005 ------- Dots are not allowed in a Macro Library name. You can check it with Tools - Macros - Organize Dialogs, tab Libraries, new Library and name like 'MyLibrary.withDot'. You'll receive dialog with Invalid Name message. Try to create UNO package and put one dialog there. Use library name with dot in the dialog.xlb file (library:name="MyLibrary.withDot"). Install this UNO package and run OpenOffice.org. Library with dot appears in the Tools - Macros - Organize Dialogs even with dots in the name. Click on the dialog, edit it and it works. Now, add some protocol handling code in your UNO package and try to reuse this dialog with XDialogProvider.createDialog(URL). It doesn't work and you'll see: java.lang.reflect.UndeclaredThrowableException Remove dots from a library name and XDialogProvider.createDialog(URL) works. I see two ways now: - unopkg tool should raises warning about dots in the library name - allow library name with dots IMHO, the second one is better, because it allows you easily maintain larger libraries with lot of dialogs. Something like packages in Java. Example: - library name in dialog.xlb can be name.vojta.openoffice.CzechExtension - dialog (xdl) should be placed package-uno.zip/name/vojta/openoffice/CzechExtension - dialogURL with vnd.sun.star.script:name.vojta.openoffice.CzechExtension.MyDialog?location=application can be used to execute this dialog --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
