Home
last modified time | relevance | path

Searched refs:pStrm (Results 1 – 25 of 50) sorted by relevance

12

/trunk/main/sc/source/filter/xcl97/
H A DXclImpChangeTrack.cxx46 pStrm( NULL ), in XclImpChangeTrack()
66 pStrm = new XclImpStream( *xInStrm, GetRoot() ); in XclImpChangeTrack()
67 pStrm->CopyDecrypterFrom( rBookStrm ); in XclImpChangeTrack()
81 delete pStrm; in ~XclImpChangeTrack()
121 pStrm->ReaduInt16(), nTabIdCount )); in ReadTabNum()
129 *pStrm >> nYear >> nMonth >> nDay >> nHour >> nMin >> nSec; in ReadDateTime()
156 pStrm->Ignore( 3 ); in Read3DTabRefInfo()
157 …rFirstTab = static_cast< SCTAB >( GetTabInfo().GetCurrentIndex( pStrm->ReaduInt16(), nTabIdCount )… in Read3DTabRefInfo()
158 sal_uInt8 nFillByte = pStrm->ReaduInt8(); in Read3DTabRefInfo()
160 …static_cast< SCTAB >( GetTabInfo().GetCurrentIndex( pStrm->ReaduInt16(), nTabIdCount ) ) : rFirstT… in Read3DTabRefInfo()
[all …]
/trunk/main/sot/source/sdstor/
H A Dstgcache.cxx115 pStrm = NULL; in StgCache()
138 sal_uLong nPos = pStrm->Tell(); in SetPhysPageSize()
139 sal_uLong nFileSize = pStrm->Seek( STREAM_SEEK_TO_END ); in SetPhysPageSize()
141 pStrm->Seek( nPos ); in SetPhysPageSize()
321 pStrm->Flush(); in Commit()
322 SetError( pStrm->GetError() ); in Commit()
368 delete pStrm; in SetStrm()
369 pStrm = p; in SetStrm()
380 delete pStrm; in SetStrm()
382 pStrm = NULL; in SetStrm()
[all …]
H A Dstgole.cxx45 pStrm = rStg.OpenStream( rName, nMode ); in StgInternalStream()
54 delete pStrm; in ~StgInternalStream()
59 if( pStrm ) in GetData()
61 nSize = pStrm->Read( pData, nSize ); in GetData()
62 SetError( pStrm->GetError() ); in GetData()
71 if( pStrm ) in PutData()
73 nSize = pStrm->Write( pData, nSize ); in PutData()
74 SetError( pStrm->GetError() ); in PutData()
83 return pStrm ? pStrm->Seek( nPos ) : 0; in SeekPos()
88 if( pStrm ) in FlushData()
[all …]
H A Dstgstrms.cxx1093 pStrm = NULL; in StgTmpStrm()
1132 if( pStrm ) in ~StgTmpStrm()
1134 pStrm->Close(); in ~StgTmpStrm()
1136 delete pStrm; in ~StgTmpStrm()
1143 if( pStrm ) in GetSize()
1145 sal_uLong old = pStrm->Tell(); in GetSize()
1146 n = pStrm->Seek( STREAM_SEEK_TO_END ); in GetSize()
1147 pStrm->Seek( old ); in GetSize()
1156 if( pStrm ) in SetSize()
1157 pStrm->SetStreamSize( n ); in SetSize()
[all …]
H A Dstgcache.hxx58 SvStream* pStrm; // physical stream member in StgCache
71 SvStream* GetStrm() { return pStrm; } in GetStrm()
74 sal_Bool IsWritable() { return ( pStrm && pStrm->IsWritable() ); } in IsWritable()
H A Dstgio.cxx60 if( pStrm ) in Load()
135 pStrm->Flush(); in CommitAll()
136 sal_uLong n = pStrm->GetError(); in CommitAll()
/trunk/main/sd/source/filter/ppt/
H A Dpropread.cxx420 void Section::Read( SvStorageStream *pStrm ) in Read() argument
423 nSecOfs = pStrm->Tell(); in Read()
425 pStrm->Seek( STREAM_SEEK_TO_END ); in Read()
426 nStrmSize = pStrm->Tell(); in Read()
427 pStrm->Seek( nSecOfs ); in Read()
430 *pStrm >> nSecSize >> nPropCount; in Read()
431 while( nPropCount-- && ( pStrm->GetError() == ERRCODE_NONE ) ) in Read()
433 *pStrm >> nPropId >> nPropOfs; in Read()
434 nCurrent = pStrm->Tell(); in Read()
435 pStrm->Seek( nPropOfs + nSecOfs ); in Read()
[all …]
/trunk/main/sw/source/filter/basflt/
H A Dshellio.cxx75 po->pStrm = pStrm; in Read()
338 if( pStrm ) in Read()
340 pStrm->Seek(0); in Read()
341 pStrm->ResetError(); in Read()
429 : SwDocFac(pDocument), pStrm(0), pMedium(&rMedium), pCrsr(0), in SwReader()
438 : SwDocFac(rPam.GetDoc()), pStrm(&rStrm), pMedium(0), pCrsr(&rPam), in SwReader()
451 : SwDocFac(rPam.GetDoc()), pStrm(0), pMedium(&rMedium), in SwReader()
458 … : SwDocFac(rPam.GetDoc()), pStrm(0), xStg( rStg ), pMedium(0), pCrsr(&rPam), aFileName(rFilename) in SwReader()
463 : pTemplate(0), pStrm(0), pMedium(0), bInsertMode(0), in Reader()
626 pStrm = pMedium->GetInStream(); in SetStrmStgPtr()
[all …]
H A Diodetect.cxx252 SvStream* pStrm = rMedium.GetInStream(); in IsFileFilter() local
253 if( pStrm && !pStrm->GetError() ) in IsFileFilter()
257 sal_uLong nBytesRead = pStrm->Read(aBuffer, nMaxRead); in IsFileFilter()
258 pStrm->Seek(STREAM_SEEK_TO_BEGIN); in IsFileFilter()
/trunk/main/basic/source/runtime/
H A Diosys.cxx143 : pStrm( 0 ) in IMPL_LINK_INLINE_END()
149 delete pStrm; in ~SbiStream()
156 if( pStrm ) in MapError()
157 switch( pStrm->GetError() ) in MapError()
678 pStrm = new UCBStream( xIS ); in Open()
683 pStrm = new UCBStream( xIS ); in Open()
691 pStrm = new UCBStream( xIS ); in Open()
704 if( !pStrm ) in Open()
707 pStrm = new SvFileStream( aNameStr, nStrmMode ); in Open()
709 pStrm = new OslStream( aNameStr, nStrmMode ); in Open()
[all …]
H A Dmethods1.cxx960 sal_Bool lcl_WriteSbxVariable( const SbxVariable& rVar, SvStream* pStrm, in lcl_WriteSbxVariable() argument
963 sal_uIntPtr nFPos = pStrm->Tell(); in lcl_WriteSbxVariable()
974 *pStrm << (sal_uInt16)SbxBYTE; // VarType Id in lcl_WriteSbxVariable()
975 *pStrm << rVar.GetByte(); in lcl_WriteSbxVariable()
986 *pStrm << (sal_uInt16)SbxINTEGER; // VarType Id in lcl_WriteSbxVariable()
987 *pStrm << rVar.GetInteger(); in lcl_WriteSbxVariable()
995 *pStrm << (sal_uInt16)SbxLONG; // VarType Id in lcl_WriteSbxVariable()
996 *pStrm << rVar.GetLong(); in lcl_WriteSbxVariable()
1001 *pStrm << (sal_uInt16)eType; // VarType Id in lcl_WriteSbxVariable()
1002 *pStrm << rVar.GetSingle(); in lcl_WriteSbxVariable()
[all …]
/trunk/main/sc/source/filter/inc/
H A DXclImpChangeTrack.hxx67 XclImpStream* pStrm; // stream import class member in XclImpChangeTrack
129 pStrm->PushPosition(); in LookAtuInt8()
131 *pStrm >> nValue; in LookAtuInt8()
132 pStrm->PopPosition(); in LookAtuInt8()
138 return XclTools::GetDoubleFromRK( pStrm->ReadInt32() ); in ReadRK()
143 return (pStrm->ReaduInt16() != 0); in ReadBool()
148 rAddress.SetRow( static_cast<SCROW>(pStrm->ReaduInt16()) ); in Read2DAddress()
149 rAddress.SetCol( static_cast<SCCOL>(pStrm->ReaduInt16()) ); in Read2DAddress()
154 rRange.aStart.SetRow( static_cast<SCROW>(pStrm->ReaduInt16()) ); in Read2DRange()
155 rRange.aEnd.SetRow( static_cast<SCROW>(pStrm->ReaduInt16()) ); in Read2DRange()
[all …]
/trunk/main/sw/inc/
H A Dswgstr.hxx54 SvStream* pStrm; // eigentlicher Stream member in swstreambase
67 SvStream& Strm() { return *pStrm; } in Strm()
77 void seek( long nPos ) { pStrm->Seek( nPos ); } in seek()
78 long tell() { return pStrm->Tell(); } in tell()
82 int good() { return ( pStrm->GetError() == SVSTREAM_OK ); } in good()
83 int operator!() { return ( pStrm->GetError() != SVSTREAM_OK ); } in operator !()
84 int eof() { return pStrm->IsEof(); } in eof()
87 void get( void* p, sal_uInt16 n ) { pStrm->Read( (sal_Char*) p, n ); } in get()
99 *pStrm >> c; return *this; in operator >>()
104 *pStrm >> c; return *this; in operator >>()
[all …]
/trunk/main/sfx2/source/bastyp/
H A Dmieclip.cxx37 delete pStrm; in ~MSE40HTMLClipFormatObj()
43 if( pStrm ) in IsValid()
44 delete pStrm, pStrm = 0; in IsValid()
94 pStrm = new SvCacheStream( ( nEnd - nStt < 0x10000l in IsValid()
97 *pStrm << rStream; in IsValid()
98 pStrm->SetStreamSize( nEnd - nStt + 1L ); in IsValid()
99 pStrm->Seek( STREAM_SEEK_TO_BEGIN ); in IsValid()
102 return pStrm; in IsValid()
/trunk/main/sd/source/filter/eppt/
H A Depptso.cxx414 sal_uInt32 PPTWriter::ImplVBAInfoContainer( SvStream* pStrm ) in ImplVBAInfoContainer() argument
417 if ( pStrm ) in ImplVBAInfoContainer()
419 *pStrm << (sal_uInt32)( 0x1f | ( EPP_VBAInfo << 16 ) ) in ImplVBAInfoContainer()
423 mpPptEscherEx->InsertPersistOffset( EPP_Persist_VBAInfoAtom, pStrm->Tell() ); in ImplVBAInfoContainer()
424 *pStrm << (sal_uInt32)0 in ImplVBAInfoContainer()
433 sal_uInt32 PPTWriter::ImplSlideViewInfoContainer( sal_uInt32 nInstance, SvStream* pStrm ) in ImplSlideViewInfoContainer() argument
436 if ( pStrm ) in ImplSlideViewInfoContainer()
460 *pStrm << (sal_uInt32)( 0xf | ( EPP_SlideViewInfo << 16 ) | ( nInstance << 4 ) ) in ImplSlideViewInfoContainer()
484 sal_uInt32 PPTWriter::ImplOutlineViewInfoContainer( SvStream* pStrm ) in ImplOutlineViewInfoContainer() argument
487 if ( pStrm ) in ImplOutlineViewInfoContainer()
[all …]
H A Deppt.cxx1789 SvMemoryStream* pStrm = NULL; in ImplWriteOLE() local
1821 pStrm = xCleanStorage->CreateMemoryStream(); in ImplWriteOLE()
1837 pStrm = xDest->CreateMemoryStream(); in ImplWriteOLE()
1841 if ( pStrm ) in ImplWriteOLE()
1844 pStrm->Seek( STREAM_SEEK_TO_END ); in ImplWriteOLE()
1845 sal_uInt32 npStrmSize = pStrm->Tell(); in ImplWriteOLE()
1850 pStrm->Seek( 0 ); in ImplWriteOLE()
1851 aOut.Write( pStrm->GetData(), npStrmSize ); in ImplWriteOLE()
1854 pStrm->Seek( 0 ); in ImplWriteOLE()
1857 aZCodec.Compress( *pStrm, *mpStrm ); in ImplWriteOLE()
[all …]
/trunk/main/sw/source/ui/app/
H A Ddocsh2.cxx1040 SvMemoryStream *pStrm = new SvMemoryStream(); in Execute() local
1041 pStrm->SetBufferSize( 16348 ); in Execute()
1042 SwWriter aWrt( *pStrm, *pSmryDoc ); in Execute()
1056 pStrm->Seek( STREAM_SEEK_TO_END ); in Execute()
1057 *pStrm << '\0'; in Execute()
1058 pStrm->Seek( STREAM_SEEK_TO_BEGIN ); in Execute()
1061 SvLockBytes aLockBytes( pStrm, sal_True ); in Execute()
1108 SvMemoryStream *pStrm = new SvMemoryStream(); in Execute() local
1109 pStrm->SetBufferSize( 16348 ); in Execute()
1110 SwWriter aWrt( *pStrm, *GetDoc() ); in Execute()
[all …]
/trunk/main/sw/source/core/graphic/
H A Dndgrf.cxx585 SvStream* pStrm = _GetStreamForEmbedGrf( refPics, aStrmName ); in SwapIn() local
586 if ( pStrm ) in SwapIn()
588 if ( ImportGraphic( *pStrm ) ) in SwapIn()
590 delete pStrm; in SwapIn()
947 SvStream* pStrm( 0L ); in _GetStreamForEmbedGrf() local
980 pStrm = utl::UcbStreamHelper::CreateStream( refStrm ); in _GetStreamForEmbedGrf()
988 return pStrm; in _GetStreamForEmbedGrf()
1047 SvStream* pStrm = _GetStreamForEmbedGrf( refPics, aStrmName ); in MakeCopy() local
1048 if ( pStrm ) in MakeCopy()
1051 GraphicFilter::GetGraphicFilter()->ImportGraphic( aTmpGrf, aURL, *pStrm ); in MakeCopy()
[all …]
/trunk/main/sw/source/filter/ww8/
H A Dww8par.cxx396 rRdr.pDataStream, 0, 0, COL_WHITE, 12, rRdr.pStrm, in SwMSDffManager()
2821 pStrm->Seek( nStreamPos ); in ReadPlainChars()
2865 *pStrm >> nUCode; // unicode --> read 2 bytes in ReadPlainChars()
2868 *pStrm >> nBCode; // old code --> read 1 byte in ReadPlainChars()
2872 if (pStrm->GetError()) in ReadPlainChars()
2882 pStrm->SeekRel( bIsUnicode ? -2 : -1 ); in ReadPlainChars()
2996 pStrm->SeekRel( nEnd- rPos ); in ReadChars()
3063 pStrm->Seek( pSBase->WW8Cp2Fc(nCpOfs+nPosCp, &bIsUnicode) ); in ReadChar()
3068 *pStrm >> nWCharVal; // unicode --> read 2 bytes in ReadChar()
3071 *pStrm >> nBCode; // old code --> read 1 byte in ReadChar()
[all …]
H A Dww8par5.cxx349 long nOldPos = pStrm->Tell(); in Read_Book()
350 nLen = pSBase->WW8ReadString( *pStrm, aVal, pB->GetStartPos(), nLen, in Read_Book()
352 pStrm->Seek( nOldPos ); in Read_Book()
1013 long nOldPos = pStrm->Tell(); in Read_Field()
1015 aF.nLCode = pSBase->WW8ReadString( *pStrm, aStr, pPlcxMan->GetCpOfs()+ in Read_Field()
1017 pStrm->Seek( nOldPos ); in Read_Field()
1037 long nOldPos = pStrm->Tell(); in Read_Field()
1039 aF.nLCode = pSBase->WW8ReadString( *pStrm, aStr, pPlcxMan->GetCpOfs()+ in Read_Field()
1051 pStrm->Seek( nOldPos ); in Read_Field()
1184 long nOldPos = pStrm->Tell(); in Read_F_Tag()
[all …]
H A Dww8graf.cxx180 pStrm->SeekRel(SVBT16ToShort(pHd->cb) - sizeof(WW8_DPHEAD)); in ReadGrafStart()
183 pStrm->Read(pData, nDataSiz); in ReadGrafStart()
445 pStrm->Read( pP, nCount * 4 ); // Punkte einlesen in ReadPolyLine()
912 sal_uInt16 nLen = pSBase->WW8ReadString(*pStrm, rString, in GetRangeAsDrawingString()
979 sal_uLong nOld = pStrm->Tell(); in InsertTxbxText()
1180 pStrm->Seek( nOld ); in InsertTxbxText()
1251 pStrm->Read( pP, nCount * 4 ); // Punkte einlesen in ReadCaptionBox()
1337 pStrm->Read(&aHd, sizeof(WW8_DPHEAD)); in ReadGrafPrimitive()
1369 pStrm->SeekRel(SVBT16ToShort(aHd.cb) - sizeof(WW8_DPHEAD)); in ReadGrafPrimitive()
1398 pStrm->Seek( SVBT32ToUInt32( pF->fc ) ); // Lese Draw-Header in ReadGrafLayer1()
[all …]
/trunk/main/sfx2/inc/sfx2/
H A Dmieclip.hxx39 SvStream* pStrm; member in MSE40HTMLClipFormatObj
43 MSE40HTMLClipFormatObj() : pStrm(0) {} in MSE40HTMLClipFormatObj()
52 const SvStream* GetStream() const { return pStrm; } in GetStream()
53 SvStream* GetStream() { return pStrm; } in GetStream()
/trunk/main/starmath/source/
H A Dsmdetect.cxx302 SvStream *pStrm = aMedium.GetInStream(); in detect() local
304 if (pStrm && !pStrm->GetError()) in detect()
306 SotStorageRef aStorage = new SotStorage ( pStrm, sal_False ); in detect()
324 pStrm->Seek( STREAM_SEEK_TO_BEGIN ); in detect()
328 const sal_uLong nBytesRead(pStrm->Read( pByte, nBufSize * 2 ) ); in detect()
/trunk/main/sfx2/source/appl/
H A Dfileobj.cxx597 SvStream* pStrm = pThis->xMed.Is() ? pThis->xMed->GetInStream() : 0; in IMPL_STATIC_LINK() local
598 if( pStrm && pStrm->GetError() ) in IMPL_STATIC_LINK()
600 if( ERRCODE_IO_PENDING == pStrm->GetError() ) in IMPL_STATIC_LINK()
601 pStrm->ResetError(); in IMPL_STATIC_LINK()
614 …pThis->SendStateChg_Impl( pStrm->GetError() ? sfx2::LinkManager::STATE_LOAD_ERROR : sfx2::LinkMana… in IMPL_STATIC_LINK()
/trunk/main/sw/source/filter/ww1/
H A Dw1par.cxx75 ASSERT(pStrm!=NULL, "W1-Read ohne Stream"); in Read()
76 if (pStrm != NULL) in Read()
87 Ww1Manager* pMan = new Ww1Manager( *pStrm, nFieldFlags ); in Read()

12