Lines Matching refs:aDocument

97             ScriptDocument aDocument( pCurWin->GetDocument() );  in ExecuteCurrent()  local
106 if ( aDocument.removeModule( aLibName, aName ) ) in ExecuteCurrent()
108 BasicIDE::MarkDocumentModified( aDocument ); in ExecuteCurrent()
117 if ( BasicIDE::RemoveDialog( aDocument, aLibName, aName ) ) in ExecuteCurrent()
120 BasicIDE::MarkDocumentModified( aDocument ); in ExecuteCurrent()
285 ScriptDocument aDocument( pCurWin->GetDocument() ); in ExecuteGlobal() local
286 if ( aDocument.isDocument() ) in ExecuteGlobal()
310 aDocument.saveDocument( xStatusIndicator ); in ExecuteGlobal()
363 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in ExecuteGlobal() local
373 aDocument.loadLibraryIfExists( E_SCRIPTS, aLibName ); in ExecuteGlobal()
374 aDocument.loadLibraryIfExists( E_DIALOGS, aLibName ); in ExecuteGlobal()
381 SetCurLib( aDocument, aLibName ); in ExecuteGlobal()
393 if ( aDocument.createModule( aLibName, aModName, sal_False, sModuleCode ) ) in ExecuteGlobal()
406 ModulWindow* pWin = FindBasWin( aDocument, aLibName, rInfo.GetModule(), sal_True ); in ExecuteGlobal()
435 ScriptDocument aDocument( pWin->GetDocument() ); in ExecuteGlobal() local
437 … if ( BasicIDE::RenameModule( pModWin, aDocument, aLibName, aOldName, aNewName ) ) in ExecuteGlobal()
443 pWin = FindBasWin( aDocument, aLibName, aNewName, sal_True ); in ExecuteGlobal()
478 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in ExecuteGlobal() local
479 …ModulWindow* pWin = FindBasWin( aDocument, rInfo.GetLib(), rInfo.GetModule(), sal_False, sal_True … in ExecuteGlobal()
513 …ScriptDocument aDocument( xModel.is() ? ScriptDocument( xModel ) : ScriptDocument::getApplicationS… in ExecuteGlobal() local
520 aDocument.loadLibraryIfExists( E_SCRIPTS, aLibName ); in ExecuteGlobal()
521 aDocument.loadLibraryIfExists( E_DIALOGS, aLibName ); in ExecuteGlobal()
525 …Reference< script::XLibraryContainer > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS … in ExecuteGlobal()
538 SetCurLib( aDocument, aLibName, true, false ); in ExecuteGlobal()
550 … if ( !m_aCurLibName.Len() || ( aDocument == m_aCurDocument && aLibName == m_aCurLibName ) ) in ExecuteGlobal()
552 RemoveWindows( aDocument, aLibName, sal_True ); in ExecuteGlobal()
553 if ( aDocument == m_aCurDocument && aLibName == m_aCurLibName ) in ExecuteGlobal()
591 ScriptDocument aDocument( rSbxItem.GetDocument() ); in ExecuteGlobal() local
594 … if ( !m_aCurLibName.Len() || ( aDocument == m_aCurDocument && aLibName == m_aCurLibName ) ) in ExecuteGlobal()
598 pWin = FindBasWin( aDocument, aLibName, aName, sal_True ); in ExecuteGlobal()
600 pWin = FindDlgWin( aDocument, aLibName, aName, sal_True ); in ExecuteGlobal()
608 ScriptDocument aDocument( rSbxItem.GetDocument() ); in ExecuteGlobal() local
609 …IDEBaseWindow* pWin = FindWindow( aDocument, rSbxItem.GetLibName(), rSbxItem.GetName(), rSbxItem.G… in ExecuteGlobal()
618 ScriptDocument aDocument( rSbxItem.GetDocument() ); in ExecuteGlobal() local
621 SetCurLib( aDocument, aLibName ); in ExecuteGlobal()
625 pWin = FindDlgWin( aDocument, aLibName, aName, sal_True ); in ExecuteGlobal()
629 pWin = FindBasWin( aDocument, aLibName, aName, sal_True ); in ExecuteGlobal()
633 pWin = FindBasWin( aDocument, aLibName, aName, sal_True ); in ExecuteGlobal()
797 ScriptDocument aDocument( pCurWin->GetDocument() ); in GetState() local
798 bDisable = ( !aDocument.isAlive() ) in GetState()
799 … || ( aDocument.isDocument() ? !aDocument.isDocumentModified() : !IsAppBasicModified() ); in GetState()
943 ScriptDocument aDocument( pCurWin->GetDocument() ); in GetState() local
944 … bModified = aDocument.isDocument() ? aDocument.isDocumentModified() : IsAppBasicModified(); in GetState()
1291 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in ShowActiveModuleWindow() local
1293 pWin = FindBasWin( aDocument, aLibName, pActiveModule->GetName(), sal_True ); in ShowActiveModuleWindow()
1295 SetCurLib( aDocument, aLibName ); in ShowActiveModuleWindow()