/aoo4110/main/sw/source/ui/uno/ |
H A D | swdetect.cxx | 200 aMedium.UseInteractionHandler( sal_True ); in detect() 201 if ( aMedium.GetErrorCode() == ERRCODE_NONE ) in detect() 205 xStream = aMedium.GetInputStream(); in detect() 206 xContent = aMedium.GetContent(); in detect() 207 bReadOnly = aMedium.IsReadOnly(); in detect() 209 sal_Bool bIsStorage = aMedium.IsStorage(); in detect() 218 …aMedium.SetError( aMedium.GetLastStorageCreationState(), ::rtl::OUString( RTL_CONSTASCII_USTRINGPA… in detect() 227 aMedium.GetError() ); in detect() 269 aDocumentTitle = aMedium.GetURLObject().getName( in detect() 320 aMedium.GetInStream(); in detect() [all …]
|
/aoo4110/main/sd/source/ui/unoidl/ |
H A D | sddetect.cxx | 208 aMedium.UseInteractionHandler( sal_True ); in detect() 217 if ( aMedium.GetErrorCode() == ERRCODE_NONE ) in detect() 221 xStream = aMedium.GetInputStream(); in detect() 222 xContent = aMedium.GetContent(); in detect() 223 bReadOnly = aMedium.IsReadOnly(); in detect() 224 sal_Bool bIsStorage = aMedium.IsStorage(); in detect() 226 if (aMedium.GetError() == SVSTREAM_OK) in detect() 240 …aMedium.SetError( aMedium.GetLastStorageCreationState(), ::rtl::OUString( RTL_CONSTASCII_USTRINGPA… in detect() 249 aMedium.GetError() ); in detect() 282 aDocumentTitle = aMedium.GetURLObject().getName( in detect() [all …]
|
/aoo4110/main/starmath/source/ |
H A D | smdetect.cxx | 202 aMedium.UseInteractionHandler( sal_True ); in detect() 204 sal_Bool bIsStorage = aMedium.IsStorage(); in detect() 205 if ( aMedium.GetErrorCode() == ERRCODE_NONE ) in detect() 209 xStream = aMedium.GetInputStream(); in detect() 210 xContent = aMedium.GetContent(); in detect() 211 bReadOnly = aMedium.IsReadOnly(); in detect() 217 if ( aMedium.GetLastStorageCreationState() != ERRCODE_NONE ) in detect() 222 …aMedium.SetError( aMedium.GetLastStorageCreationState(), ::rtl::OUString( RTL_CONSTASCII_USTRINGPA… in detect() 231 aMedium.GetError() ); in detect() 265 aDocumentTitle = aMedium.GetURLObject().getName( in detect() [all …]
|
/aoo4110/main/sc/source/ui/unoobj/ |
H A D | scdetect.cxx | 363 aMedium.UseInteractionHandler( sal_True ); in detect() 365 sal_Bool bIsStorage = aMedium.IsStorage(); in detect() 366 if ( aMedium.GetErrorCode() == ERRCODE_NONE ) in detect() 370 xStream.set(aMedium.GetInputStream()); in detect() 371 xContent.set(aMedium.GetContent()); in detect() 372 bReadOnly = aMedium.IsReadOnly(); in detect() 378 if ( aMedium.GetLastStorageCreationState() != ERRCODE_NONE ) in detect() 383 …aMedium.SetError( aMedium.GetLastStorageCreationState(), ::rtl::OUString( RTL_CONSTASCII_USTRINGPA… in detect() 392 aMedium.GetError() ); in detect() 421 aDocumentTitle = aMedium.GetURLObject().getName( in detect() [all …]
|
/aoo4110/main/svx/source/xoutdev/ |
H A D | _xoutbmp.cxx | 178 …SfxMedium aMedium(aURL.GetMainURL(INetURLObject::NO_DECODE), STREAM_WRITE|STREAM_SHARE_DENYNONE|ST… in WriteGraphic() local 179 SvStream* pOStm = aMedium.GetOutStream(); in WriteGraphic() 184 aMedium.Commit(); in WriteGraphic() 186 if(!aMedium.GetError()) in WriteGraphic() 224 SvStream* pOStm = aMedium.GetOutStream(); in WriteGraphic() 229 aMedium.Commit(); in WriteGraphic() 231 if( !aMedium.GetError() ) in WriteGraphic() 354 …SfxMedium aMedium( rURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_WRITE | STREAM_SHARE_DENYNO… in ExportGraphic() local 355 SvStream* pOStm = aMedium.GetOutStream(); in ExportGraphic() 365 aMedium.Commit(); in ExportGraphic() [all …]
|
/aoo4110/main/embeddedobj/source/msole/ |
H A D | olecomponent.cxx | 225 sal_Bool ConvertDataForFlavor( const STGMEDIUM& aMedium, 297 if ( aMedium.tymed == TYMED_MFPICT ) // Win Metafile in ConvertDataForFlavor() 325 GlobalUnlock( aMedium.hMetaFilePict ); in ConvertDataForFlavor() 328 else if ( aMedium.tymed == TYMED_ENHMF ) // Enh Metafile in ConvertDataForFlavor() 342 else if ( aMedium.tymed == TYMED_GDI ) // Bitmap in ConvertDataForFlavor() 345 nBufSize = GetBitmapBits( aMedium.hBitmap, 0, NULL ); in ConvertDataForFlavor() 1155 STGMEDIUM aMedium; in GetExtent() local 1159 hr = pDataObject->GetData( &aFormat, &aMedium ); in GetExtent() 1210 ::ReleaseStgMedium(&aMedium); in GetExtent() 1576 STGMEDIUM aMedium; in getTransferData() local [all …]
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | retrieveinputstream.cxx | 63 comphelper::MediaDescriptor aMedium( xProps ); in threadFunction() local 65 aMedium.addInputStream(); in threadFunction() 68 aMedium[comphelper::MediaDescriptor::PROP_INPUTSTREAM()] >>= xInputStream; in threadFunction() 72 aMedium[comphelper::MediaDescriptor::PROP_STREAM()] >>= xStream; in threadFunction() 81 aMedium.isStreamReadOnly() ); in threadFunction()
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 326 SfxMedium aMedium( rTmpFile, STREAM_WRITE, sal_True); in SaveContent() local 327 SvStream* pOutStream = aMedium.GetOutStream(); in SaveContent() 330 aMedium.Commit(); in SaveContent() 378 SfxMedium aMedium( xFP->getFiles().getConstArray()[0], in Execute() local 381 SvStream* pOutStream = aMedium.GetOutStream(); in Execute() 384 aMedium.Commit(); in Execute() 914 SfxMedium aMedium( sFileURL,STREAM_READWRITE, sal_True ); in Load() local 915 SwWriter aWriter( aMedium, *pDocShell->GetDoc() ); in Load() 917 ::GetHTMLWriter(aEmptyStr, aMedium.GetBaseURL( true ), xWriter); in Load() 927 aMedium.Commit(); in Load() [all …]
|
/aoo4110/main/cui/source/dialogs/ |
H A D | insdlg.cxx | 342 uno::Sequence < beans::PropertyValue > aMedium( 2 ); in Execute() local 343 aMedium[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "URL" ) ); in Execute() 344 aMedium[0].Value <<= ::rtl::OUString( aFileName ); in Execute() 356 … aMedium[1].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "InteractionHandler" ) ); in Execute() 357 aMedium[1].Value <<= xInteraction; in Execute() 362 aMedium.realloc( 1 ); in Execute() 367 m_xObj = aCnt.InsertEmbeddedLink( aMedium, aName ); in Execute() 369 m_xObj = aCnt.InsertEmbeddedObject( aMedium, aName ); in Execute()
|
/aoo4110/main/svx/source/xml/ |
H A D | xmlxtimp.cxx | 372 SfxMedium aMedium( rUrl, STREAM_READ | STREAM_NOCREATE, sal_True ); in load() local 386 aParserInput.sSystemId = aMedium.GetName(); in load() 388 if( aMedium.IsStorage() ) in load() 390 …uno::Reference < embed::XStorage > xStorage( aMedium.GetStorage( sal_False ), uno::UNO_QUERY_THROW… in load() 406 aParserInput.aInputStream = aMedium.GetInputStream(); in load()
|
/aoo4110/main/sfx2/source/appl/ |
H A D | appopen.cxx | 407 SfxMedium aMedium( rFileName, ( STREAM_READ | STREAM_SHARE_DENYNONE ), sal_False ); in LoadTemplate() local 409 if ( !aMedium.GetStorage( sal_True ).is() ) in LoadTemplate() 410 aMedium.GetInStream(); in LoadTemplate() 412 if ( aMedium.GetError() ) in LoadTemplate() 415 return aMedium.GetErrorCode(); in LoadTemplate() 418 aMedium.UseInteractionHandler( sal_True ); in LoadTemplate() 419 sal_uIntPtr nErr = GetFilterMatcher().GuessFilter( aMedium,&pFilter,SFX_FILTER_TEMPLATE, 0 ); in LoadTemplate()
|
/aoo4110/main/sd/source/filter/html/ |
H A D | pubdlg.cxx | 1642 …SfxMedium aMedium( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ | STREAM_NOCREATE, sal… in Load() local 1644 SvStream* pStream = aMedium.GetInStream(); in Load() 1680 …SfxMedium aMedium( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_WRITE | STREAM_TRUNC, sal_F… in Save() local 1681 aMedium.IsRemote(); in Save() 1683 SvStream* pStream = aMedium.GetOutStream(); in Save() 1708 aMedium.Close(); in Save() 1709 aMedium.Commit(); in Save() 1711 return( aMedium.GetError() == 0 ); in Save()
|
/aoo4110/main/sw/source/ui/dbui/ |
H A D | createaddresslistdialog.cxx | 427 SfxMedium aMedium( m_sURL, STREAM_READ, sal_True ); in SwCreateAddressListDialog() local 428 SvStream* pStream = aMedium.GetInStream(); in SwCreateAddressListDialog() 628 SfxMedium aMedium( m_sURL, STREAM_READWRITE|STREAM_TRUNC, sal_True ); in IMPL_LINK() local 629 SvStream* pStream = aMedium.GetOutStream(); in IMPL_LINK() 670 aMedium.Commit(); in IMPL_LINK()
|
/aoo4110/main/sd/source/ui/view/ |
H A D | sdview4.cxx | 483 uno::Sequence < beans::PropertyValue > aMedium(1); in IMPL_LINK() local 484 aMedium[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "URL" ) ); in IMPL_LINK() 485 aMedium[0].Value <<= ::rtl::OUString( aCurrentDropFile ); in IMPL_LINK() 488 InsertEmbeddedObject( aMedium, aName ); in IMPL_LINK()
|
/aoo4110/main/sc/source/filter/lotus/ |
H A D | lotus.cxx | 85 SfxMedium aMedium( aURL.GetMainURL(INetURLObject::NO_DECODE), STREAM_STD_READ, sal_True ); in ScImportLotus123() local 86 pStream = aMedium.GetInStream(); in ScImportLotus123()
|
/aoo4110/main/basctl/source/basicide/ |
H A D | baside2.cxx | 484 SfxMedium aMedium( aCurPath, STREAM_READ | STREAM_SHARE_DENYWRITE | STREAM_NOCREATE, sal_True ); in LoadBasic() local 485 SvStream* pStream = aMedium.GetInStream(); in LoadBasic() 498 sal_uLong nError = aMedium.GetError(); in LoadBasic() 546 …SfxMedium aMedium( aCurPath, STREAM_WRITE | STREAM_SHARE_DENYWRITE | STREAM_TRUNC, sal_True, NULL … in SaveBasicSource() local 547 SvStream* pStream = aMedium.GetOutStream(); in SaveBasicSource() 553 aMedium.Commit(); in SaveBasicSource() 555 sal_uLong nError = aMedium.GetError(); in SaveBasicSource()
|
/aoo4110/main/sw/source/ui/envelp/ |
H A D | envlop1.cxx | 108 Color aMedium = Color( ( aBack.GetRed() + aFront.GetRed() ) / 2, in Paint() local 130 SetFillColor( aMedium ); in Paint() 140 SetFillColor( aMedium ); in Paint()
|
/aoo4110/main/sfx2/source/doc/ |
H A D | docfile.cxx | 2397 comphelper::MediaDescriptor aMedium( xProps ); in GetLockingStream_Impl() local 2399 aMedium.addInputStreamOwnLock(); in GetLockingStream_Impl() 2402 aMedium[comphelper::MediaDescriptor::PROP_STREAM()] >>= pImp->m_xLockingStream; in GetLockingStream_Impl() 2403 aMedium[comphelper::MediaDescriptor::PROP_INPUTSTREAM()] >>= xInputStream; in GetLockingStream_Impl() 2485 comphelper::MediaDescriptor aMedium( xProps ); in GetMedium_Impl() local 2497 aMedium.erase( comphelper::MediaDescriptor::PROP_READONLY() ); in GetMedium_Impl() 2498 aMedium.addInputStream(); in GetMedium_Impl() 2503 aMedium.addInputStreamOwnLock(); in GetMedium_Impl() 2515 aMedium.addInputStream(); in GetMedium_Impl() 2522 aMedium[comphelper::MediaDescriptor::PROP_STREAM()] >>= pImp->xStream; in GetMedium_Impl() [all …]
|
H A D | DocumentMetadataAccess.cxx | 1378 SfxMedium aMedium(i_rMedium); in storeMetadataToMedium() local 1379 uno::Reference<embed::XStorage> xStorage(aMedium.GetOutputStorage()); in storeMetadataToMedium() 1412 const sal_Bool bOk = aMedium.Commit(); in storeMetadataToMedium() 1413 aMedium.Close(); in storeMetadataToMedium() 1415 sal_uInt32 nError = aMedium.GetError(); in storeMetadataToMedium()
|
/aoo4110/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 1270 SfxMedium aMedium( *pDest, STREAM_WRITE | STREAM_SHARE_DENYNONE, in CopyLocalFileToINet() local 1277 SvFileStream aCpy( aMedium.GetPhysicalName(), STREAM_WRITE ); in CopyLocalFileToINet() 1282 aMedium.Close(); in CopyLocalFileToINet() 1283 aMedium.Commit(); in CopyLocalFileToINet() 1285 bRet = 0 == aMedium.GetError(); in CopyLocalFileToINet()
|
/aoo4110/main/svx/source/gallery2/ |
H A D | galmisc.cxx | 116 SfxMedium aMedium( rURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, sal_True ); in GalleryGraphicImport() local 119 aMedium.DownLoad(); in GalleryGraphicImport() 121 SvStream* pIStm = aMedium.GetInStream(); in GalleryGraphicImport()
|
/aoo4110/main/sc/source/ui/view/ |
H A D | viewfun4.cxx | 711 uno::Sequence < beans::PropertyValue > aMedium(1); in PasteFile() local 712 aMedium[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "URL" ) ); in PasteFile() 713 aMedium[0].Value <<= ::rtl::OUString( aStrURL ); in PasteFile() 717 … uno::Reference < embed::XEmbeddedObject > xObj = aCnt.InsertEmbeddedObject( aMedium, aName ); in PasteFile()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | autoform.cxx | 1039 SfxMedium aMedium( aURL.GetMainURL(INetURLObject::NO_DECODE), STREAM_READ, sal_True ); in Load() local 1040 SvStream* pStream = aMedium.GetInStream(); in Load() 1145 SfxMedium aMedium( aURL.GetMainURL(INetURLObject::NO_DECODE), STREAM_WRITE, sal_True ); in Save() local 1146 SvStream* pStream = aMedium.GetOutStream(); in Save() 1172 aMedium.Commit(); in Save()
|
/aoo4110/main/sd/source/ui/dlg/ |
H A D | tpaction.cxx | 709 SfxMedium aMedium( aFile, in IMPL_LINK() local 713 if( aMedium.IsStorage() ) in IMPL_LINK() 719 uno::Reference < embed::XStorage > xStorage = aMedium.GetStorage(); in IMPL_LINK()
|
/aoo4110/main/sw/source/core/edit/ |
H A D | edtox.cxx | 359 SfxMedium aMedium( sAutoMarkURL, STREAM_STD_READ, sal_True ); in ApplyAutoMark() local 360 SvStream& rStrm = *aMedium.GetInStream(); in ApplyAutoMark()
|