Apache OpenOffice (AOO) Bugzilla – Issue 22743
script::XStarBasicLibraryInfo::getDialogContainer() does not work
Last modified: 2017-05-20 11:28:10 UTC
(Yes, com::sun::star::script::XStarBasicLibraryInfo is deprecated, but there seems to be no other way to access the macros from C++.) The problem: com::sun::star::script::XStarBasicLibraryInfo::getDialogContainer() always returns a null reference. Therefore, seems to be impossible to access dialogs from C++. In particular, it's impossible to write an export filter which saves dialogs.
forwarding to responsible developer
Correct, there is currently no way. This problem will probably be adressed in the scope of the Scripting Framework developement.
cp: retargeted to Office-Later due to limited ressources
A service is available to access the application dialog library container: oDlgCont = CreateUnoService( "com.sun.star.script.ApplicationDialogLibraryContainer" ) (also for Basic modules: "com.sun.star.script.ApplicationScriptLibraryContainer") These service are not documented so far as it was not clear if the LibraryContainer API should be used officially. Should be documented now as it has become unlikely that another storage system will be used in the future.
Reset assigne to the default "issues@openoffice.apache.org".