Lines Matching refs:rDocument
224 ModulWindow* BasicIDEShell::CreateBasWin( const ScriptDocument& rDocument, const String& rLibName, … in CreateBasWin() argument
237 …uno::Reference< container::XNameContainer > xLib = rDocument.getOrCreateLibrary( E_SCRIPTS, aLibNa… in CreateBasWin()
240 aModName = rDocument.createObjectName( E_SCRIPTS, aLibName ); in CreateBasWin()
243 pWin = FindBasWin( rDocument, aLibName, aModName, sal_False, sal_True ); in CreateBasWin()
249 if ( rDocument.hasModule( aLibName, aModName ) ) in CreateBasWin()
250 bSuccess = rDocument.getModule( aLibName, aModName, aModule ); in CreateBasWin()
252 bSuccess = rDocument.createModule( aLibName, aModName, sal_True, aModule ); in CreateBasWin()
256 pWin = FindBasWin( rDocument, aLibName, aModName, sal_False, sal_True ); in CreateBasWin()
260 pWin = new ModulWindow( pModulLayout, rDocument, aLibName, aModName, aModule ); in CreateBasWin()
279 if( nKey && xLib.is() && rDocument.isInVBAMode() ) in CreateBasWin()
300 ModulWindow* BasicIDEShell::FindBasWin( const ScriptDocument& rDocument, const String& rLibName, co… in FindBasWin() argument
310 …else if ( pWin->IsDocument( rDocument ) && pWin->GetLibName() == rLibName && pWin->GetName() == rM… in FindBasWin()
316 pModWin = CreateBasWin( rDocument, rLibName, rModName ); in FindBasWin()