Home
last modified time | relevance | path

Searched refs:pMed (Results 1 – 25 of 29) sorted by relevance

12

/trunk/main/sc/source/ui/miscdlgs/
H A Dlinkarea.cxx121 SfxMedium* pMed = pSourceShell->GetMedium(); in IMPL_LINK() local
122 if ( pMed->GetName() == aEntered ) in IMPL_LINK()
187 SfxMedium* pMed = pSourceShell->GetMedium(); in InitFromOldLink() local
188 aCbUrl.SetText( pMed->GetName() ); in InitFromOldLink()
228 if ( pMed ) in IMPL_LINK()
242 pMed->SetFilter( pNewFilter ); in IMPL_LINK()
255 pSourceShell->DoLoad( pMed ); in IMPL_LINK()
264 aCbUrl.SetText( pMed->GetName() ); in IMPL_LINK()
318 SfxMedium* pMed = pSourceShell->GetMedium(); in GetURL() local
319 return pMed->GetName(); in GetURL()
[all …]
H A Dinstbdlg.cxx382 SfxMedium* pMed = pDocInserter->CreateMedium(); in IMPL_LINK() local
383 if ( pMed ) in IMPL_LINK()
386 SfxErrorContext aEc( ERRCTX_SFX_OPENDOC, pMed->GetName() ); in IMPL_LINK()
391 pMed->UseInteractionHandler( sal_True ); // to enable the filter options dialog in IMPL_LINK()
398 pDocShTables->DoLoad( pMed ); in IMPL_LINK()
/trunk/main/sw/source/core/unocore/
H A Dunocrsrhelper.cxx809 SfxMedium* pMed = 0; in InsertFile() local
858 pMed = new SfxMedium; in InsertFile()
862 pMed = xReadStorage.is() ? in InsertFile()
871 DELETEZ(pMed); in InsertFile()
873 pMed->SetFilter( pFilter ); in InsertFile()
877 if(!pMed) in InsertFile()
881 pMed = new SfxMedium; in InsertFile()
902 if( !pMed ) in InsertFile()
908 pDocSh->RegisterTransfer( *pMed ); in InsertFile()
913 SfxItemSet* pSet = pMed->GetItemSet(); in InsertFile()
[all …]
/trunk/main/sfx2/source/view/
H A Dviewfrm.cxx372 SfxMedium* pMed = pSh->GetMedium(); in ExecReload_Impl() local
389 if( pMed->GetFilter() ) in ExecReload_Impl()
411 pMed = pSh->GetMedium(); in ExecReload_Impl()
498 if ( !pSh->ConnectTmpStorage_Impl( pMed->GetStorage(), pMed ) ) in ExecReload_Impl()
502 pMed->CloseAndRelease(); in ExecReload_Impl()
504 pMed->SetOpenMode( nOpenMode, pMed->IsDirect() ); in ExecReload_Impl()
506 pMed->CompleteReOpen(); in ExecReload_Impl()
513 if ( !pMed->GetErrorCode() ) in ExecReload_Impl()
524 pMed->ResetError(); in ExecReload_Impl()
525 pMed->SetOpenMode( SFX_STREAM_READONLY, pMed->IsDirect() ); in ExecReload_Impl()
[all …]
H A Dorgmgr.cxx304 SfxMedium* pMed = new SfxMedium( in CreateObjectShell() local
307 pMed->UseInteractionHandler(sal_True); in CreateObjectShell()
309 pSfxApp->GetFilterMatcher().GuessFilter(*pMed, &pFilter, SFX_FILTER_TEMPLATE, 0) || in CreateObjectShell()
316 delete pMed; in CreateObjectShell()
329 pEntry->aDocShell->LoadFrom( *pMed ); in CreateObjectShell()
331 pEntry->aDocShell->DoSaveCompleted( pMed ); in CreateObjectShell()
H A Dframe.cxx377 const SfxMedium *pMed = GetCurrentDocument()->GetMedium(); in GetViewData_Impl() local
378 sal_Bool bReadOnly = pMed->GetOpenMode() == SFX_STREAM_READONLY; in GetViewData_Impl()
421 const SfxMedium *pMed = pDoc->GetMedium(); in UpdateDescriptor() local
422 GetDescriptor()->SetActualURL( pMed->GetOrigURL() ); in UpdateDescriptor()
424 SFX_ITEMSET_ARG( pMed->GetItemSet(), pItem, SfxBoolItem, SID_EDITDOC, sal_False ); in UpdateDescriptor()
430 SfxItemSet* pItemSet = pMed->GetItemSet(); in UpdateDescriptor()
431 String aMedName( pMed->GetName() ); in UpdateDescriptor()
433 const SfxFilter* pFilter = pMed->GetOrigFilter(); in UpdateDescriptor()
/trunk/main/sfx2/source/appl/
H A Dsfxpicklist.cxx387 SfxMedium *pMed = pDocSh->GetMedium(); in Notify() local
388 if( !pMed ) in Notify()
397 …INetURLObject aURL( pDocSh->IsDocShared() ? pDocSh->GetSharedFileURL() : ::rtl::OUString( pMed->Ge… in Notify()
403 const SfxFilter* pFilter = pMed->GetOrigFilter(); in Notify()
418 SfxMedium *pMed = pDocSh->GetMedium(); in Notify() local
419 if( !pMed ) in Notify()
428 …INetURLObject aURL( pDocSh->IsDocShared() ? pDocSh->GetSharedFileURL() : ::rtl::OUString( pMed->Ge… in Notify()
433 if ( pDocSh->IsReadOnly() || !pMed->IsUpdatePickList() ) in Notify()
437 … SFX_ITEMSET_ARG( pMed->GetItemSet(), pPicklistItem, SfxBoolItem, SID_PICKLIST, sal_False ); in Notify()
450 const SfxFilter* pFilter = pMed->GetOrigFilter(); in Notify()
/trunk/main/sfx2/source/doc/
H A Dobjmisc.cxx301 SfxMedium * pMed = GetMedium(); in ResetError() local
302 if( pMed ) in ResetError()
303 pMed->ResetError(); in ResetError()
320 SfxMedium* pMed = GetMedium(); in SetTemplate() local
321 if( pMed ) pMed->SetFilter( aIter.First() ); in SetTemplate()
957 if ( pMed ) in GetTitle()
994 if ( !HasName() || !pMed ) in GetTitle()
2051 if ( pMed ) in UpdateTitle()
2058 pMed = GetMedium(); in UpdateTitle()
2068 if ( pMed ) in UpdateTitle()
[all …]
H A Dobjstor.cxx494 pMedium = pMed; in DoInitNew()
503 if ( InitNew( pMed ? pMed->GetStorage() : uno::Reference < embed::XStorage >() ) ) in DoInitNew()
590 sal_Bool SfxObjectShell::DoLoad( SfxMedium *pMed ) in DoLoad() argument
597 pMedium = pMed; in DoLoad()
601 const SfxFilter* pFilter = pMed->GetFilter(); in DoLoad()
628 aBaseURL = pMed->GetBaseURL(); in DoLoad()
809 if( IsOwnStorageFormat_Impl(*pMed) && pMed->GetFilter() ) in DoLoad()
2743 SfxMedium *pMed = new SfxMedium( in Save_Impl() local
2750 bSaved = DoSaveAs( *pMed ); in Save_Impl()
2752 bSaved = DoSaveCompleted( pMed ); in Save_Impl()
[all …]
H A Ddoctempl.cxx1909 SfxMedium *pMed=new SfxMedium( in CreateObjectShell() local
1912 pMed->UseInteractionHandler(sal_True); in CreateObjectShell()
1914 *pMed, &pFilter, SFX_FILTER_TEMPLATE, 0 ) || in CreateObjectShell()
1920 delete pMed; in CreateObjectShell()
1938 if( mxObjShell->LoadFrom( *pMed ) ) in CreateObjectShell()
1940 mxObjShell->DoSaveCompleted( pMed ); in CreateObjectShell()
/trunk/main/sc/source/ui/docshell/
H A Dtablink.cxx213 SfxMedium* pMed = new SfxMedium(aNewUrl, STREAM_STD_READ, sal_False, pFilter, pSet); in Refresh() local
216 pMed->UseInteractionHandler( sal_True ); // enable the filter options dialog in Refresh()
221 pSrcShell->DoLoad(pMed); in Refresh()
224 String aNewOpt = ScDocumentLoader::GetOptions(*pMed); in Refresh()
294 if( pMed->GetError() == 0 ) in Refresh()
475 SfxMedium* pMed = pDocSh->GetMedium(); in GetFilterName() local
476 if ( rFileName == pMed->GetName() ) in GetFilterName()
478 rFilter = pMed->GetFilter()->GetFilterName(); in GetFilterName()
479 rOptions = GetOptions(*pMed); in GetFilterName()
H A Ddocsh4.cxx691 SfxMedium* pMed = NULL; in Execute() local
731 pMed = new SfxMedium( aFileName, STREAM_STD_READ, sal_False, pFilter, pSet ); in Execute()
746 if ( pMed ) // nun wirklich ausfuehren... in Execute()
748 SfxErrorContext aEc( ERRCTX_SFX_OPENDOC, pMed->GetName() ); in Execute()
753 pOtherDocSh->DoLoad( pMed ); in Execute()
2221 SfxMedium* pMed = pImpl->pDocInserter->CreateMedium(); in IMPL_LINK() local
2223 if (pMed) in IMPL_LINK()
2225 pImpl->pRequest->AppendItem( SfxStringItem( SID_FILE_NAME, pMed->GetName() ) ); in IMPL_LINK()
2228 if ( pMed->GetFilter() ) in IMPL_LINK()
2231 String sOptions = ScDocumentLoader::GetOptions( *pMed ); in IMPL_LINK()
[all …]
H A Darealink.cxx267 SfxMedium* pMed = new SfxMedium(aNewUrl, STREAM_STD_READ, sal_False, pFilter); in Refresh() local
272 pSrcShell->DoLoad(pMed); in Refresh()
277 String aNewOpt = ScDocumentLoader::GetOptions(*pMed); in Refresh()
/trunk/main/sw/source/core/docnode/
H A Dsection.cxx1299 SfxMedium* pMed = pShell->GetMedium(); in lcl_FindDocShell() local
1300 if( pMed && pMed->GetURLObject() == aTmpObj ) in lcl_FindDocShell()
1303 if( ( SFX_ITEM_SET == pMed->GetItemSet()->GetItemState( in lcl_FindDocShell()
1324 SfxMedium* pMed = new SfxMedium( aTmpObj.GetMainURL( in lcl_FindDocShell() local
1327 pMed->DownLoad(); // nur mal das Medium anfassen (DownLoaden) in lcl_FindDocShell()
1330 if( !pMed->GetError() ) in lcl_FindDocShell()
1343 pMed->GetItemSet()->Put( SfxInt16Item( SID_VERSION, nVersion )); in lcl_FindDocShell()
1346 pMed->GetItemSet()->Put( SfxStringItem( SID_PASSWORD, rPasswd )); in lcl_FindDocShell()
1354 pMed->SetFilter( pSfxFlt ); in lcl_FindDocShell()
1359 if( xDocSh->DoLoad( pMed ) ) in lcl_FindDocShell()
[all …]
/trunk/main/sw/source/ui/uiview/
H A Dsrcview.cxx391 SfxMedium* pMed = 0; in Execute() local
393 pMed = pDocShell->GetMedium(); in Execute()
398 pMed = pDocShell->GetMedium(); in Execute()
400 if(pMed) in Execute()
402 SvStream* pOutStream = pMed->GetOutStream(); in Execute()
407 pMed->CloseOutStream(); in Execute()
408 pMed->Commit(); in Execute()
H A Dview2.cxx2058 SfxMedium* pMed = 0; in InsertDoc() local
2067 pMed = new SfxMedium(rFileName, STREAM_READ, sal_True, 0, 0 ); in InsertDoc()
2069 pMed->UseInteractionHandler( sal_True ); in InsertDoc()
2070 ErrCode nErr = aMatcher.GuessFilter( *pMed, &pFilter, sal_False ); in InsertDoc()
2072 DELETEZ(pMed); in InsertDoc()
2074 pMed->SetFilter( pFilter ); in InsertDoc()
2077 pMed = new SfxMedium(rFileName, STREAM_READ, sal_True, pFilter, 0); in InsertDoc()
2086 if( !pMed ) in InsertDoc()
2089 return InsertMedium( nSlotId, pMed, nVersion ); in InsertDoc()
2460 SfxMedium* pMed = pViewImpl->CreateMedium(); in IMPL_LINK() local
[all …]
/trunk/main/sd/source/ui/dlg/
H A Dsdtreelb.cxx1124 SdDrawDocument* SdPageObjsTLB::GetBookmarkDoc(SfxMedium* pMed) in GetBookmarkDoc() argument
1128 (pMed && (!mpOwnMedium || mpOwnMedium->GetName() != pMed->GetName())) in GetBookmarkDoc()
1132 if (mpOwnMedium != pMed) in GetBookmarkDoc()
1137 if (pMed) in GetBookmarkDoc()
1145 mpOwnMedium = pMed; in GetBookmarkDoc()
1148 DBG_ASSERT( mpMedium || pMed, "No SfxMedium provided!" ); in GetBookmarkDoc()
1150 if( pMed ) in GetBookmarkDoc()
1154 if (mxBookmarkDocShRef->DoLoad(pMed)) in GetBookmarkDoc()
/trunk/main/sw/source/ui/dochdl/
H A Dgloshdl.cxx870 SfxMedium* pMed = new SfxMedium( rName, STREAM_READ, sal_True, 0, 0 ); in ImportGlossaries() local
872 pMed->UseInteractionHandler( sal_True ); in ImportGlossaries()
873 if( !aMatcher.GuessFilter( *pMed, &pFilter, sal_False ) ) in ImportGlossaries()
876 pMed->SetFilter( pFilter ); in ImportGlossaries()
881 SwReader aReader( *pMed, rName ); in ImportGlossaries()
890 DELETEZ(pMed); in ImportGlossaries()
/trunk/main/sc/source/core/tool/
H A Dprogress.cxx65 SfxMedium* pMed = pObjSh->GetMedium(); in lcl_IsHiddenDocument() local
66 if (pMed) in lcl_IsHiddenDocument()
68 SfxItemSet* pSet = pMed->GetItemSet(); in lcl_IsHiddenDocument()
/trunk/main/sw/source/ui/utlui/
H A Dglbltree.cxx1502 SfxMedium* pMed = pMedList->First(); in IMPL_LINK() local
1504 while ( pMed ) in IMPL_LINK()
1506 String sFileName = pMed->GetURLObject().GetMainURL( INetURLObject::NO_DECODE ); in IMPL_LINK()
1508 sFileName += pMed->GetFilter()->GetFilterName(); in IMPL_LINK()
1511 pMed = pMedList->Next(); in IMPL_LINK()
/trunk/main/sd/source/ui/view/
H A Ddrviewsb.cxx439 SfxMedium* pMed = pFrame->GetObjectShell()->GetMedium(); in FuTemp02() local
440 if (pMed) in FuTemp02()
441 aReferName = pMed->GetName(); in FuTemp02()
/trunk/main/sfx2/source/bastyp/
H A Dsfxhtml.cxx73 SfxMedium *pMed ) : in SfxHTMLParser() argument
75 pMedium( pMed ), pDLMedium( 0 ), in SfxHTMLParser()
/trunk/main/sfx2/source/inc/
H A Dnfltdlg.hxx54 SfxMedium* pMed,
/trunk/main/sc/source/ui/view/
H A Dviewfun2.cxx2447 SfxMedium* pMed = pSrcShell->GetMedium(); in ImportTables() local
2448 String aFileName = pMed->GetName(); in ImportTables()
2450 if (pMed->GetFilter()) in ImportTables()
2451 aFilterName = pMed->GetFilter()->GetFilterName(); in ImportTables()
2452 String aOptions = ScDocumentLoader::GetOptions(*pMed); in ImportTables()
/trunk/main/sc/source/core/data/
H A Dglobal.cxx935 SfxMedium* pMed = pFrame->GetObjectShell()->GetMedium(); in OpenURL() local
936 if (pMed) in OpenURL()
937 aReferName = pMed->GetName(); in OpenURL()

Completed in 178 milliseconds

12