/aoo4110/main/sfx2/source/doc/ |
H A D | objmisc.cxx | 442 if ( !pMedium ) in IsReadOnlyMedium() 487 pMedium->SetOpenMode( SFX_STREAM_READONLY, pMedium->IsDirect(), sal_True ); in SetReadOnly() 682 if ( pMedium && pMedium->GetStorage().is() ) in DisconnectFromShared() 695 ConnectTmpStorage_Impl( pMedium->GetStorage(), pMedium ); in DisconnectFromShared() 697 pMedium->Close(); in DisconnectFromShared() 722 if ( pMedium ) in FreeSharedFile() 1878 if ( !pMedium ) in IsPreview() 2167 if ( pMedium ) in getCurrentMacroExecMode() 2180 if ( pMedium ) in setCurrentMacroExecMode() 2195 if ( pMedium ) in getDocumentLocation() [all …]
|
H A D | objstor.cxx | 494 pMedium = pMed; in DoInitNew() 495 if ( !pMedium ) in DoInitNew() 540 if ( pMedium && pMedium->HasStorage_Impl() ) in ImportFromGeneratedStream_Impl() 553 if ( !pMedium ) in ImportFromGeneratedStream_Impl() 597 pMedium = pMed; in DoLoad() 805 ( !pMedium->GetFilter() || pMedium->GetFilter()->UsesStorage() ) in DoLoad() 1230 if ( pMedium in SaveTo_Impl() 1286 || ConnectTmpStorage_Impl( pMedium->GetStorage(), pMedium ) ) in SaveTo_Impl() 1334 || ConnectTmpStorage_Impl( pMedium->GetStorage(), pMedium ) ) in SaveTo_Impl() 2080 const SfxFilter *pFilter = pMedium ? pMedium->GetFilter() : 0; in DoSaveCompleted() [all …]
|
H A D | docinsert.cxx | 104 SfxMedium* pMedium = NULL; in CreateMedium() local 109 pMedium = new SfxMedium( in CreateMedium() 122 pMedium->SetFilter( pFilter ); in CreateMedium() 124 DELETEZ( pMedium ); in CreateMedium() 126 if ( pMedium && CheckPasswd_Impl( 0, SFX_APP()->GetPool(), pMedium ) == ERRCODE_ABORT ) in CreateMedium() 127 pMedium = NULL; in CreateMedium() 132 return pMedium; in CreateMedium() 155 pMedium->SetFilter( pFilter ); in CreateMediumList() 157 DELETEZ( pMedium ); in CreateMediumList() 159 if( pMedium && CheckPasswd_Impl( 0, SFX_APP()->GetPool(), pMedium ) != ERRCODE_ABORT ) in CreateMediumList() [all …]
|
H A D | sfxbasemodel.cxx | 1002 if ( pMedium ) in attachResource() 1014 pMedium->SetFilter( in attachResource() 1855 delete pMedium; in load() 1902 pMedium->ResetError(); in load() 1903 pMedium->CloseStorage(); in load() 1968 delete pMedium; in load() 2756 if ( pMedium ) in GetMediumFilterName_Impl() 2757 pFilter = pMedium->GetFilter(); in GetMediumFilterName_Impl() 2787 if ( pMedium ) in impl_store() 3849 if ( pMedium ) in getTitle() [all …]
|
H A D | objxtor.cxx | 296 , pMedium(0) in SfxObjectShell() 345 pMedium(0), in SfxObjectShell() 385 …if ( pMedium && pMedium->HasStorage_Impl() && pMedium->GetStorage( sal_False ) == pImp->m_xDocStor… in ~SfxObjectShell() 386 pMedium->CanDisposeStorage_Impl( sal_False ); in ~SfxObjectShell() 397 if ( pMedium ) in ~SfxObjectShell() 399 pMedium->CloseAndReleaseStreams_Impl(); in ~SfxObjectShell() 404 DELETEX( pMedium ); in ~SfxObjectShell()
|
/aoo4110/main/embedserv/source/embed/ |
H A D | ed_idataobj.cxx | 96 if ( !pMedium ) in GetData() 113 pMedium->tymed = TYMED_ENHMF; in GetData() 114 pMedium->hEnhMetaFile = hMeta; in GetData() 115 pMedium->pUnkForRelease = NULL; in GetData() 131 pMedium->tymed = TYMED_MFPICT; in GetData() 132 pMedium->hMetaFilePict = hMeta; in GetData() 133 pMedium->pUnkForRelease = NULL; in GetData() 157 pMedium->pstg = pNewStg; in GetData() 158 pMedium->pstg->AddRef(); in GetData() 173 if ( !pMedium ) in GetDataHere() [all …]
|
/aoo4110/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 81 if( 0 != (po->pMedium = pMedium ) && in Read() 451 : SwDocFac(rPam.GetDoc()), pStrm(0), pMedium(&rMedium), in SwReader() 463 : pTemplate(0), pStrm(0), pMedium(0), bInsertMode(0), in Reader() 614 ASSERT( pMedium, "Wo ist das Medium??" ); in SetStrmStgPtr() 616 if( pMedium->IsStorage() ) in SetStrmStgPtr() 620 xStg = pMedium->GetStorage(); in SetStrmStgPtr() 626 pStrm = pMedium->GetInStream(); in SetStrmStgPtr() 716 if( !( 0 != (po->pMedium = pMedium ) && !po->SetStrmStgPtr() )) in HasGlossaries() 732 if( !( 0 != (po->pMedium = pMedium ) && !po->SetStrmStgPtr() )) in ReadGlossaries() 778 : pStrm(&rStrm), pMedium(0), pOutPam(&rPam), pShell(0), in SwWriter() [all …]
|
H A D | iodetect.cxx | 289 const String& rPrefFltName, SfxMedium* pMedium) in GetFileFilter() argument 304 …if( pMedium ? ( pMedium->IsStorage() || SotStorage::IsStorageFile( pMedium->GetInStream() ) ) : So… in GetFileFilter() 309 if (!pMedium ) in GetFileFilter() 314 …pMedium = new SfxMedium( aObj.GetMainURL( INetURLObject::NO_DECODE ), STREAM_STD_READ, sal_False ); in GetFileFilter() 322 if ( pMedium->IsStorage() ) in GetFileFilter() 324 … com::sun::star::uno::Reference < com::sun::star::embed::XStorage > xStor = pMedium->GetStorage(); in GetFileFilter() 348 SvStream* pStream = pMedium->GetInStream(); in GetFileFilter() 381 if (pMedium) in GetFileFilter() 383 SvStream* pIStrm = pMedium->GetInStream(); in GetFileFilter() 431 if( pMedium ) in GetFileFilter() [all …]
|
/aoo4110/main/sd/source/ui/func/ |
H A D | fuinsfil.cxx | 279 pMedium->SetFilter( pFilter ); in DoExecute() 282 …if( pMedium->IsStorage() || ( pMedium->GetInStream() && SotStorage::IsStorageFile( pMedium->GetInS… in DoExecute() 290 InsSDDinDrMode( pMedium ); in DoExecute() 292 InsSDDinOlMode( pMedium ); in DoExecute() 313 InsTextOrRTFinDrMode(pMedium); in DoExecute() 315 InsTextOrRTFinOlMode(pMedium); in DoExecute() 318 delete pMedium; in DoExecute() 329 delete pMedium; in DoExecute() 527 SvStream* pStream = pMedium->GetInStream(); in InsTextOrRTFinDrMode() 673 SvStream* pStream = pMedium->GetInStream(); in InsTextOrRTFinOlMode() [all …]
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | tablink.cxx | 495 if ( pMedium->GetError() == ERRCODE_NONE ) in GetFilterName() 508 if ( pMedium->GetError() == ERRCODE_NONE ) in GetFilterName() 517 delete pMedium; in GetFilterName() 534 pMedium(0) in ScDocumentLoader() 547 if ( pMedium->GetError() != ERRCODE_NONE ) in ScDocumentLoader() 568 pDocShell->DoLoad( pMedium ); in ScDocumentLoader() 582 else if ( pMedium ) in ~ScDocumentLoader() 583 delete pMedium; in ~ScDocumentLoader() 594 pMedium = NULL; in ReleaseDocRef() 606 if ( pDocShell && pMedium ) in IsError() [all …]
|
/aoo4110/main/sc/source/filter/xml/ |
H A D | xmlwrap.cxx | 96 pMedium(pM), in ScXMLImportWrapper() 134 if (pMedium) in GetStatusIndicator() 155 if ( !xStorage.is() && pMedium ) in ImportFromComponent() 398 if (pMedium) in Import() 401 if ( !xStorage.is() && pMedium ) in Import() 469 ::rtl::OUString aBaseURL = pMedium ? pMedium->GetBaseURL() : ::rtl::OUString(); in Import() 477 if ( pMedium && pMedium->GetItemSet() ) in Import() 881 if (pMedium) in Export() 882 sFileName = pMedium->GetName(); in Export() 926 ::rtl::OUString aBaseURL = pMedium ? pMedium->GetBaseURL( true ) : ::rtl::OUString(); in Export() [all …]
|
/aoo4110/main/sw/source/ui/dialog/ |
H A D | uiregionsw.cxx | 1313 if( pMedium ) in IMPL_LINK() 1314 aAbs = pMedium->GetURLObject(); in IMPL_LINK() 1488 if ( pMedium ) in IMPL_LINK() 1495 ::lcl_ReadSections( *pMedium, aSubRegionED ); in IMPL_LINK() 1496 delete pMedium; in IMPL_LINK() 1528 if( pMedium ) in IMPL_LINK() 1529 aAbs = pMedium->GetURLObject(); in IMPL_LINK() 1826 if( pMedium ) in FillItemSet() 1827 aAbs = pMedium->GetURLObject(); in FillItemSet() 2026 if ( pMedium ) in IMPL_LINK() [all …]
|
/aoo4110/main/sd/source/ui/dlg/ |
H A D | inspagob.cxx | 61 pMedium ( pSfxMedium ), in SdInsertPagesObjsDlg() 72 if( !pMedium ) in SdInsertPagesObjsDlg() 97 if( pMedium ) in Reset() 102 aLbTree.Fill( mpDoc, pMedium, rName ); in Reset() 131 if( pMedium ) in GetList()
|
/aoo4110/main/svx/source/xml/ |
H A D | xmlxtexp.cxx | 180 SfxMedium* pMedium = NULL; in save() local 230 pMedium = new SfxMedium( rURL, STREAM_WRITE | STREAM_TRUNC, sal_True ); in save() 231 pMedium->IsRemote(); in save() 233 SvStream* pStream = pMedium->GetOutStream(); in save() 276 if( pMedium ) in save() 278 pMedium->Commit(); in save() 279 delete pMedium; in save()
|
/aoo4110/main/sd/source/ui/inc/ |
H A D | fuinsfil.hxx | 58 void InsTextOrRTFinOlMode(SfxMedium* pMedium); 59 sal_Bool InsSDDinOlMode(SfxMedium* pMedium); 60 void InsTextOrRTFinDrMode(SfxMedium* pMedium); 61 sal_Bool InsSDDinDrMode(SfxMedium* pMedium);
|
/aoo4110/main/sfx2/inc/sfx2/ |
H A D | objsh.hxx | 201 …SfxMedium * pMedium; // Beschreibung der Datei bzw. des Storage, in dem sich das Objekt befi… member in SfxObjectShell 276 SfxMedium * GetMedium() const { return pMedium; } in GetMedium() 277 void ForgetMedium() { pMedium = 0; } in ForgetMedium() 323 sal_Bool DoInitNew( SfxMedium* pMedium=0 ); 324 sal_Bool DoLoad( SfxMedium* pMedium ); 332 virtual sal_Bool LoadOwnFormat( SfxMedium& pMedium ); 333 virtual sal_Bool SaveAsOwnFormat( SfxMedium& pMedium ); 424 static sal_uInt32 HandleFilter( SfxMedium* pMedium, SfxObjectShell* pDoc ); 595 Window* GetDialogParent( SfxMedium* pMedium=0 ); 692 …om::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, SfxMedium* pMedium );
|
H A D | sfxhtml.hxx | 45 SfxMedium* pMedium; member in SfxHTMLParser 55 SfxHTMLParser( SvStream& rStream, sal_Bool bNewDoc=sal_True, SfxMedium *pMedium=0 ); 112 SfxMedium *GetMedium() { return pMedium; } in GetMedium() 113 const SfxMedium *GetMedium() const { return pMedium; } in GetMedium()
|
/aoo4110/main/sfx2/source/view/ |
H A D | viewfrm.cxx | 630 SfxMedium *pMedium = xOldObj->GetMedium(); in ExecReload_Impl() local 634 pMedium->GetName(); in ExecReload_Impl() 661 const SfxFilter *pFilter = pMedium->GetFilter(); in ExecReload_Impl() 676 pNewSet = new SfxAllItemSet( *pMedium->GetItemSet() ); in ExecReload_Impl() 715 pNewSet->Put( SfxStringItem( SID_REFERER, pMedium->GetName() ) ); in ExecReload_Impl() 749 sal_Bool bHasStorage = pMedium->HasStorage_Impl(); in ExecReload_Impl() 755 if ( !xOldObj->ConnectTmpStorage_Impl( pMedium->GetStorage(), pMedium ) ) in ExecReload_Impl() 759 pMedium->CloseAndRelease(); in ExecReload_Impl() 807 pMedium->ReOpen(); in ExecReload_Impl() 808 pMedium->LockOrigFileOnDemand( sal_False, sal_True ); in ExecReload_Impl() [all …]
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | view2.cxx | 2092 long SwView::InsertMedium( sal_uInt16 nSlotId, SfxMedium* pMedium, sal_Int16 nVersion ) in InsertMedium() argument 2118 aRequest.AppendItem(SfxStringItem(SID_INSERTDOC, pMedium->GetOrigURL())); in InsertMedium() 2119 if(pMedium->GetFilter()) in InsertMedium() 2126 sal_uInt32 nError = SfxObjectShell::HandleFilter( pMedium, pDocSh ); in InsertMedium() 2130 delete pMedium; in InsertMedium() 2133 pDocSh->RegisterTransfer( *pMedium ); in InsertMedium() 2134 pMedium->DownLoad(); // ggfs. den DownLoad anstossen in InsertMedium() 2138 Reader *pRead = pDocSh->StartConvertFrom( *pMedium, &pRdr, pWrtShell ); in InsertMedium() 2161 nErrno = pDocSh->InsertFrom( *pMedium ) ? 0 : ERR_SWG_READ_ERROR; in InsertMedium() 2205 int nRet = lcl_FindDocShell( xDocSh, xLockRef, pMedium->GetName(), aEmptyStr, in InsertMedium() [all …]
|
/aoo4110/main/sw/source/ui/shells/ |
H A D | textdrw.cxx | 103 SfxMedium* pMedium = rSh.GetView().GetDocShell()->GetMedium(); in InsertURLButton() local 105 if( pMedium ) in InsertURLButton() 106 aAbs = pMedium->GetURLObject(); in InsertURLButton()
|
H A D | drformsh.cxx | 142 SfxMedium* pMedium = GetView().GetDocShell()->GetMedium(); in TYPEINIT1() local 144 if( pMedium ) in TYPEINIT1() 145 aAbs = pMedium->GetURLObject(); in TYPEINIT1()
|
/aoo4110/main/sw/source/filter/xml/ |
H A D | swxml.cxx | 549 if( pMedium ) in Read() 550 xStorage = pMedium->GetStorage(); in Read() 814 SfxMedium* pMedDescrMedium = pMedium ? pMedium : pDocSh->GetMedium(); in Read() 1023 if ( pMedium && pMedium->GetFilter() && in Read() 1024 pMedium->GetFilter()->IsOwnTemplateFormat() ) in Read()
|
/aoo4110/main/sw/source/ui/fldui/ |
H A D | javaedit.cxx | 282 SfxMedium* pMedium = pSh->GetView().GetDocShell()->GetMedium(); in SetFld() local 284 if( pMedium ) in SetFld() 285 aAbs = pMedium->GetURLObject(); in SetFld()
|
/aoo4110/main/embedserv/source/inc/ |
H A D | embeddoc.hxx | 95 STDMETHOD(GetData) ( FORMATETC * pFormatetc, STGMEDIUM * pMedium ); 96 STDMETHOD(GetDataHere) ( FORMATETC * pFormatetc, STGMEDIUM * pMedium ); 99 STDMETHOD(SetData) ( FORMATETC * pFormatetc, STGMEDIUM * pMedium, BOOL fRelease );
|
/aoo4110/main/embedserv/source/inprocserv/ |
H A D | inprocembobj.h | 174 STDMETHOD(GetData) ( FORMATETC * pFormatetc, STGMEDIUM * pMedium ); 175 STDMETHOD(GetDataHere) ( FORMATETC * pFormatetc, STGMEDIUM * pMedium ); 178 STDMETHOD(SetData) ( FORMATETC * pFormatetc, STGMEDIUM * pMedium, BOOL fRelease );
|