LibreOffice Module basic (master) 1
|
#include <basmgr.hxx>
Public Member Functions | |
BasicManager (SotStorage &rStorage, std::u16string_view rBaseURL, StarBASIC *pParentFromStdLib=nullptr, OUString const *pLibPath=nullptr, bool bDocMgr=false) | |
BasicManager (StarBASIC *pStdLib, OUString const *pLibPath=nullptr, bool bDocMgr=false) | |
virtual | ~BasicManager () override |
void | SetStorageName (const OUString &rName) |
const OUString & | GetStorageName () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
sal_uInt16 | GetLibCount () const |
StarBASIC * | GetLib (sal_uInt16 nLib) const |
StarBASIC * | GetLib (std::u16string_view rName) const |
sal_uInt16 | GetLibId (std::u16string_view rName) const |
OUString | GetLibName (sal_uInt16 nLib) |
void | SetLibraryContainerInfo (const LibraryContainerInfo &rInfo) |
announces the library containers which belong to this BasicManager More... | |
const css::uno::Reference< css::script::XPersistentLibraryContainer > & | GetDialogLibraryContainer () const |
const css::uno::Reference< css::script::XPersistentLibraryContainer > & | GetScriptLibraryContainer () const |
bool | LoadLib (sal_uInt16 nLib) |
bool | RemoveLib (sal_uInt16 nLib, bool bDelBasicFromStorage) |
bool | IsBasicModified () const |
std::vector< BasicError > & | GetErrors () |
void | SetGlobalUNOConstant (const OUString &rName, const css::uno::Any &_rValue, css::uno::Any *pOldValue=nullptr) |
sets a global constant in the basic library, referring to some UNO object, to a new value. More... | |
bool | GetGlobalUNOConstant (const OUString &rName, css::uno::Any &aOut) |
retrieves a global constant in the basic library, referring to some UNO object, returns true if a value is found ( value is in aOut ) false otherwise. More... | |
bool | ImgVersion12PsswdBinaryLimitExceeded (std::vector< OUString > &_out_rModuleNames) |
determines whether there are password-protected modules whose size exceeds the B_IMG_VERSION_12 module size More... | |
bool | HasExeCode (std::u16string_view) |
bool | HasMacro (OUString const &i_fullyQualifiedName) const |
determines whether the Basic Manager has a given macro, given by fully qualified name More... | |
ErrCode | ExecuteMacro (OUString const &i_fullyQualifiedName, SbxArray *i_arguments, SbxValue *i_retValue) |
executes a given macro More... | |
ErrCode | ExecuteMacro (OUString const &i_fullyQualifiedName, std::u16string_view i_commaSeparatedArgs, SbxValue *i_retValue) |
executes a given macro More... | |
Public Member Functions inherited from SfxBroadcaster | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
Private Member Functions | |
bool | ImpLoadLibrary (BasicLibInfo *pLibInfo, SotStorage *pCurStorage) |
void | ImpCreateStdLib (StarBASIC *pParentFromStdLib) |
void | ImpMgrNotLoaded (const OUString &rStorageName) |
BasicLibInfo * | CreateLibInfo () |
void | LoadBasicManager (SotStorage &rStorage, std::u16string_view rBaseURL) |
void | LoadOldBasicManager (SotStorage &rStorage) |
bool | ImplLoadBasic (SvStream &rStrm, StarBASICRef &rOldBasic) const |
BasicLibInfo * | FindLibInfo (StarBASIC const *pBasic) |
BASIC_DLLPRIVATE bool | IsReference (sal_uInt16 nLib) |
BASIC_DLLPRIVATE StarBASIC * | GetStdLib () const |
BASIC_DLLPRIVATE StarBASIC * | AddLib (SotStorage &rStorage, const OUString &rLibName, bool bReference) |
BASIC_DLLPRIVATE void | RemoveLib (sal_uInt16 nLib) |
BASIC_DLLPRIVATE bool | HasLib (std::u16string_view rName) const |
BASIC_DLLPRIVATE StarBASIC * | CreateLibForLibContainer (const OUString &rLibName, const css::uno::Reference< css::script::XLibraryContainer > &xScriptCont) |
BASIC_DLLPRIVATE StarBASIC * | CreateLib (const OUString &rLibName) |
BASIC_DLLPRIVATE StarBASIC * | CreateLib (const OUString &rLibName, const OUString &Password, const OUString &LinkTargetURL) |
BasicManager & | operator= (BasicManager const &)=delete |
BasicManager (BasicManager const &)=delete | |
Static Private Member Functions | |
static bool | ImplEncryptStream (SvStream &rStream) |
static void | CheckModules (StarBASIC *pBasic, bool bReference) |
Private Attributes | |
std::vector< BasicError > | aErrors |
OUString | aName |
OUString | maStorageName |
bool | mbDocMgr |
LibraryContainerInfo | maContainerInfo |
std::vector< std::unique_ptr< BasicLibInfo > > | maLibs |
OUString | aBasicLibPath |
Friends | |
class | LibraryContainer_Impl |
class | StarBasicAccess_Impl |
class | BasMgrContainerListenerImpl |
class | ::basic::ImplRepository |
Additional Inherited Members | |
Protected Member Functions inherited from SfxBroadcaster | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Definition at line 97 of file basmgr.hxx.
BasicManager::BasicManager | ( | SotStorage & | rStorage, |
std::u16string_view | rBaseURL, | ||
StarBASIC * | pParentFromStdLib = nullptr , |
||
OUString const * | pLibPath = nullptr , |
||
bool | bDocMgr = false |
||
) |
Definition at line 427 of file basmgr.cxx.
References aBasicLibPath, CreateLibInfo(), DBG_ASSERT, DontStore, ExtSearch, BasicLibInfo::GetLib(), GetLib(), GetLibCount(), INetURLObject::GetMainURL(), SotStorage::GetName(), GetStdLib(), ImpCreateStdLib(), StarBASIC::Insert(), SotStorage::IsStream(), LoadBasicManager(), LoadOldBasicManager(), maLibs, maStorageName, mbDocMgr, INetURLObject::NONE, SbxBase::SetFlag(), BasicLibInfo::SetLib(), BasicLibInfo::SetLibName(), StarBASIC::SetModified(), SbxVariable::SetParent(), szManagerStream, szOldManagerStream, and szStdLibName.
BasicManager::BasicManager | ( | StarBASIC * | pStdLib, |
OUString const * | pLibPath = nullptr , |
||
bool | bDocMgr = false |
||
) |
Definition at line 589 of file basmgr.cxx.
References aBasicLibPath, CreateLibInfo(), DBG_ASSERT, DontStore, ExtSearch, BasicLibInfo::GetLib(), SbxBase::SetFlag(), BasicLibInfo::SetLib(), BasicLibInfo::SetLibName(), and szStdLibName.
|
overridevirtual |
Definition at line 808 of file basmgr.cxx.
References SfxBroadcaster::Broadcast().
|
privatedelete |
|
private |
Definition at line 1012 of file basmgr.cxx.
References CreateLibInfo(), DBG_ASSERT, BasicLibInfo::GetLib(), INetURLObject::GetMainURL(), SotStorage::GetName(), HasLib(), ImpLoadLibrary(), maLibs, INetURLObject::NONE, RemoveLib(), BasicLibInfo::SetLibName(), BasicLibInfo::SetReference(), BasicLibInfo::SetRelStorageName(), BasicLibInfo::SetStorageName(), and szImbedded.
Referenced by CreateLib(), and LoadOldBasicManager().
|
staticprivate |
Definition at line 986 of file basmgr.cxx.
References DBG_ASSERT, StarBASIC::GetErrorCode(), and pLib.
Referenced by ImpLoadLibrary().
|
private |
Definition at line 1264 of file basmgr.cxx.
References CreateLibInfo(), DontStore, ExtSearch, tools::SvRef< typename T >::get(), BasicLibInfo::GetLib(), GetLib(), GetStdLib(), StarBASIC::Insert(), mbDocMgr, SbxBase::SetFlag(), BasicLibInfo::SetLib(), and BasicLibInfo::SetLibName().
Referenced by CreateLib(), and StarBasicAccess_Impl::createLibrary().
|
private |
Definition at line 1281 of file basmgr.cxx.
References AddLib(), CreateLib(), DBG_ASSERT, FindLibInfo(), GetLib(), Password, pLib, BasicLibInfo::SetPassword(), and TOOLS_WARN_EXCEPTION.
|
private |
Definition at line 1318 of file basmgr.cxx.
References CreateLibInfo(), DontStore, ExtSearch, BasicLibInfo::GetLib(), GetLib(), GetStdLib(), StarBASIC::Insert(), mbDocMgr, SbxBase::SetFlag(), BasicLibInfo::SetLib(), BasicLibInfo::SetLibName(), and BasicLibInfo::SetLibraryContainer().
Referenced by BasMgrContainerListenerImpl::insertLibraryImpl().
|
private |
Definition at line 828 of file basmgr.cxx.
References maLibs.
Referenced by AddLib(), BasicManager(), CreateLib(), CreateLibForLibContainer(), ImpCreateStdLib(), and ImpMgrNotLoaded().
ErrCode BasicManager::ExecuteMacro | ( | OUString const & | i_fullyQualifiedName, |
SbxArray * | i_arguments, | ||
SbxValue * | i_retValue | ||
) |
executes a given macro
Definition at line 1494 of file basmgr.cxx.
References SbMethod::Call(), ERRCODE_BASIC_PROC_UNDEFINED, ERRCODE_NONE, and SbxVariable::SetParameters().
ErrCode BasicManager::ExecuteMacro | ( | OUString const & | i_fullyQualifiedName, |
std::u16string_view | i_commaSeparatedArgs, | ||
SbxValue * | i_retValue | ||
) |
executes a given macro
Definition at line 1509 of file basmgr.cxx.
References ERRCODE_BASIC_PROC_UNDEFINED, SbxObject::Execute(), SbxBase::GetError(), SbxVariable::GetName(), SbxVariable::GetParent(), o3tl::getToken(), and nPos.
|
private |
Definition at line 1337 of file basmgr.cxx.
References maLibs.
Referenced by CreateLib(), and LibraryContainer_Impl::getByName().
const uno::Reference< script::XPersistentLibraryContainer > & BasicManager::GetDialogLibraryContainer | ( | ) | const |
Definition at line 516 of file basmgr.cxx.
References maContainerInfo, and LibraryContainerInfo::mxDialogCont.
|
inline |
Definition at line 163 of file basmgr.hxx.
bool BasicManager::GetGlobalUNOConstant | ( | const OUString & | rName, |
css::uno::Any & | aOut | ||
) |
retrieves a global constant in the basic library, referring to some UNO object, returns true if a value is found ( value is in aOut ) false otherwise.
Definition at line 1363 of file basmgr.cxx.
References GetStdLib(), and StarBASIC::GetUNOConstant().
StarBASIC * BasicManager::GetLib | ( | sal_uInt16 | nLib | ) | const |
Definition at line 1169 of file basmgr.cxx.
References DBG_ASSERT, and maLibs.
Referenced by BasMgrContainerListenerImpl::addLibraryModulesImpl(), StarBasicAccess_Impl::addModule(), BasicManager(), CreateLib(), CreateLibForLibContainer(), BasMgrContainerListenerImpl::elementInserted(), BasMgrContainerListenerImpl::elementRemoved(), BasMgrContainerListenerImpl::elementReplaced(), LibraryContainer_Impl::getByName(), GetStdLib(), HasExeCode(), ImgVersion12PsswdBinaryLimitExceeded(), basic::ImplRepository::impl_getDefaultAppBasicLibrary(), basic::SfxScriptLibraryContainer::implLoadPasswordLibrary(), BasMgrContainerListenerImpl::insertLibraryImpl(), LoadLib(), LibraryContainer_Impl::removeByName(), RTL_Impl_CreateUnoDialog(), and basic::SfxLibraryContainer::setVBACompatibilityMode().
StarBASIC * BasicManager::GetLib | ( | std::u16string_view | rName | ) | const |
Definition at line 1185 of file basmgr.cxx.
References maLibs.
sal_uInt16 BasicManager::GetLibCount | ( | ) | const |
Definition at line 1164 of file basmgr.cxx.
References maLibs.
Referenced by BasicManager(), LibraryContainer_Impl::getElementNames(), and LibraryContainer_Impl::hasElements().
sal_uInt16 BasicManager::GetLibId | ( | std::u16string_view | rName | ) | const |
Definition at line 1197 of file basmgr.cxx.
References equalsIgnoreAsciiCase(), GetLibName(), i, LIB_NOTFOUND, and maLibs.
Referenced by BasMgrContainerListenerImpl::elementRemoved(), and LibraryContainer_Impl::removeByName().
OUString BasicManager::GetLibName | ( | sal_uInt16 | nLib | ) |
Definition at line 1221 of file basmgr.cxx.
References DBG_ASSERT, and maLibs.
Referenced by LibraryContainer_Impl::getElementNames(), and GetLibId().
|
inline |
Definition at line 135 of file basmgr.hxx.
References aName.
Referenced by basic::SfxLibraryContainer::setVBACompatibilityMode().
const uno::Reference< script::XPersistentLibraryContainer > & BasicManager::GetScriptLibraryContainer | ( | ) | const |
Definition at line 521 of file basmgr.cxx.
References maContainerInfo, and LibraryContainerInfo::mxScriptCont.
Referenced by ImgVersion12PsswdBinaryLimitExceeded().
|
private |
Definition at line 1179 of file basmgr.cxx.
References GetLib(), and pLib.
Referenced by BasicManager(), CreateLib(), CreateLibForLibContainer(), GetGlobalUNOConstant(), ImpLoadLibrary(), LoadLib(), RemoveLib(), and SetGlobalUNOConstant().
|
inline |
Definition at line 133 of file basmgr.hxx.
Referenced by ImpLoadLibrary(), and RemoveLib().
bool BasicManager::HasExeCode | ( | std::u16string_view | sLib | ) |
Definition at line 814 of file basmgr.cxx.
References GetLib(), and pLib.
Referenced by basic::SfxScriptLibraryContainer::HasExecutableCode().
|
private |
Definition at line 1209 of file basmgr.cxx.
References maLibs.
Referenced by AddLib(), LibraryContainer_Impl::getByName(), and LibraryContainer_Impl::hasByName().
bool BasicManager::HasMacro | ( | OUString const & | i_fullyQualifiedName | ) | const |
determines whether the Basic Manager has a given macro, given by fully qualified name
Definition at line 1489 of file basmgr.cxx.
bool BasicManager::ImgVersion12PsswdBinaryLimitExceeded | ( | std::vector< OUString > & | _out_rModuleNames | ) |
determines whether there are password-protected modules whose size exceeds the B_IMG_VERSION_12 module size
_out_rModuleNames | takes the names of modules whose size exceeds the B_IMG_VERSION_12 limit |
Definition at line 1393 of file basmgr.cxx.
References DBG_UNHANDLED_EXCEPTION, SbModule::ExceedsImgVersion12ModuleSize(), StarBASIC::FindModule(), GetLib(), and GetScriptLibraryContainer().
|
private |
Definition at line 626 of file basmgr.cxx.
References CreateLibInfo(), DontStore, ExtSearch, mbDocMgr, SbxBase::SetFlag(), BasicLibInfo::SetLib(), BasicLibInfo::SetLibName(), SbxVariable::SetName(), and szStdLibName.
Referenced by BasicManager().
|
staticprivate |
Definition at line 932 of file basmgr.cxx.
References nPos, SvStream::ReadUInt32(), SvStream::RefreshBuffer(), rStrm, SBXCR_SBX, SvStream::Seek(), SvStream::SetCryptMaskKey(), szCryptingKey, and SvStream::Tell().
Referenced by ImplLoadBasic().
|
private |
Definition at line 951 of file basmgr.cxx.
References copyToLibraryContainer(), ExtSearch, tools::SvRef< typename T >::get(), ImplEncryptStream(), tools::SvRef< typename T >::is(), SbxBase::Load(), maContainerInfo, rStrm, and SvStream::SetCryptMaskKey().
Referenced by ImpLoadLibrary(), and LoadOldBasicManager().
|
private |
Definition at line 834 of file basmgr.cxx.
References aErrors, BASICLOADERROR, CheckModules(), DBG_ASSERT, DontStore, ERRCODE_BASMGR_LIBLOAD, ERRCODE_BASMGR_MGROPEN, eStorageReadMode, eStreamReadMode, tools::SvRef< typename T >::get(), BasicLibInfo::GetLib(), BasicLibInfo::GetLibName(), BasicLibInfo::GetLibRef(), SotStorage::GetName(), GetStdLib(), BasicLibInfo::GetStorageName(), GetStorageName(), ImplLoadBasic(), tools::SvRef< typename T >::is(), BasicLibInfo::IsReference(), mbDocMgr, OPENLIBSTORAGE, OPENLIBSTREAM, PASSWORD_MARKER, BasicLibInfo::SetLib(), BasicLibInfo::SetPassword(), STREAM_SEEK_TO_BEGIN, szBasicStorage, szCryptingKey, and szImbedded.
Referenced by AddLib(), LoadBasicManager(), LoadLib(), and SetLibraryContainerInfo().
|
private |
Definition at line 608 of file basmgr.cxx.
References aErrors, CreateLibInfo(), DontStore, ERRCODE_BASMGR_MGROPEN, ExtSearch, BasicLibInfo::GetLib(), mbDocMgr, OPENMGRSTREAM, BasicLibInfo::SetLib(), BasicLibInfo::SetLibName(), and szStdLibName.
Referenced by LoadBasicManager(), and LoadOldBasicManager().
bool BasicManager::IsBasicModified | ( | ) | const |
Definition at line 1350 of file basmgr.cxx.
References maLibs.
|
private |
Definition at line 1063 of file basmgr.cxx.
References DBG_ASSERT, and maLibs.
Referenced by RemoveLib().
|
private |
Definition at line 636 of file basmgr.cxx.
References aBasicLibPath, SvtPathOptions::Basic, tools::SvRef< typename T >::clear(), BasicLibInfo::Create(), BasicLibInfo::DoLoad(), eStreamReadMode, INetURLObject::GetMainURL(), SotStorage::GetName(), INetURLObject::GetProtocol(), BasicLibInfo::GetRelStorageName(), ImpLoadLibrary(), ImpMgrNotLoaded(), tools::SvRef< typename T >::is(), BasicLibInfo::IsExtern(), BasicLibInfo::IsReference(), maLibs, maStorageName, INetURLObject::NONE, SotStorage::OpenSotStream(), INetURLObject::PathToFileName(), INetURLObject::removeSegment(), SAL_WARN, SvtPathOptions::SearchFile(), BasicLibInfo::SetStorageName(), INetURLObject::smartRel2Abs(), STREAM_SEEK_TO_BEGIN, szImbedded, and szManagerStream.
Referenced by BasicManager().
bool BasicManager::LoadLib | ( | sal_uInt16 | nLib | ) |
Definition at line 1231 of file basmgr.cxx.
References aErrors, DBG_ASSERT, ERRCODE_BASMGR_LIBLOAD, ExtSearch, GetLib(), BasicLibInfo::GetLibName(), BasicLibInfo::GetLibraryContainer(), GetStdLib(), ImpLoadLibrary(), StarBASIC::Insert(), LIBNOTFOUND, maLibs, and pLib.
|
private |
Definition at line 728 of file basmgr.cxx.
References AddLib(), aErrors, tools::SvRef< typename T >::clear(), DBG_ASSERT, ERRCODE_BASMGR_LIBLOAD, ERRCODE_BASMGR_MGROPEN, ERRCODE_NONE, eStorageReadMode, eStreamReadMode, INetURLObject::GetMainURL(), SotStorage::GetName(), ImplLoadBasic(), ImpMgrNotLoaded(), tools::SvRef< typename T >::is(), LIB_SEP, LIBINFO_SEP, maLibs, INetURLObject::NONE, OPENMGRSTREAM, SotStorage::OpenSotStream(), INetURLObject::removeSegment(), INetURLObject::smartRel2Abs(), STORAGENOTFOUND, STREAM_SEEK_TO_BEGIN, szImbedded, and szOldManagerStream.
Referenced by BasicManager().
|
privatedelete |
|
private |
Definition at line 1073 of file basmgr.cxx.
References IsReference(), and RemoveLib().
bool BasicManager::RemoveLib | ( | sal_uInt16 | nLib, |
bool | bDelBasicFromStorage | ||
) |
Definition at line 1079 of file basmgr.cxx.
References aErrors, tools::SvRef< typename T >::clear(), DBG_ASSERT, ERRCODE_BASMGR_REMOVELIB, GetStdLib(), GetStorageName(), tools::SvRef< typename T >::is(), SotStorage::IsStorageFile(), maLibs, OPENLIBSTORAGE, StarBASIC::Remove(), STDLIB, szBasicStorage, and TOOLS_WARN_EXCEPTION.
Referenced by AddLib(), BasMgrContainerListenerImpl::elementRemoved(), LibraryContainer_Impl::removeByName(), and RemoveLib().
void BasicManager::SetGlobalUNOConstant | ( | const OUString & | rName, |
const css::uno::Any & | _rValue, | ||
css::uno::Any * | pOldValue = nullptr |
||
) |
sets a global constant in the basic library, referring to some UNO object, to a new value.
If a constant with this name already existed before, its value is changed, and the old constant is returned in pOldValue. If it does not yet exist, it is newly created, and inserted into the basic library.
Definition at line 1373 of file basmgr.cxx.
References DontStore, StarBASIC::Find(), tools::SvRef< typename T >::get(), GetSbUnoObject(), GetStdLib(), StarBASIC::Insert(), Object, and sbxToUnoValue().
Referenced by basic::ImplRepository::impl_createApplicationBasicManager(), and SetLibraryContainerInfo().
void BasicManager::SetLibraryContainerInfo | ( | const LibraryContainerInfo & | rInfo | ) |
announces the library containers which belong to this BasicManager
The method will automatically add two global constants, BasicLibraries and DialogLibraries, to the BasicManager.
Definition at line 526 of file basmgr.cxx.
References BasMgrContainerListenerImpl, copyToLibraryContainer(), ImpLoadLibrary(), BasMgrContainerListenerImpl::insertLibraryImpl(), maContainerInfo, maLibs, LibraryContainerInfo::mpOldBasicPassword, LibraryContainerInfo::mxDialogCont, LibraryContainerInfo::mxScriptCont, pLib, SetGlobalUNOConstant(), and basic::SfxScriptLibraryContainer::setLibraryPassword().
Referenced by basic::ImplRepository::impl_createApplicationBasicManager().
|
inline |
Definition at line 134 of file basmgr.hxx.
References aName.
Referenced by basic::SfxLibraryContainer::setProjectName().
|
inline |
Definition at line 132 of file basmgr.hxx.
Referenced by basic::ImplRepository::impl_createApplicationBasicManager().
|
friend |
Definition at line 102 of file basmgr.hxx.
|
friend |
Definition at line 101 of file basmgr.hxx.
Referenced by SetLibraryContainerInfo().
|
friend |
Definition at line 99 of file basmgr.hxx.
|
friend |
Definition at line 100 of file basmgr.hxx.
|
private |
Definition at line 113 of file basmgr.hxx.
Referenced by BasicManager(), and LoadBasicManager().
|
private |
Definition at line 105 of file basmgr.hxx.
Referenced by ImpLoadLibrary(), ImpMgrNotLoaded(), LoadLib(), LoadOldBasicManager(), and RemoveLib().
|
private |
Definition at line 107 of file basmgr.hxx.
|
private |
Definition at line 111 of file basmgr.hxx.
Referenced by GetDialogLibraryContainer(), GetScriptLibraryContainer(), ImplLoadBasic(), and SetLibraryContainerInfo().
|
private |
Definition at line 112 of file basmgr.hxx.
Referenced by AddLib(), BasicManager(), CreateLibInfo(), FindLibInfo(), GetLib(), GetLibCount(), GetLibId(), GetLibName(), HasLib(), IsBasicModified(), IsReference(), LoadBasicManager(), LoadLib(), LoadOldBasicManager(), RemoveLib(), and SetLibraryContainerInfo().
|
private |
Definition at line 108 of file basmgr.hxx.
Referenced by BasicManager(), and LoadBasicManager().
|
private |
Definition at line 109 of file basmgr.hxx.
Referenced by BasicManager(), CreateLib(), CreateLibForLibContainer(), ImpCreateStdLib(), ImpLoadLibrary(), and ImpMgrNotLoaded().