Lines Matching refs:rOStm
1353 sal_Bool ImpGraphic::ImplWriteEmbedded( SvStream& rOStm ) in ImplWriteEmbedded() argument
1361 const sal_uInt16 nOldFormat = rOStm.GetNumberFormatInt(); in ImplWriteEmbedded()
1364 rOStm.SetNumberFormatInt( NUMBERFORMAT_INT_LITTLEENDIAN ); in ImplWriteEmbedded()
1367 if( rOStm.GetVersion() >= SOFFICE_FILEFORMAT_50 ) in ImplWriteEmbedded()
1370 rOStm << GRAPHIC_FORMAT_50; in ImplWriteEmbedded()
1373 VersionCompat* pCompat = new VersionCompat( rOStm, STREAM_WRITE, 1 ); in ImplWriteEmbedded()
1375 rOStm << (long) meType; in ImplWriteEmbedded()
1378 nDataFieldPos = rOStm.Tell(); in ImplWriteEmbedded()
1379 rOStm << (long) 0; in ImplWriteEmbedded()
1381 rOStm << aSize; in ImplWriteEmbedded()
1382 rOStm << aMapMode; in ImplWriteEmbedded()
1389 rOStm << (long) meType; in ImplWriteEmbedded()
1392 nDataFieldPos = rOStm.Tell(); in ImplWriteEmbedded()
1393 rOStm << (long) 0; in ImplWriteEmbedded()
1395 rOStm << (long) aSize.Width(); in ImplWriteEmbedded()
1396 rOStm << (long) aSize.Height(); in ImplWriteEmbedded()
1397 rOStm << (long) aMapMode.GetMapUnit(); in ImplWriteEmbedded()
1398 rOStm << (long) aMapMode.GetScaleX().GetNumerator(); in ImplWriteEmbedded()
1399 rOStm << (long) aMapMode.GetScaleX().GetDenominator(); in ImplWriteEmbedded()
1400 rOStm << (long) aMapMode.GetScaleY().GetNumerator(); in ImplWriteEmbedded()
1401 rOStm << (long) aMapMode.GetScaleY().GetDenominator(); in ImplWriteEmbedded()
1402 rOStm << (long) aMapMode.GetOrigin().X(); in ImplWriteEmbedded()
1403 rOStm << (long) aMapMode.GetOrigin().Y(); in ImplWriteEmbedded()
1407 if( !rOStm.GetError() ) in ImplWriteEmbedded()
1409 const sal_uLong nDataStart = rOStm.Tell(); in ImplWriteEmbedded()
1412 rOStm << *this; in ImplWriteEmbedded()
1414 if( !rOStm.GetError() ) in ImplWriteEmbedded()
1416 const sal_uLong nStmPos2 = rOStm.Tell(); in ImplWriteEmbedded()
1417 rOStm.Seek( nDataFieldPos ); in ImplWriteEmbedded()
1418 rOStm << (long) ( nStmPos2 - nDataStart ); in ImplWriteEmbedded()
1419 rOStm.Seek( nStmPos2 ); in ImplWriteEmbedded()
1424 rOStm.SetNumberFormatInt( nOldFormat ); in ImplWriteEmbedded()
1698 sal_Bool ImpGraphic::ImplExportNative( SvStream& rOStm ) const in ImplExportNative()
1702 if( !rOStm.GetError() ) in ImplExportNative()
1707 bResult = mpGfxLink->ExportNative( rOStm ); in ImplExportNative()
1710 rOStm << *this; in ImplExportNative()
1711 bResult = ( rOStm.GetError() == ERRCODE_NONE ); in ImplExportNative()
1715 rOStm.SetError( SVSTREAM_GENERALERROR ); in ImplExportNative()
1882 SvStream& operator<<( SvStream& rOStm, const ImpGraphic& rImpGraphic ) in operator <<() argument
1884 if( !rOStm.GetError() ) in operator <<()
1888 if( ( rOStm.GetVersion() >= SOFFICE_FILEFORMAT_50 ) && in operator <<()
1889 ( rOStm.GetCompressMode() & COMPRESSMODE_NATIVE ) && in operator <<()
1895 rOStm << NATIVE_FORMAT_50; in operator <<()
1898 pCompat = new VersionCompat( rOStm, STREAM_WRITE, 1 ); in operator <<()
1903 rOStm << *rImpGraphic.mpGfxLink; in operator <<()
1908 const sal_uInt16 nOldFormat = rOStm.GetNumberFormatInt(); in operator <<()
1909 rOStm.SetNumberFormatInt( NUMBERFORMAT_INT_LITTLEENDIAN ); in operator <<()
1927 rOStm << nSvgMagic; in operator <<()
1928 rOStm << rImpGraphic.getSvgData()->getSvgDataArrayLength(); in operator <<()
1929 …rOStm.Write(rImpGraphic.getSvgData()->getSvgDataArray().get(), rImpGraphic.getSvgData()->getSvgDat… in operator <<()
1930 rOStm.WriteByteString(rImpGraphic.getSvgData()->getPath()); in operator <<()
1934 rOStm << *rImpGraphic.mpAnimation; in operator <<()
1938 WriteDIBBitmapEx(rImpGraphic.maEx, rOStm); in operator <<()
1946 rOStm << rImpGraphic.maMetaFile; in operator <<()
1951 rOStm.SetNumberFormatInt( nOldFormat ); in operator <<()
1955 rOStm.SetError( SVSTREAM_GENERALERROR ); in operator <<()
1958 return rOStm; in operator <<()