/aoo4110/main/sc/source/ui/miscdlgs/ |
H A D | linkarea.cxx | 122 SfxMedium* pMed = pSourceShell->GetMedium(); in IMPL_LINK() local 123 if ( pMed->GetName() == aEntered ) in IMPL_LINK() 188 SfxMedium* pMed = pSourceShell->GetMedium(); in InitFromOldLink() local 189 aCbUrl.SetText( pMed->GetName() ); in InitFromOldLink() 229 if ( pMed ) in IMPL_LINK() 243 pMed->SetFilter( pNewFilter ); in IMPL_LINK() 256 pSourceShell->DoLoad( pMed ); in IMPL_LINK() 265 aCbUrl.SetText( pMed->GetName() ); in IMPL_LINK() 319 SfxMedium* pMed = pSourceShell->GetMedium(); in GetURL() local 320 return pMed->GetName(); in GetURL() [all …]
|
H A D | instbdlg.cxx | 383 SfxMedium* pMed = pDocInserter->CreateMedium(); in IMPL_LINK() local 384 if ( pMed ) in IMPL_LINK() 387 SfxErrorContext aEc( ERRCTX_SFX_OPENDOC, pMed->GetName() ); in IMPL_LINK() 392 pMed->UseInteractionHandler( sal_True ); // to enable the filter options dialog in IMPL_LINK() 399 pDocShTables->DoLoad( pMed ); in IMPL_LINK()
|
/aoo4110/main/sw/source/core/unocore/ |
H A D | unocrsrhelper.cxx | 822 SfxMedium* pMed = 0; in InsertFile() local 871 pMed = new SfxMedium; in InsertFile() 875 pMed = xReadStorage.is() ? in InsertFile() 884 DELETEZ(pMed); in InsertFile() 886 pMed->SetFilter( pFilter ); in InsertFile() 890 if(!pMed) in InsertFile() 894 pMed = new SfxMedium; in InsertFile() 915 if( !pMed ) in InsertFile() 921 pDocSh->RegisterTransfer( *pMed ); in InsertFile() 926 SfxItemSet* pSet = pMed->GetItemSet(); in InsertFile() [all …]
|
/aoo4110/main/sfx2/source/view/ |
H A D | viewfrm.cxx | 372 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 D | orgmgr.cxx | 304 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 D | frame.cxx | 377 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()
|
/aoo4110/main/sfx2/source/appl/ |
H A D | sfxpicklist.cxx | 387 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()
|
/aoo4110/main/sfx2/source/doc/ |
H A D | objmisc.cxx | 296 SfxMedium * pMed = GetMedium(); in ResetError() local 297 if( pMed ) in ResetError() 298 pMed->ResetError(); in ResetError() 315 SfxMedium* pMed = GetMedium(); in SetTemplate() local 316 if( pMed ) pMed->SetFilter( aIter.First() ); in SetTemplate() 952 if ( pMed ) in GetTitle() 989 if ( !HasName() || !pMed ) in GetTitle() 2039 if ( pMed ) in UpdateTitle() 2046 pMed = GetMedium(); in UpdateTitle() 2056 if ( pMed ) in UpdateTitle() [all …]
|
H A D | objstor.cxx | 494 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 D | doctempl.cxx | 1909 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()
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | tablink.cxx | 213 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 D | docsh4.cxx | 691 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 D | arealink.cxx | 267 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()
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | section.cxx | 1299 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 …]
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 391 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 D | view2.cxx | 2058 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 …]
|
/aoo4110/main/sd/source/ui/dlg/ |
H A D | sdtreelb.cxx | 1124 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()
|
/aoo4110/main/sw/source/ui/dochdl/ |
H A D | gloshdl.cxx | 870 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()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | progress.cxx | 65 SfxMedium* pMed = pObjSh->GetMedium(); in lcl_IsHiddenDocument() local 66 if (pMed) in lcl_IsHiddenDocument() 68 SfxItemSet* pSet = pMed->GetItemSet(); in lcl_IsHiddenDocument()
|
/aoo4110/main/sw/source/ui/utlui/ |
H A D | glbltree.cxx | 1501 SfxMedium* pMed = pMedList->First(); in IMPL_LINK() local 1503 while ( pMed ) in IMPL_LINK() 1505 String sFileName = pMed->GetURLObject().GetMainURL( INetURLObject::NO_DECODE ); in IMPL_LINK() 1507 sFileName += pMed->GetFilter()->GetFilterName(); in IMPL_LINK() 1510 pMed = pMedList->Next(); in IMPL_LINK()
|
/aoo4110/main/sfx2/source/bastyp/ |
H A D | sfxhtml.cxx | 73 SfxMedium *pMed ) : in SfxHTMLParser() argument 75 pMedium( pMed ), pDLMedium( 0 ), in SfxHTMLParser()
|
/aoo4110/main/sd/source/ui/view/ |
H A D | drviewsb.cxx | 425 SfxMedium* pMed = pFrame->GetObjectShell()->GetMedium(); in FuTemp02() local 426 if (pMed) in FuTemp02() 427 aReferName = pMed->GetName(); in FuTemp02()
|
/aoo4110/main/sfx2/source/inc/ |
H A D | nfltdlg.hxx | 54 SfxMedium* pMed,
|
/aoo4110/main/sc/source/ui/view/ |
H A D | viewfun2.cxx | 2447 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()
|
/aoo4110/main/sc/source/core/data/ |
H A D | global.cxx | 935 SfxMedium* pMed = pFrame->GetObjectShell()->GetMedium(); in OpenURL() local 936 if (pMed) in OpenURL() 937 aReferName = pMed->GetName(); in OpenURL()
|