Lines Matching refs:pStream
92 SvMemoryStream* pStream = new SvMemoryStream( 65535, 65535 ); in getFormatStrFromGDI_Impl() local
93 if ( pStream ) in getFormatStrFromGDI_Impl()
96 if ( GraphicConverter::Export( *pStream, aGraph, nFormat ) == 0 ) in getFormatStrFromGDI_Impl()
97 pResult = pStream; in getFormatStrFromGDI_Impl()
99 delete pStream; in getFormatStrFromGDI_Impl()
126 SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aMetaURL, STREAM_STD_READWRITE ); in getEnhMetaFileFromGDI_Impl() local
127 if ( pStream ) in getEnhMetaFileFromGDI_Impl()
130 sal_Bool bFailed = (sal_Bool)GraphicConverter::Export( *pStream, aGraph, CVT_EMF ); in getEnhMetaFileFromGDI_Impl()
131 pStream->Flush(); in getEnhMetaFileFromGDI_Impl()
132 delete pStream; in getEnhMetaFileFromGDI_Impl()
154 SvMemoryStream* pStream = new SvMemoryStream( 65535, 65535 ); in getWinMetaFileFromGDI_Impl() local
155 if ( pStream ) in getWinMetaFileFromGDI_Impl()
158 sal_Bool bFailed = (sal_Bool)GraphicConverter::Export( *pStream, aGraph, CVT_WMF ); in getWinMetaFileFromGDI_Impl()
159 pStream->Flush(); in getWinMetaFileFromGDI_Impl()
162 sal_Int32 nLength = pStream->Seek( STREAM_SEEK_TO_END ); in getWinMetaFileFromGDI_Impl()
166 ( reinterpret_cast< const sal_uChar*>( pStream->GetData() ) ) + 22 ); in getWinMetaFileFromGDI_Impl()
205 delete pStream; in getWinMetaFileFromGDI_Impl()
383 SvStream* pStream = NULL; in getThumbnailFormatFromGDI_Impl() local
386 pStream = ::utl::UcbStreamHelper::CreateStream( xStream ); in getThumbnailFormatFromGDI_Impl()
388 if ( pMetaFile && pStream && !pStream->GetError() ) in getThumbnailFormatFromGDI_Impl()
402 && GraphicConverter::Export( *pStream, aResultBitmap, CVT_PNG ) == 0 in getThumbnailFormatFromGDI_Impl()
403 && ( pStream->Flush(), !pStream->GetError() ) ); in getThumbnailFormatFromGDI_Impl()
408 delete pStream; in getThumbnailFormatFromGDI_Impl()
420 SvStream* pStream = NULL; in getSignedThumbnailFormatFromBitmap_Impl() local
423 pStream = ::utl::UcbStreamHelper::CreateStream( xStream ); in getSignedThumbnailFormatFromBitmap_Impl()
425 if ( pStream && !pStream->GetError() ) in getSignedThumbnailFormatFromBitmap_Impl()
438 && GraphicConverter::Export( *pStream, aResultBitmap, CVT_PNG ) == 0 in getSignedThumbnailFormatFromBitmap_Impl()
439 && ( pStream->Flush(), !pStream->GetError() ) ); in getSignedThumbnailFormatFromBitmap_Impl()
442 delete pStream; in getSignedThumbnailFormatFromBitmap_Impl()