Issue 22743 - script::XStarBasicLibraryInfo::getDialogContainer() does not work
Summary: script::XStarBasicLibraryInfo::getDialogContainer() does not work
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Linux, all
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-22 22:20 UTC by em2
Modified: 2017-05-20 11:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description em2 2003-11-22 22:20:43 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.
Comment 1 ooo 2003-12-10 12:24:14 UTC
forwarding to responsible developer
Comment 2 ab 2004-01-16 11:50:38 UTC
Correct, there is currently no way. This problem will probably be
adressed in the scope of the Scripting Framework developement.
Comment 3 christof.pintaske 2004-06-17 17:06:34 UTC
cp: retargeted to Office-Later due to limited ressources
Comment 4 ab 2005-07-27 12:12:15 UTC
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.
Comment 5 Marcus 2017-05-20 11:28:10 UTC
Reset assigne to the default "issues@openoffice.apache.org".