Lines Matching refs:pMed

372             SfxMedium* pMed = pSh->GetMedium();  in ExecReload_Impl()  local
379 …aSet.Put( SfxStringItem( SID_FILE_NAME, pMed->GetURLObject().GetMainURL(INetURLObject::NO_DECODE) … in ExecReload_Impl()
382 … SFX_ITEMSET_ARG( pMed->GetItemSet(), pReferer, SfxStringItem, SID_REFERER, sal_False ); in ExecReload_Impl()
389 if( pMed->GetFilter() ) in ExecReload_Impl()
391 … aSet.Put( SfxStringItem( SID_FILTER_NAME, pMed->GetFilter()->GetFilterName() ) ); in ExecReload_Impl()
392 … SFX_ITEMSET_ARG( pMed->GetItemSet(), pOptions, SfxStringItem, SID_FILE_FILTEROPTIONS, sal_False ); in ExecReload_Impl()
411 pMed = pSh->GetMedium(); in ExecReload_Impl()
428 …::rtl::OUString aDocumentName = INetURLObject( pMed->GetOrigURL() ).GetMainURL( INetURLObject::DEC… in ExecReload_Impl()
429 …if( !AskPasswordToModify_Impl( pMed->GetInteractionHandler(), aDocumentName, pMed->GetOrigFilter()… in ExecReload_Impl()
461 utl::LocalFileHelper::ConvertPhysicalNameToURL( pMed->GetPhysicalName(), aTemp ); in ExecReload_Impl()
466 INetURLObject aMedObj( pMed->GetName() ); in ExecReload_Impl()
486 || ( pMed->IsRemote() && !bIsHttpOrHttps ) ) ) in ExecReload_Impl()
493 sal_Bool bHasStorage = pMed->HasStorage_Impl(); in ExecReload_Impl()
495 if ( bHasStorage && pMed->GetStorage() == pSh->GetStorage() ) in ExecReload_Impl()
498 if ( !pSh->ConnectTmpStorage_Impl( pMed->GetStorage(), pMed ) ) in ExecReload_Impl()
502 pMed->CloseAndRelease(); in ExecReload_Impl()
503pMed->GetItemSet()->Put( SfxBoolItem( SID_DOC_READONLY, !( nOpenMode & STREAM_WRITE ) ) ); in ExecReload_Impl()
504 pMed->SetOpenMode( nOpenMode, pMed->IsDirect() ); in ExecReload_Impl()
506 pMed->CompleteReOpen(); in ExecReload_Impl()
508 pMed->LockOrigFileOnDemand( sal_False, sal_True ); in ExecReload_Impl()
511pMed->GetItemSet()->Put( SfxBoolItem( SID_DOC_READONLY, !( nOpenMode & STREAM_WRITE ) ) ); in ExecReload_Impl()
513 if ( !pMed->GetErrorCode() ) in ExecReload_Impl()
519 ErrCode nErr = pMed->GetErrorCode(); in ExecReload_Impl()
524 pMed->ResetError(); in ExecReload_Impl()
525 pMed->SetOpenMode( SFX_STREAM_READONLY, pMed->IsDirect() ); in ExecReload_Impl()
526 pMed->ReOpen(); in ExecReload_Impl()
527 pSh->DoSaveCompleted( pMed ); in ExecReload_Impl()
543 aSet.Put( SfxStringItem( SID_FILE_NAME, pMed->GetName() ) ); in ExecReload_Impl()
544 … SFX_ITEMSET_ARG( pMed->GetItemSet(), pReferer, SfxStringItem, SID_REFERER, sal_False ); in ExecReload_Impl()
551 if( pMed->GetFilter() ) in ExecReload_Impl()
553 … aSet.Put( SfxStringItem( SID_FILTER_NAME, pMed->GetFilter()->GetFilterName() ) ); in ExecReload_Impl()
554 SFX_ITEMSET_ARG( pMed->GetItemSet(), pOptions, in ExecReload_Impl()
574 pSh->DoSaveCompleted( pMed ); in ExecReload_Impl()
2526 SfxMedium* pMed = GetObjectShell()->GetMedium(); in ExecView_Impl() local
2529 pMed->GetItemSet()->ClearItem( SID_HIDDEN ); in ExecView_Impl()