Lines Matching refs:pBasMgr

81 	BasicManager*	pBasMgr;  member in TestWindow
182 pBasMgr = 0; in TestWindow()
193 if ( pBasMgr ) in ShowInfo()
196 for ( sal_uInt16 nLib = 0; nLib < pBasMgr->GetLibCount(); nLib++ ) in ShowInfo()
200 StarBASIC* pL = pBasMgr->GetLib( nLib ); in ShowInfo()
202 aOutStr += pBasMgr->GetLibName( nLib ); in ShowInfo()
209 aOutStr += pBasMgr->GetLibStorageName( nLib ); in ShowInfo()
211 aOutStr += (sal_uInt16)pBasMgr->IsLibLoaded( nLib ); in ShowInfo()
222 aToolBox.EnableItem( TB_ORG, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
224 aToolBox.EnableItem( TB_CREATELIB1, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
225 aToolBox.EnableItem( TB_CREATELIB2, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
226 aToolBox.EnableItem( TB_CREATELIB3, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
228 aToolBox.EnableItem( TB_LOADLIB1, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
229 aToolBox.EnableItem( TB_LOADLIB2, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
230 aToolBox.EnableItem( TB_LOADLIB3, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
232 aToolBox.EnableItem( TB_STORELIBX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
233 aToolBox.EnableItem( TB_EXECX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
234 aToolBox.EnableItem( TB_UNLOADX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
235 aToolBox.EnableItem( TB_LOADX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
236 aToolBox.EnableItem( TB_REMOVEX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
237 aToolBox.EnableItem( TB_REMOVEDELX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox()
253 delete pBasMgr; in IMPL_LINK()
254 pBasMgr = new BasicManager( new StarBASIC ); in IMPL_LINK()
255 pBasMgr->SetStorageName( "d:\\mystore.svs" ); in IMPL_LINK()
260 delete pBasMgr; in IMPL_LINK()
263 pBasMgr = new BasicManager( *xStorage ); in IMPL_LINK()
268 if ( pBasMgr) in IMPL_LINK()
272 pBasMgr->Store( *xStorage ); in IMPL_LINK()
278 if ( pBasMgr) in IMPL_LINK()
286 if ( pBasMgr ) in IMPL_LINK()
288 sal_uInt16 nLib = pBasMgr->GetLibId( pBasMgr->CreateLib( pLib1Str ) ); in IMPL_LINK()
291 pBasMgr->SetLibStorageName( nLib, "d:\\mystore.svs" ); in IMPL_LINK()
292 StarBASIC* pLib = pBasMgr->GetLib( pLib1Str ); in IMPL_LINK()
306 if ( pBasMgr ) in IMPL_LINK()
308 sal_uInt16 nLib = pBasMgr->GetLibId( pBasMgr->CreateLib( pLib2Str ) ); in IMPL_LINK()
311 pBasMgr->SetLibStorageName( nLib, "d:\\mystore.svs" ); in IMPL_LINK()
312 StarBASIC* pLib = pBasMgr->GetLib( pLib2Str ); in IMPL_LINK()
324 if ( pBasMgr ) in IMPL_LINK()
327 sal_uInt16 nLib = pBasMgr->GetLibId( pBasMgr->CreateLib( pLib3Str ) ); in IMPL_LINK()
330 pBasMgr->SetLibStorageName( nLib, "d:\\mystore2.svs" ); in IMPL_LINK()
331 StarBASIC* pLib = pBasMgr->GetLib( pLib3Str ); in IMPL_LINK()
343 if ( pBasMgr ) in IMPL_LINK()
346 if ( !pBasMgr->AddLib( *xStorage, pLib1Str, sal_False ) ) in IMPL_LINK()
353 if ( pBasMgr ) in IMPL_LINK()
356 if ( !pBasMgr->AddLib( *xStorage, pLib2Str, sal_False ) ) in IMPL_LINK()
363 if ( pBasMgr ) in IMPL_LINK()
367 if ( !pBasMgr->AddLib( *xStorage, pLib3Str, sal_False ) ) in IMPL_LINK()
374 if ( pBasMgr ) in IMPL_LINK()
375 pBasMgr->StoreLib( nLibX ); in IMPL_LINK()
380 if ( pBasMgr ) in IMPL_LINK()
381 pBasMgr->UnloadLib( nLibX ); in IMPL_LINK()
386 if ( pBasMgr ) in IMPL_LINK()
387 pBasMgr->LoadLib( nLibX ); in IMPL_LINK()
392 if ( pBasMgr ) in IMPL_LINK()
393 pBasMgr->RemoveLib( nLibX, sal_False ); in IMPL_LINK()
398 if ( pBasMgr ) in IMPL_LINK()
399 pBasMgr->RemoveLib( nLibX, sal_True ); in IMPL_LINK()
404 if ( pBasMgr ) in IMPL_LINK()
406 StarBASIC* pBasic = pBasMgr->GetLib( nLibX ); in IMPL_LINK()
437 if ( pBasMgr ) in CheckError()
439 BasicError* pError = pBasMgr->GetFirstError(); in CheckError()
505 pError = pBasMgr->GetNextError(); in CheckError()
507 pBasMgr->ClearErrors(); in CheckError()