Lines Matching refs:mpDocShell
75 ScDocShell* mpDocShell; member in ScVbaObjectForCodeNameProvider
77 ScVbaObjectForCodeNameProvider( ScDocShell* pDocShell ) : mpDocShell( pDocShell ) in ScVbaObjectForCodeNameProvider()
79 ScDocument* pDoc = mpDocShell->GetDocument(); in ScVbaObjectForCodeNameProvider()
85 …aArgs[0] = uno::Any( ooo::vba::createVBAUnoAPIServiceWithArgs( mpDocShell, "ooo.vba.Application", … in ScVbaObjectForCodeNameProvider()
86 aArgs[1] = uno::Any( mpDocShell->GetModel() ); in ScVbaObjectForCodeNameProvider()
87 …maWorkbook <<= ooo::vba::createVBAUnoAPIServiceWithArgs( mpDocShell, "ooo.vba.excel.Workbook", aAr… in ScVbaObjectForCodeNameProvider()
96 ScDocument* pDoc = mpDocShell->GetDocument(); in hasByName()
113 uno::Reference< frame::XModel > xModel( mpDocShell->GetModel() ); in hasByName()
123 …maCachedObject <<= ooo::vba::createVBAUnoAPIServiceWithArgs( mpDocShell, "ooo.vba.excel.Worksheet"… in hasByName()
144 ScDocument* pDoc = mpDocShell->GetDocument(); in getElementNames()
167 ScDocShell* mpDocShell; member in ScVbaCodeNameProvider
169 ScVbaCodeNameProvider( ScDocShell* pDocShell ) : mpDocShell( pDocShell ) {} in ScVbaCodeNameProvider()
175 if ( mpDocShell ) in getCodeNameForObject()
179 …uno::Reference< drawing::XDrawPagesSupplier > xSupplier( mpDocShell->GetModel(), uno::UNO_QUERY_TH… in getCodeNameForObject()
200 … mpDocShell->GetDocument()->GetCodeName( static_cast<SCTAB>( index ), sName ); in getCodeNameForObject()