Lines Matching refs:aDocument
320 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in DeleteMacro() local
321 if ( aDocument.isDocument() ) // Muss ja nicht aus einem Document kommen... in DeleteMacro()
323 aDocument.setDocumentModified(); in DeleteMacro()
341 OSL_VERIFY( aDocument.updateModule( aLibName, aModName, aSource ) ); in DeleteMacro()
355 ScriptDocument aDocument( aDesc.GetDocument() ); in CreateMacro() local
356 OSL_ENSURE( aDocument.isAlive(), "MacroChooser::CreateMacro: no document!" ); in CreateMacro()
357 if ( !aDocument.isAlive() ) in CreateMacro()
365 aDocument.getOrCreateLibrary( E_SCRIPTS, aLibName ); in CreateMacro()
368 …Reference< script::XLibraryContainer > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS … in CreateMacro()
371 …Reference< script::XLibraryContainer > xDlgLibContainer( aDocument.getLibraryContainer( E_DIALOGS … in CreateMacro()
375 BasicManager* pBasMgr = aDocument.getBasicManager(); in CreateMacro()
397 aDocument, aBasicBox, aLibName, aModName ); in CreateMacro()
432 ScriptDocument aDocument( aDesc.GetDocument() ); in CheckButtons() local
434 …Reference< script::XLibraryContainer2 > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS… in CheckButtons()
435 …Reference< script::XLibraryContainer2 > xDlgLibContainer( aDocument.getLibraryContainer( E_DIALOGS… in CheckButtons()
680 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in IMPL_LINK() local
681 if ( aDocument.isDocument() && !aDocument.allowMacros() ) in IMPL_LINK()
715 ScriptDocument aDocument( aDesc.GetDocument() ); in IMPL_LINK() local
716 … DBG_ASSERT( aDocument.isAlive(), "MacroChooser::ButtonHdl: no document, or document is dead!" ); in IMPL_LINK()
717 if ( !aDocument.isAlive() ) in IMPL_LINK()
719 BasicManager* pBasMgr = aDocument.getBasicManager(); in IMPL_LINK()
801 ScriptDocument aDocument( aDesc.GetDocument() ); in IMPL_LINK() local
802 … DBG_ASSERT( aDocument.isAlive(), "MacroChooser::ButtonHdl: no document, or document is dead!" ); in IMPL_LINK()
803 if ( !aDocument.isAlive() ) in IMPL_LINK()
805 BasicManager* pBasMgr = aDocument.getBasicManager(); in IMPL_LINK()
823 ScriptDocument aDocument( aDesc.GetDocument() ); in IMPL_LINK() local
824 createLibImpl( static_cast<Window*>( this ), aDocument, NULL, &aBasicBox ); in IMPL_LINK()
830 ScriptDocument aDocument( aDesc.GetDocument() ); in IMPL_LINK() local
833 createModImpl( static_cast<Window*>( this ), aDocument, in IMPL_LINK()