Lines Matching refs:pStrm
960 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()
1009 *pStrm << (sal_uInt16)eType; // VarType Id in lcl_WriteSbxVariable()
1010 *pStrm << rVar.GetDouble(); in lcl_WriteSbxVariable()
1020 *pStrm << (sal_uInt16)SbxSTRING; in lcl_WriteSbxVariable()
1021 pStrm->WriteByteString( rStr, gsl_getSystemTextEncoding() ); in lcl_WriteSbxVariable()
1029 *pStrm << (const char*)aByteStr.GetBuffer(); in lcl_WriteSbxVariable()
1041 pStrm->Seek( nFPos + nBlockLen ); in lcl_WriteSbxVariable()
1042 return pStrm->GetErrorCode() ? sal_False : sal_True; in lcl_WriteSbxVariable()
1045 sal_Bool lcl_ReadSbxVariable( SbxVariable& rVar, SvStream* pStrm, in lcl_ReadSbxVariable() argument
1053 sal_uIntPtr nFPos = pStrm->Tell(); in lcl_ReadSbxVariable()
1062 *pStrm >> nTemp; in lcl_ReadSbxVariable()
1073 *pStrm >> aByte; in lcl_ReadSbxVariable()
1075 if( bBinary && SbiRuntime::isVBAEnabled() && aByte == 1 && pStrm->IsEof() ) in lcl_ReadSbxVariable()
1091 *pStrm >> aInt; in lcl_ReadSbxVariable()
1102 *pStrm >> aInt; in lcl_ReadSbxVariable()
1110 *pStrm >> nS; in lcl_ReadSbxVariable()
1118 *pStrm >> aDouble; in lcl_ReadSbxVariable()
1125 *pStrm >> aDouble; in lcl_ReadSbxVariable()
1134 pStrm->ReadByteString( aStr, gsl_getSystemTextEncoding() ); in lcl_ReadSbxVariable()
1145 pStrm->Seek( nFPos + nBlockLen ); in lcl_ReadSbxVariable()
1146 return pStrm->GetErrorCode() ? sal_False : sal_True; in lcl_ReadSbxVariable()
1151 sal_Bool lcl_WriteReadSbxArray( SbxDimArray& rArr, SvStream* pStrm, in lcl_WriteReadSbxArray() argument
1162 lcl_WriteReadSbxArray(rArr, pStrm, bBinary, nCurDim-1, pOtherDims, bWrite); in lcl_WriteReadSbxArray()
1168 bRet = lcl_WriteSbxVariable(*pVar, pStrm, bBinary, 0, sal_True ); in lcl_WriteReadSbxArray()
1170 bRet = lcl_ReadSbxVariable(*pVar, pStrm, bBinary, 0, sal_True ); in lcl_WriteReadSbxArray()
1206 SvStream* pStrm = pSbStrm->GetStrm(); in PutGet() local
1220 pStrm->Seek( nFilePos ); in PutGet()
1235 sal_uIntPtr nFPos = pStrm->Tell(); in PutGet()
1238 bRet = lcl_WriteReadSbxArray(*pArr,pStrm,!bRandom,nDims,pDims,bPut); in PutGet()
1241 pStrm->Seek( nFPos + nBlockLen ); in PutGet()
1246 bRet = lcl_WriteSbxVariable(*pVar, pStrm, !bRandom, nBlockLen, sal_False); in PutGet()
1248 bRet = lcl_ReadSbxVariable(*pVar, pStrm, !bRandom, nBlockLen, sal_False); in PutGet()
1250 if( !bRet || pStrm->GetErrorCode() ) in PutGet()