Lines Matching refs:pLibInfo
1159 sal_Bool BasicManager::ImpLoadLibary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, sal_Bool bIn… in ImpLoadLibary() argument
1163 DBG_ASSERT( pLibInfo, "LibInfo!?" ); in ImpLoadLibary()
1165 String aStorageName( pLibInfo->GetStorageName() ); in ImpLoadLibary()
1195 …pErrorMgr->InsertError( BasicError( *pErrInf, BASERR_REASON_OPENLIBSTORAGE, pLibInfo->GetLibName()… in ImpLoadLibary()
1200 …SotStorageStreamRef xBasicStream = xBasicStorage->OpenSotStream( pLibInfo->GetLibName(), eStreamRe… in ImpLoadLibary()
1203 …StringErrorInfo* pErrInf = new StringErrorInfo( ERRCODE_BASMGR_LIBLOAD , pLibInfo->GetLibName(), E… in ImpLoadLibary()
1204 …pErrorMgr->InsertError( BasicError( *pErrInf, BASERR_REASON_OPENLIBSTREAM, pLibInfo->GetLibName() … in ImpLoadLibary()
1213 if ( !pLibInfo->GetLib().Is() ) in ImpLoadLibary()
1214 pLibInfo->SetLib( new StarBASIC( GetStdLib(), mbDocMgr ) ); in ImpLoadLibary()
1217 bLoaded = ImplLoadBasic( *xBasicStream, pLibInfo->GetLibRef() ); in ImpLoadLibary()
1219 StarBASICRef xStdLib = pLibInfo->GetLib(); in ImpLoadLibary()
1220 xStdLib->SetName( pLibInfo->GetLibName() ); in ImpLoadLibary()
1235 …StringErrorInfo* pErrInf = new StringErrorInfo( ERRCODE_BASMGR_LIBLOAD, pLibInfo->GetLibName(), ER… in ImpLoadLibary()
1236 …pErrorMgr->InsertError( BasicError( *pErrInf, BASERR_REASON_BASICLOADERROR, pLibInfo->GetLibName()… in ImpLoadLibary()
1249 pLibInfo->SetPassword( aPassword ); in ImpLoadLibary()
1252 CheckModules( pLibInfo->GetLib(), pLibInfo->IsReference() ); in ImpLoadLibary()
1356 BasicLibInfo* pLibInfo = CreateLibInfo(); in AddLib() local
1358 pLibInfo->SetLibName( rLibName ); in AddLib()
1361 sal_uInt16 nLibId = (sal_uInt16) pLibs->GetPos( pLibInfo ); in AddLib()
1364 pLibInfo->SetStorageName( aStorageName ); in AddLib()
1365 sal_Bool bLoaded = ImpLoadLibary( pLibInfo, &rStorage ); in AddLib()
1374 pLibInfo->GetLib()->SetModified( sal_False ); // Don't save in this case in AddLib()
1375 pLibInfo->SetRelStorageName( String() ); in AddLib()
1377 pLibInfo->IsReference() = sal_True; in AddLib()
1381 pLibInfo->GetLib()->SetModified( sal_True ); // Must be saved after Add! in AddLib()
1382 pLibInfo->SetStorageName( String::CreateFromAscii(szImbedded) ); // Save in BasicManager-Storage in AddLib()
1389 pLibInfo = 0; in AddLib()
1392 if( pLibInfo ) in AddLib()
1393 return &*pLibInfo->GetLib() ; in AddLib()
1402 BasicLibInfo* pLibInfo = pLibs->GetObject( nLib ); in IsReference() local
1403 DBG_ASSERT( pLibInfo, "Lib?!" ); in IsReference()
1404 if ( pLibInfo ) in IsReference()
1405 return pLibInfo->IsReference(); in IsReference()
1421 BasicLibInfo* pLibInfo = pLibs->GetObject( nLib ); in RemoveLib() local
1422 DBG_ASSERT( pLibInfo, "Lib not found!" ); in RemoveLib()
1424 if ( !pLibInfo || !nLib ) in RemoveLib()
1428 pErrorMgr->InsertError( BasicError( *pErrInf, BASERR_REASON_STDLIB, pLibInfo->GetLibName() ) ); in RemoveLib()
1434 if ( bDelBasicFromStorage && !pLibInfo->IsReference() && in RemoveLib()
1435 ( !pLibInfo->IsExtern() || SotStorage::IsStorageFile( pLibInfo->GetStorageName() ) ) ) in RemoveLib()
1438 if ( !pLibInfo->IsExtern() ) in RemoveLib()
1441 xStorage = new SotStorage( sal_False, pLibInfo->GetStorageName() ); in RemoveLib()
1452 …pErrorMgr->InsertError( BasicError( *pErrInf, BASERR_REASON_OPENLIBSTORAGE, pLibInfo->GetLibName()… in RemoveLib()
1454 else if ( xBasicStorage->IsStream( pLibInfo->GetLibName() ) ) in RemoveLib()
1456 xBasicStorage->Remove( pLibInfo->GetLibName() ); in RemoveLib()
1485 if ( pLibInfo->GetLib().Is() ) in RemoveLib()
1486 GetStdLib()->Remove( pLibInfo->GetLib() ); in RemoveLib()
1487 delete pLibs->Remove( pLibInfo ); in RemoveLib()
1563 BasicLibInfo* pLibInfo = pLibs->GetObject( nLib ); in SetLibName() local
1564 DBG_ASSERT( pLibInfo, "Lib?!" ); in SetLibName()
1565 if ( pLibInfo ) in SetLibName()
1567 pLibInfo->SetLibName( rName ); in SetLibName()
1568 if ( pLibInfo->GetLib().Is() ) in SetLibName()
1570 StarBASICRef xStdLib = pLibInfo->GetLib(); in SetLibName()
1584 BasicLibInfo* pLibInfo = pLibs->GetObject( nLib ); in GetLibName() local
1585 DBG_ASSERT( pLibInfo, "Lib?!" ); in GetLibName()
1586 if ( pLibInfo ) in GetLibName()
1587 return pLibInfo->GetLibName(); in GetLibName()
1596 BasicLibInfo* pLibInfo = pLibs->GetObject( nLib ); in LoadLib() local
1597 DBG_ASSERT( pLibInfo, "Lib?!" ); in LoadLib()
1598 if ( pLibInfo ) in LoadLib()
1600 Reference< XLibraryContainer > xLibContainer = pLibInfo->GetLibraryContainer(); in LoadLib()
1603 String aLibName = pLibInfo->GetLibName(); in LoadLib()
1609 bDone = ImpLoadLibary( pLibInfo, NULL, sal_False ); in LoadLib()
1635 BasicLibInfo* pLibInfo = CreateLibInfo(); in CreateLib() local
1639 pLibInfo->SetLib( pNew ); in CreateLib()
1640 pLibInfo->SetLibName( rLibName ); in CreateLib()
1641 pLibInfo->GetLib()->SetName( rLibName ); in CreateLib()
1642 return pLibInfo->GetLib(); in CreateLib()
1677 BasicLibInfo* pLibInfo = FindLibInfo( pLib ); in CreateLib() local
1678 pLibInfo ->SetPassword( Password ); in CreateLib()
1693 BasicLibInfo* pLibInfo = CreateLibInfo(); in CreateLibForLibContainer() local
1697 pLibInfo->SetLib( pNew ); in CreateLibForLibContainer()
1698 pLibInfo->SetLibName( rLibName ); in CreateLibForLibContainer()
1699 pLibInfo->GetLib()->SetName( rLibName ); in CreateLibForLibContainer()
1700 pLibInfo->SetLibraryContainer( xScriptCont ); in CreateLibForLibContainer()
2433 BasicLibInfo* pLibInfo = mpMgr->FindLibInfo( pLib ); in getByName() local
2435 ::rtl::OUString aPassword = pLibInfo->GetPassword(); in getByName()
2440 if( pLibInfo->IsReference() ) in getByName()
2441 aLinkTargetURL = pLibInfo->GetStorageName(); in getByName()
2442 else if( pLibInfo->IsExtern() ) in getByName()
2443 aExternaleSourceURL = pLibInfo->GetStorageName(); in getByName()