Lines Matching refs:m_pNativeImpl
434 , m_pNativeImpl( new OleComponentNative_Impl() ) in OleComponent()
474 for ( FormatEtcList::iterator aIter = m_pNativeImpl->m_aFormatsList.begin(); in ~OleComponent()
475 aIter != m_pNativeImpl->m_aFormatsList.end(); in ~OleComponent()
481 m_pNativeImpl->m_aFormatsList.clear(); in ~OleComponent()
483 delete m_pNativeImpl; in ~OleComponent()
579 …CREATE | STGM_READWRITE | STGM_TRANSACTED | STGM_DELETEONRELEASE, 0, &m_pNativeImpl->m_pIStorage ); in CreateNewIStorage_Impl()
580 if ( FAILED( hr ) || !m_pNativeImpl->m_pIStorage ) in CreateNewIStorage_Impl()
610 if ( !m_pNativeImpl->m_pOleObject ) in RetrieveObjectDataFlavors_Impl()
616 HRESULT hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IDataObject, (void**)&pDataObject ); in RetrieveObjectDataFlavors_Impl()
646 m_aDataFlavors = m_pNativeImpl->GetFlavorsForAspects( nSupportedAspects ); in RetrieveObjectDataFlavors_Impl()
663 if ( !m_pNativeImpl->m_pObj ) in InitializeObject_Impl()
668 HRESULT hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IOleLink, (void**)&pOleLink ); in InitializeObject_Impl()
674 …hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IViewObject2, (void**)&m_pNativeImpl->m_pViewObjec… in InitializeObject_Impl()
675 if ( FAILED( hr ) || !m_pNativeImpl->m_pViewObject2 ) in InitializeObject_Impl()
683 …if ( SUCCEEDED( m_pNativeImpl->m_pObj->QueryInterface( IID_IOleCache, (void**)&pIOleCache ) ) && p… in InitializeObject_Impl()
706 hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IOleObject, (void**)&m_pNativeImpl->m_pOleObject ); in InitializeObject_Impl()
707 if ( FAILED( hr ) || !m_pNativeImpl->m_pOleObject ) in InitializeObject_Impl()
710 m_pNativeImpl->m_pOleObject->GetMiscStatus( DVASPECT_CONTENT, ( DWORD* )&m_nOLEMiscFlags ); in InitializeObject_Impl()
715 m_pNativeImpl->m_pOleObject->SetClientSite( m_pOleWrapClientSite ); in InitializeObject_Impl()
718 m_pNativeImpl->m_pOleObject->Advise( m_pImplAdviseSink, ( DWORD* )&m_nAdvConn ); in InitializeObject_Impl()
719 m_pNativeImpl->m_pViewObject2->SetAdvise( DVASPECT_CONTENT, 0, m_pImplAdviseSink ); in InitializeObject_Impl()
721 OleSetContainedObject( m_pNativeImpl->m_pOleObject, TRUE ); in InitializeObject_Impl()
732 if ( m_pNativeImpl->m_pIStorage ) in LoadEmbeddedObject()
736 HRESULT hr = OpenIStorageFromURL_Impl( aTempURL, &m_pNativeImpl->m_pIStorage ); in LoadEmbeddedObject()
738 if ( FAILED( hr ) || !m_pNativeImpl->m_pIStorage ) in LoadEmbeddedObject()
741 hr = OleLoad( m_pNativeImpl->m_pIStorage, IID_IUnknown, NULL, (void**)&m_pNativeImpl->m_pObj ); in LoadEmbeddedObject()
742 if ( FAILED( hr ) || !m_pNativeImpl->m_pObj ) in LoadEmbeddedObject()
756 if ( m_pNativeImpl->m_pIStorage ) in CreateObjectFromClipboard()
760 if ( !m_pNativeImpl->m_pIStorage ) in CreateObjectFromClipboard()
775 m_pNativeImpl->m_pIStorage, in CreateObjectFromClipboard()
776 (void**)&m_pNativeImpl->m_pObj ); in CreateObjectFromClipboard()
785 if ( FAILED( hr ) || !m_pNativeImpl->m_pObj ) in CreateObjectFromClipboard()
800 if ( m_pNativeImpl->m_pIStorage ) in CreateNewEmbeddedObject()
804 if ( !m_pNativeImpl->m_pIStorage ) in CreateNewEmbeddedObject()
814 m_pNativeImpl->m_pIStorage, in CreateNewEmbeddedObject()
815 (void**)&m_pNativeImpl->m_pObj ); in CreateNewEmbeddedObject()
817 if ( FAILED( hr ) || !m_pNativeImpl->m_pObj ) in CreateNewEmbeddedObject()
840 if ( m_pNativeImpl->m_pIStorage ) in CreateObjectFromFile()
844 if ( !m_pNativeImpl->m_pIStorage ) in CreateObjectFromFile()
857 m_pNativeImpl->m_pIStorage, in CreateObjectFromFile()
858 (void**)&m_pNativeImpl->m_pObj ); in CreateObjectFromFile()
860 if ( FAILED( hr ) || !m_pNativeImpl->m_pObj ) in CreateObjectFromFile()
870 if ( m_pNativeImpl->m_pIStorage ) in CreateLinkFromFile()
874 if ( !m_pNativeImpl->m_pIStorage ) in CreateLinkFromFile()
886 m_pNativeImpl->m_pIStorage, in CreateLinkFromFile()
887 (void**)&m_pNativeImpl->m_pObj ); in CreateLinkFromFile()
889 if ( FAILED( hr ) || !m_pNativeImpl->m_pObj ) in CreateLinkFromFile()
899 if ( !pOleLinkComponent || !pOleLinkComponent->m_pNativeImpl->m_pObj ) in InitEmbeddedCopyOfLink()
902 if ( m_pNativeImpl->m_pIStorage ) in InitEmbeddedCopyOfLink()
906 …HRESULT hr = pOleLinkComponent->m_pNativeImpl->m_pObj->QueryInterface( IID_IDataObject, (void**)&p… in InitEmbeddedCopyOfLink()
911 if ( !m_pNativeImpl->m_pIStorage ) in InitEmbeddedCopyOfLink()
919 m_pNativeImpl->m_pIStorage, in InitEmbeddedCopyOfLink()
920 (void**)&m_pNativeImpl->m_pObj ); in InitEmbeddedCopyOfLink()
923 if ( !m_pNativeImpl->m_pObj ) in InitEmbeddedCopyOfLink()
926 hr = pOleLinkComponent->m_pNativeImpl->m_pObj->QueryInterface( IID_IOleLink, (void**)&pOleLink ); in InitEmbeddedCopyOfLink()
958 m_pNativeImpl->m_pIStorage, in InitEmbeddedCopyOfLink()
959 (void**)&m_pNativeImpl->m_pObj ); in InitEmbeddedCopyOfLink()
964 if ( !m_pNativeImpl->m_pObj ) in InitEmbeddedCopyOfLink()
974 hr = pObjectStorage->CopyTo( 0, NULL, NULL, m_pNativeImpl->m_pIStorage ); in InitEmbeddedCopyOfLink()
976 … hr = OleLoad( m_pNativeImpl->m_pIStorage, IID_IUnknown, NULL, (void**)&m_pNativeImpl->m_pObj ); in InitEmbeddedCopyOfLink()
983 if ( FAILED( hr ) || !m_pNativeImpl->m_pObj ) in InitEmbeddedCopyOfLink()
993 OSL_ENSURE( m_pNativeImpl->m_pOleObject, "The pointer can not be set to NULL here!\n" ); in RunObject()
994 if ( !m_pNativeImpl->m_pOleObject ) in RunObject()
997 if ( !OleIsRunning( m_pNativeImpl->m_pOleObject ) ) in RunObject()
1002 hr = OleRun( m_pNativeImpl->m_pObj ); in RunObject()
1042 if ( m_pNativeImpl->m_pOleObject && OleIsRunning( m_pNativeImpl->m_pOleObject ) ) in CloseObject()
1043 m_pNativeImpl->m_pOleObject->Close( OLECLOSE_NOSAVE ); // must be saved before in CloseObject()
1049 if ( !m_pNativeImpl->m_pOleObject ) in GetVerbList()
1055 if( SUCCEEDED( m_pNativeImpl->m_pOleObject->EnumVerbs( &pEnum ) ) ) in GetVerbList()
1088 if ( !m_pNativeImpl->m_pOleObject ) in ExecuteVerb()
1091 HRESULT hr = OleRun( m_pNativeImpl->m_pOleObject ); in ExecuteVerb()
1097 hr = m_pNativeImpl->m_pOleObject->DoVerb( nVerbID, NULL, m_pOleWrapClientSite, 0, NULL, NULL ); in ExecuteVerb()
1103 m_pNativeImpl->m_pOleObject->SetHostNames( L"app name", L"untitled" ); in ExecuteVerb()
1110 if ( !m_pNativeImpl->m_pOleObject ) in SetHostName()
1119 if ( !m_pNativeImpl->m_pOleObject ) in SetExtent()
1125 HRESULT hr = m_pNativeImpl->m_pOleObject->SetExtent( nMSAspect, &aSize ); in SetExtent()
1141 if ( !m_pNativeImpl->m_pOleObject ) in GetExtent()
1152 HRESULT hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IDataObject, (void**)&pDataObject ); in GetExtent()
1223 if ( !m_pNativeImpl->m_pOleObject ) in GetCachedExtent()
1229 HRESULT hr = m_pNativeImpl->m_pViewObject2->GetExtent( nMSAspect, -1, NULL, &aSize ); in GetCachedExtent()
1249 if ( !m_pNativeImpl->m_pOleObject ) in GetReccomendedExtent()
1254 HRESULT hr = m_pNativeImpl->m_pOleObject->GetExtent( nMSAspect, &aSize ); in GetReccomendedExtent()
1264 if ( !m_pNativeImpl->m_pOleObject ) in GetMiscStatus()
1268 m_pNativeImpl->m_pOleObject->GetMiscStatus( ( DWORD )nAspect, ( DWORD* )&nResult ); in GetMiscStatus()
1275 if ( !m_pNativeImpl->m_pOleObject ) in GetCLSID()
1279 HRESULT hr = m_pNativeImpl->m_pOleObject->GetUserClassID( &aCLSID ); in GetCLSID()
1293 if ( !m_pNativeImpl->m_pOleObject ) in IsDirty()
1300 …HRESULT hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IPersistStorage, (void**)&pPersistStorage … in IsDirty()
1311 if ( !m_pNativeImpl->m_pOleObject ) in StoreOwnTmpIfNecessary()
1315 …HRESULT hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IPersistStorage, (void**)&pPersistStorage … in StoreOwnTmpIfNecessary()
1321 hr = OleSave( pPersistStorage, m_pNativeImpl->m_pIStorage, TRUE ); in StoreOwnTmpIfNecessary()
1326 hr = m_pNativeImpl->m_pOleObject->GetUserClassID( &aCLSID ); in StoreOwnTmpIfNecessary()
1330 hr = WriteClassStg( m_pNativeImpl->m_pIStorage, aCLSID ); in StoreOwnTmpIfNecessary()
1336 hr = pPersistStorage->Save( m_pNativeImpl->m_pIStorage, TRUE ); in StoreOwnTmpIfNecessary()
1343 hr = m_pNativeImpl->m_pIStorage->Commit( STGC_DEFAULT ); in StoreOwnTmpIfNecessary()
1541 if ( !m_pNativeImpl->m_pOleObject ) in getTransferData()
1547 if ( m_pNativeImpl->GraphicalFlavor( aFlavor ) ) in getTransferData()
1553 HRESULT hr = m_pNativeImpl->m_pObj->QueryInterface( IID_IDataObject, (void**)&pDataObject ); in getTransferData()
1583 … bSupportedFlavor = m_pNativeImpl->ConvertDataForFlavor( aMedium, aFlavor, aResult ); in getTransferData()
1645 if ( !m_pNativeImpl->m_pOleObject ) in getTransferDataFlavors()
1661 if ( !m_pNativeImpl->m_pOleObject ) in isDataFlavorSupported()
1719 return (sal_Int64) (IUnknown*) m_pNativeImpl->m_pObj; in getSomething()
1736 return (sal_Int64) (IUnknown*) m_pNativeImpl->m_pObj; in getSomething()