Lines Matching refs:rDocSh
2592 uno::Reference< uno::XInterface > GetDocModuleObject( SfxObjectShell& rDocSh, String& sCodeName ) in GetDocModuleObject() argument
2594 uno::Reference< lang::XMultiServiceFactory> xSF(rDocSh.GetModel(), uno::UNO_QUERY); in GetDocModuleObject()
2606 script::ModuleInfo lcl_InitModuleInfo( SfxObjectShell& rDocSh, String& sModule ) in lcl_InitModuleInfo() argument
2610 sModuleInfo.ModuleObject = GetDocModuleObject( rDocSh, sModule ); in lcl_InitModuleInfo()
2616 SfxObjectShell& rDocSh = *rDoc.GetDocumentShell(); in VBA_InsertModule() local
2617 uno::Reference< script::XLibraryContainer > xLibContainer = rDocSh.GetBasicContainer(); in VBA_InsertModule()
2624 if ( rDocSh.GetBasicManager() && rDocSh.GetBasicManager()->GetName().Len() ) in VBA_InsertModule()
2625 aLibName = rDocSh.GetBasicManager()->GetName(); in VBA_InsertModule()
2653 script::ModuleInfo sModuleInfo = lcl_InitModuleInfo( rDocSh, genModuleName ); in VBA_InsertModule()
2661 void VBA_DeleteModule( ScDocShell& rDocSh, String& sModuleName ) in VBA_DeleteModule() argument
2663 uno::Reference< script::XLibraryContainer > xLibContainer = rDocSh.GetBasicContainer(); in VBA_DeleteModule()
2670 if ( rDocSh.GetBasicManager() && rDocSh.GetBasicManager()->GetName().Len() ) in VBA_DeleteModule()
2671 aLibName = rDocSh.GetBasicManager()->GetName(); in VBA_DeleteModule()