Home
last modified time | relevance | path

Searched refs:rMedium (Results 1 – 25 of 75) sorted by relevance

123

/aoo41x/main/sfx2/source/doc/
H A Dobjstor.cxx193 return SaveAsChildren( rMedium ); in SaveAs()
1160 rMedium.SetFilter(pFilter); in SaveTo_Impl()
1353 rMedium.CloseAndRelease(); in SaveTo_Impl()
1708 RegisterTransfer( rMedium ); in SaveTo_Impl()
1709 bOk = rMedium.Commit(); in SaveTo_Impl()
1811 rMedium.Close(); in SaveTo_Impl()
2042 rMedium.CreateTempFileNoCopy(); in DoSaveAs()
2314 rMedium.GetItemSet()->Put( SfxStringItem( SID_FILE_NAME, rMedium.GetName() ) ); in InsertFrom()
2412 rMedium.GetItemSet()->Put( SfxStringItem( SID_FILE_NAME, rMedium.GetName() ) ); in ImportFrom()
3243 return Load( rMedium ); in LoadOwnFormat()
[all …]
H A Ddocfile.cxx2707 SfxMedium::SfxMedium( const SfxMedium& rMedium, sal_Bool bTemporary ) in SfxMedium() argument
2710 rMedium.pURLObj ? new INetURLObject(*rMedium.pURLObj) : 0 ), in SfxMedium()
2713 bDirect = rMedium.IsDirect(); in SfxMedium()
2714 nStorOpenMode = rMedium.GetOpenMode(); in SfxMedium()
2716 aName = rMedium.aName; in SfxMedium()
2720 aLogicName = rMedium.aLogicName; in SfxMedium()
2721 pSet = rMedium.GetItemSet() ? new SfxItemSet(*rMedium.GetItemSet()) : 0; in SfxMedium()
2722 pFilter = rMedium.pFilter; in SfxMedium()
3638 sal_Bool SfxMedium::TransferVersionList_Impl( SfxMedium& rMedium ) in TransferVersionList_Impl() argument
3640 if ( rMedium.pImp->aVersions.getLength() ) in TransferVersionList_Impl()
[all …]
/aoo41x/main/sd/source/ui/docshell/
H A Ddocshel4.cxx313 sal_Bool DrawDocShell::Load( SfxMedium& rMedium ) in Load() argument
321 SfxItemSet* pSet = rMedium.GetItemSet(); in Load()
339 bRet = SfxObjectShell::Load( rMedium ); in Load()
395 sal_Bool DrawDocShell::LoadFrom( SfxMedium& rMedium ) in LoadFrom() argument
469 SfxItemSet* pSet = rMedium.GetItemSet(); in ConvertFrom()
577 sal_Bool DrawDocShell::SaveAs( SfxMedium& rMedium ) in SaveAs() argument
606 …bRet = SdXMLFilter( rMedium, *this, sal_True, SDXMLMODE_Normal, SotStorage::GetVersion( rMedium.Ge… in SaveAs()
658 pFilter = new SdGRFFilter( rMedium, *this ); in ConvertTo()
1170 const SfxFilter* pFilter = rMedium.GetFilter(); in SaveAsOwnFormat()
1190 INetURLObject aURL( rMedium.GetName() ); in SaveAsOwnFormat()
[all …]
/aoo41x/main/sw/source/ui/app/
H A Ddocsh.cxx165 String aFileName( rMedium.GetName() ); in StartConvertFrom()
170 if( rMedium.IsStorage() in StartConvertFrom()
259 String aFileName( rMedium.GetName() ); in ConvertFrom()
536 SwWriter aWrt( rMedium, *mpDoc ); in SaveAs()
701 if ( rMedium.IsStorage() ) in ConvertTo()
718 sal_Bool bRet = SaveAs( rMedium ); in ConvertTo()
755 String aFileName( rMedium.GetName() ); in ConvertTo()
786 pSrcView->SaveContentTo(rMedium); in ConvertTo()
791 SwWriter aWrt( rMedium, *mpDoc ); in ConvertTo()
798 if( !rMedium.IsStorage() ) in ConvertTo()
[all …]
H A Ddocshini.cxx548 sal_Bool SwDocShell::Load( SfxMedium& rMedium ) in Load() argument
552 if( SfxObjectShell::Load( rMedium )) in Load()
566 …SFX_ITEMSET_ARG( rMedium.GetItemSet(), pUpdateDocItem, SfxUInt16Item, SID_UPDATEDOCMODE, sal_False… in Load()
583 SwReader aRdr( rMedium, aEmptyStr, mpDoc ); in Load()
608 SwReader aRdr( rMedium, aEmptyStr, mpDoc ); in Load()
669 sal_Bool SwDocShell::LoadFrom( SfxMedium& rMedium ) in LoadFrom() argument
683 uno::Reference < container::XNameAccess > xAccess( rMedium.GetStorage(), uno::UNO_QUERY ); in LoadFrom()
684 … if ( xAccess->hasByName( aStreamName ) && rMedium.GetStorage()->isStreamElement( aStreamName ) ) in LoadFrom()
694 SwReader aRdr( rMedium, aEmptyStr, mpDoc ); in LoadFrom()
728 SfxObjectShell::LoadFrom( rMedium ); in LoadFrom()
/aoo41x/main/sc/source/filter/excel/
H A Dexcel.cxx68 SvStream* pMedStrm = rMedium.GetInStream(); in ScImportExcel()
97 SfxItemSet* pItemSet = rMedium.GetItemSet(); in ScImportExcel()
112 aMediaDesc[ MediaDescriptor::PROP_INPUTSTREAM() ] <<= rMedium.GetInputStream(); in ScImportExcel()
192 XclImpRootData aImpData( eBiff, rMedium, xRootStrg, *pDocument, RTL_TEXTENCODING_MS_1252 ); in ScImportExcel()
215 static FltError lcl_ExportExcelBiff( SfxMedium& rMedium, ScDocument *pDocument, in lcl_ExportExcelBiff() argument
269 static FltError lcl_ExportExcel2007Xml( SfxMedium& rMedium, ScDocument *pDocument, in lcl_ExportExcel2007Xml() argument
274 XclExpRootData aExpData( EXC_BIFF8, rMedium, xRootStrg, *pDocument, eNach ); in lcl_ExportExcel2007Xml()
284 FltError ScFormatFilterPluginImpl::ScExportExcel5( SfxMedium& rMedium, ScDocument *pDocument, in ScExportExcel5() argument
295 SvStream* pMedStrm = rMedium.GetOutStream(); in ScExportExcel5()
301 eRet = lcl_ExportExcelBiff( rMedium, pDocument, pMedStrm, eFormat == ExpBiff8, eNach ); in ScExportExcel5()
[all …]
H A Dexcimp8.cxx257 SfxMedium& rMedium = GetMedium(); in ReadBasic() local
258 SfxItemSet* pItemSet = rMedium.GetItemSet(); in ReadBasic()
271 aMediaDesc[ MediaDescriptor::PROP_INPUTSTREAM() ] <<= rMedium.GetInputStream(); in ReadBasic()
272 … aMediaDesc[ MediaDescriptor::PROP_INTERACTIONHANDLER() ] <<= rMedium.GetInteractionHandler(); in ReadBasic()
/aoo41x/main/sc/source/ui/docshell/
H A Ddocsh.cxx567 bRet = LoadXML( &rMedium, NULL ); in Load()
571 if (!bRet && !rMedium.GetError()) in Load()
574 if (rMedium.GetError()) in Load()
977 bRet = LoadXML( &rMedium, NULL ); in LoadFrom()
980 SfxObjectShell::LoadFrom( rMedium ); in LoadFrom()
1080 bRet = LoadXML( &rMedium, NULL ); in ConvertFrom()
1201 if( ! rMedium.IsStorage() ) in ConvertFrom()
1320 if( !rMedium.IsStorage() ) in ConvertFrom()
1368 if( !rMedium.IsStorage() ) in ConvertFrom()
1404 if( !rMedium.IsStorage() ) in ConvertFrom()
[all …]
/aoo41x/main/sfx2/source/bastyp/
H A Dfltfnc.cxx371 SfxMedium& rMedium, in GuessFilterIgnoringContent() argument
414 return GuessFilterControlDefaultUI( rMedium, ppFilter, nMust, nDont, sal_True ); in GuessFilter()
434 ::rtl::OUString sURL( rMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) ); in GuessFilterControlDefaultUI()
528 const SfxFilter* pOldFilter = rMedium.GetFilter(); in DetectFilter()
535 … SFX_ITEMSET_ARG( rMedium.GetItemSet(), pSalvageItem, SfxStringItem, SID_DOC_SALVAGE, sal_False); in DetectFilter()
544 sal_Bool bPreview = rMedium.IsPreview_Impl(); in DetectFilter()
545 SFX_ITEMSET_ARG(rMedium.GetItemSet(), pReferer, SfxStringItem, SID_REFERER, sal_False); in DetectFilter()
549 ErrCode nErr = GuessFilter( rMedium, &pFilter ); in DetectFilter()
564 GuessFilter( rMedium, &pInstallFilter, SFX_FILTER_IMPORT, SFX_FILTER_CONSULTSERVICE ); in DetectFilter()
574 GuessFilter( rMedium, &pInstallFilter, SFX_FILTER_IMPORT, 0 ); in DetectFilter()
[all …]
/aoo41x/main/starmath/source/
H A Ddocument.cxx764 bSuccess = 0 == aEquation.Import(rMedium); in ConvertFrom()
768 SvStream *pStream = rMedium.GetInStream(); in ConvertFrom()
815 sal_Bool SmDocShell::Load( SfxMedium& rMedium ) in Load() argument
820 if( SfxObjectShell::Load( rMedium )) in Load()
928 sal_Bool SmDocShell::SaveAs( SfxMedium& rMedium ) in SaveAs() argument
937 if ( SfxObjectShell::SaveAs( rMedium ) ) in SaveAs()
947 bRet = aEquation.Export(rMedium); in SaveAs()
957 const SfxFilter* pFlt = rMedium.GetFilter(); in ConvertTo()
971 bRet = aEquation.Export(rMedium); in ConvertTo()
978 bRet = aEquation.Export(rMedium); in ConvertTo()
[all …]
H A Dmathmlexport.cxx98 sal_Bool SmXMLExportWrapper::Export(SfxMedium &rMedium) in Export() argument
125 DBG_ASSERT( pDocShell->GetMedium() == &rMedium, in Export()
128 SfxItemSet* pSet = rMedium.GetItemSet(); in Export()
176 xInfoSet->setPropertyValue( sPropName, makeAny( rMedium.GetBaseURL( true ) ) ); in Export()
183 uno::Reference < embed::XStorage > xStg = rMedium.GetOutputStorage(); in Export()
190 if ( rMedium.GetItemSet() ) in Export()
193 rMedium.GetItemSet()->GetItem(SID_DOC_HIERARCHICALNAME) ); in Export()
239 SvStream *pStream = rMedium.GetOutStream(); in Export()
H A Dmathmlimport.cxx92 sal_uLong SmXMLImportWrapper::Import(SfxMedium &rMedium) in Import() argument
121 DBG_ASSERT( pDocShell->GetMedium() == &rMedium, in Import()
124 SfxItemSet* pSet = rMedium.GetItemSet(); in Import()
160 xInfoSet->setPropertyValue( sPropName, makeAny( rMedium.GetBaseURL() ) ); in Import()
163 if ( !(rMedium.IsStorage())) in Import()
177 if ( rMedium.IsStorage()) in Import()
183 if ( rMedium.GetItemSet() ) in Import()
186 rMedium.GetItemSet()->GetItem(SID_DOC_HIERARCHICALNAME) ); in Import()
203 rMedium.GetStorage(), xModelComp, "meta.xml", "Meta.xml", in Import()
214 rMedium.GetStorage(), xModelComp, "settings.xml", 0, in Import()
[all …]
/aoo41x/main/sc/source/filter/ftools/
H A Dfapihelper.cxx139 uno::Sequence< beans::NamedValue > ScfApiHelper::QueryEncryptionDataForMedium( SfxMedium& rMedium, in QueryEncryptionDataForMedium() argument
143 …SFX_ITEMSET_ARG( rMedium.GetItemSet(), pEncryptionDataItem, SfxUnoAnyItem, SID_ENCRYPTIONDATA, sal… in QueryEncryptionDataForMedium()
148 SFX_ITEMSET_ARG( rMedium.GetItemSet(), pPasswordItem, SfxStringItem, SID_PASSWORD, sal_False); in QueryEncryptionDataForMedium()
152 …OUString aDocName = INetURLObject( rMedium.GetOrigURL() ).GetName( INetURLObject::DECODE_WITH_CHAR… in QueryEncryptionDataForMedium()
156 rVerifier, aEncryptionData, aPassword, rMedium.GetInteractionHandler(), aDocName, in QueryEncryptionDataForMedium()
159 rMedium.GetItemSet()->ClearItem( SID_PASSWORD ); in QueryEncryptionDataForMedium()
160 rMedium.GetItemSet()->ClearItem( SID_ENCRYPTIONDATA ); in QueryEncryptionDataForMedium()
163rMedium.GetItemSet()->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( aEncryptionData ) ) ); in QueryEncryptionDataForMedium()
/aoo41x/main/sd/source/ui/inc/
H A DDrawDocShell.hxx88 virtual sal_Bool ConvertFrom( SfxMedium &rMedium );
90 virtual sal_Bool SaveAsOwnFormat( SfxMedium& rMedium );
91 virtual sal_Bool ConvertTo( SfxMedium &rMedium );
94 virtual sal_Bool Load( SfxMedium &rMedium );
95 virtual sal_Bool LoadFrom( SfxMedium& rMedium );
96 virtual sal_Bool SaveAs( SfxMedium &rMedium );
/aoo41x/main/sfx2/inc/sfx2/
H A Dobjsh.hxx334 virtual sal_Bool ConvertFrom( SfxMedium &rMedium );
335 virtual sal_Bool ConvertTo( SfxMedium &rMedium );
337 virtual sal_Bool Load( SfxMedium &rMedium );
338 virtual sal_Bool LoadFrom( SfxMedium& rMedium );
340 virtual sal_Bool SaveAs( SfxMedium &rMedium );
350 sal_Bool SaveAsChildren( SfxMedium &rMedium );
356 sal_Bool InsertFrom( SfxMedium &rMedium );
357 sal_Bool ImportFrom( SfxMedium &rMedium );
358 sal_Bool ExportTo( SfxMedium &rMedium );
481 void RegisterTransfer( SfxMedium& rMedium );
[all …]
H A Dfcontnr.hxx91 typedef sal_uIntPtr (*SfxDetectFilter)( SfxMedium& rMedium, const SfxFilter **, SfxFilterFlags nMus…
140 …sal_uInt32 GuessFilterIgnoringContent( SfxMedium& rMedium, const SfxFilter **, SfxFi…
141 …sal_uInt32 GuessFilter( SfxMedium& rMedium, const SfxFilter **, SfxFilterFlags nMust…
142 …sal_uInt32 GuessFilterControlDefaultUI( SfxMedium& rMedium, const SfxFilter **, SfxF…
143 …sal_uInt32 DetectFilter( SfxMedium& rMedium, const SfxFilter **, sal_Bool bPlugIn, s…
/aoo41x/main/sw/source/filter/basflt/
H A Dshellio.cxx428 SwReader::SwReader(SfxMedium& rMedium, const String& rFileName, SwDoc *pDocument) in SwReader() argument
429 : SwDocFac(pDocument), pStrm(0), pMedium(&rMedium), pCrsr(0), in SwReader()
432 SetBaseURL( rMedium.GetBaseURL() ); in SwReader()
450 SwReader::SwReader(SfxMedium& rMedium, const String& rFileName, SwPaM& rPam) in SwReader() argument
451 : SwDocFac(rPam.GetDoc()), pStrm(0), pMedium(&rMedium), in SwReader()
454 SetBaseURL( rMedium.GetBaseURL() ); in SwReader()
788 SwWriter::SwWriter(SfxMedium& rMedium, SwCrsrShell &rShell, sal_Bool bInWriteAll) in SwWriter() argument
789 : pStrm(0), pMedium(&rMedium), pOutPam(0), pShell(&rShell), in SwWriter()
794 SwWriter::SwWriter(SfxMedium& rMedium, SwDoc &rDocument) in SwWriter() argument
795 : pStrm(0), pMedium(&rMedium), pOutPam(0), pShell(0), rDoc(rDocument), in SwWriter()
H A Diodetect.cxx214 sal_Bool SwIoSystem::IsFileFilter( SfxMedium& rMedium, const String& rFmtName, in IsFileFilter() argument
225 if (rMedium.IsStorage()) in IsFileFilter()
226 xStor = rMedium.GetStorage(); in IsFileFilter()
229 SvStream* pStream = rMedium.GetInStream(); in IsFileFilter()
252 SvStream* pStrm = rMedium.GetInStream(); in IsFileFilter()
265 rMedium.GetPhysicalName(), rUserData ); in IsFileFilter()
/aoo41x/main/sw/inc/
H A Ddocsh.hxx93 SW_DLLPRIVATE virtual sal_Bool Load( SfxMedium& rMedium );
94 SW_DLLPRIVATE virtual sal_Bool LoadFrom( SfxMedium& rMedium );
95 SW_DLLPRIVATE virtual sal_Bool ConvertFrom( SfxMedium &rMedium );
96 SW_DLLPRIVATE virtual sal_Bool ConvertTo( SfxMedium &rMedium );
97 SW_DLLPRIVATE virtual sal_Bool SaveAs( SfxMedium& rMedium );
243 Reader* StartConvertFrom(SfxMedium& rMedium, SwReader** ppRdr,
/aoo41x/main/sw/source/ui/uno/
H A Dswdet2.cxx56 sal_uLong SwFilterDetect::DetectFilter( SfxMedium& rMedium, const SfxFilter** ppFilter ) in DetectFilter() argument
65 sal_Bool bDetected = SwIoSystem::IsFileFilter( rMedium, aPrefFlt ); in DetectFilter()
71 …const SfxFilter* pTmp = SwIoSystem::GetFileFilter( rMedium.GetPhysicalName(), aPrefFlt, &rMedium ); in DetectFilter()
/aoo41x/main/starmath/inc/
H A Ddocument.hxx150 virtual sal_Bool Load( SfxMedium& rMedium );
153 virtual sal_Bool SaveAs( SfxMedium& rMedium );
154 virtual sal_Bool ConvertTo( SfxMedium &rMedium );
163 virtual sal_Bool ConvertFrom(SfxMedium &rMedium);
/aoo41x/main/sc/source/filter/qpro/
H A Dqpro.cxx131 FltError ScFormatFilterPluginImpl::ScImportQuattroPro( SfxMedium &rMedium, ScDocument *pDoc ) in ScImportQuattroPro() argument
134 ScQProReader aReader( rMedium ); in ScImportQuattroPro()
139 ScQProReader::ScQProReader( SfxMedium &rMedium ): in ScQProReader() argument
140 ScBiffReader( rMedium ) in ScQProReader()
/aoo41x/main/sc/source/filter/lotus/
H A Dlotus.cxx41 FltError ScFormatFilterPluginImpl::ScImportLotus123( SfxMedium& rMedium, ScDocument* pDocument, Cha… in ScImportLotus123() argument
46 SvStream* pStream = rMedium.GetInStream(); in ScImportLotus123()
83 INetURLObject aURL( rMedium.GetURLObject() ); in ScImportLotus123()
/aoo41x/main/sc/source/ui/inc/
H A Ddocsh.hxx198 virtual sal_Bool Load( SfxMedium& rMedium );
199 virtual sal_Bool LoadFrom( SfxMedium& rMedium );
200 virtual sal_Bool ConvertFrom( SfxMedium &rMedium );
202 virtual sal_Bool SaveAs( SfxMedium& rMedium );
203 virtual sal_Bool ConvertTo( SfxMedium &rMedium );
/aoo41x/main/sd/source/filter/html/
H A Dsdhtmlfilter.cxx53 SdHTMLFilter::SdHTMLFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal_Bool bShowProgre… in SdHTMLFilter() argument
54 SdFilter( rMedium, rDocShell, bShowProgress ) in SdHTMLFilter()

Completed in 186 milliseconds

123