Lines Matching refs:rStrm
140 void ExternalName::importExternalName( SequenceInputStream& rStrm ) in importExternalName() argument
142 rStrm >> maModel.maName; in importExternalName()
146 void ExternalName::importExternalNameFlags( SequenceInputStream& rStrm ) in importExternalNameFlags() argument
150 rStrm >> nFlags >> nSheetId; in importExternalNameFlags()
163 void ExternalName::importDdeItemValues( SequenceInputStream& rStrm ) in importDdeItemValues() argument
166 rStrm >> nRows >> nCols; in importDdeItemValues()
170 void ExternalName::importDdeItemBool( SequenceInputStream& rStrm ) in importDdeItemBool() argument
172 appendResultValue< double >( (rStrm.readuInt8() == 0) ? 0.0 : 1.0 ); in importDdeItemBool()
175 void ExternalName::importDdeItemDouble( SequenceInputStream& rStrm ) in importDdeItemDouble() argument
177 appendResultValue( rStrm.readDouble() ); in importDdeItemDouble()
180 void ExternalName::importDdeItemError( SequenceInputStream& rStrm ) in importDdeItemError() argument
182 appendResultValue( BiffHelper::calcDoubleFromError( rStrm.readuInt8() ) ); in importDdeItemError()
185 void ExternalName::importDdeItemString( SequenceInputStream& rStrm ) in importDdeItemString() argument
187 appendResultValue( BiffHelper::readString( rStrm ) ); in importDdeItemString()
190 void ExternalName::importExternalName( BiffInputStream& rStrm ) in importExternalName() argument
195 rStrm >> nFlags; in importExternalName()
209 rStrm >> mnStorageId; in importExternalName()
222 rStrm.skip( 2 ); in importExternalName()
223 maModel.mnSheet = rStrm.readuInt16(); in importExternalName()
229 rStrm.readUniStringBody( rStrm.readuInt8() ) : in importExternalName()
230 rStrm.readByteStringUC( false, getTextEncoding() ); in importExternalName()
234 …& (maModel.maName.getLength() > 1) && (maModel.maName[ 0 ] == '\x01') && (rStrm.getRemaining() > 2… in importExternalName()
241 … ApiTokenSequence aTokens = importBiffFormula( mrParentLink.getCalcSheetIndex(), rStrm ); in importExternalName()
250 ApiTokenSequence aTokens = importBiffFormula( 0, rStrm ); in importExternalName()
259 if( rStrm.getRemaining() > 3 ) in importExternalName()
262 sal_Int32 nCols = rStrm.readuInt8(); in importExternalName()
263 sal_Int32 nRows = rStrm.readuInt16(); in importExternalName()
268 while( bLoop && !rStrm.isEof() && (maCurrIt != maResults.end()) ) in importExternalName()
270 switch( rStrm.readuInt8() ) in importExternalName()
274 rStrm.skip( 8 ); in importExternalName()
277 appendResultValue( rStrm.readDouble() ); in importExternalName()
280 …appendResultValue( bBiff8 ? rStrm.readUniString() : rStrm.readByteStringUC( false, getTextEncoding… in importExternalName()
283 appendResultValue< double >( (rStrm.readuInt8() == 0) ? 0.0 : 1.0 ); in importExternalName()
284 rStrm.skip( 7 ); in importExternalName()
287 … appendResultValue( BiffHelper::calcDoubleFromError( rStrm.readuInt8() ) ); in importExternalName()
288 rStrm.skip( 7 ); in importExternalName()
294 OSL_ENSURE( bLoop && !rStrm.isEof() && (maCurrIt == maResults.end()), in importExternalName()
540 void ExternalLink::importExternalRef( SequenceInputStream& rStrm ) in importExternalRef() argument
542 rStrm >> maRelId; in importExternalRef()
560 void ExternalLink::importExternalBook( const Relations& rRelations, SequenceInputStream& rStrm ) in importExternalBook() argument
562 switch( rStrm.readuInt16() ) in importExternalBook()
565 parseExternalReference( rRelations, BiffHelper::readString( rStrm ) ); in importExternalBook()
570 rStrm >> aDdeService >> aDdeTopic; in importExternalBook()
576 … OUString aTargetUrl = rRelations.getExternalTargetFromRelId( BiffHelper::readString( rStrm ) ); in importExternalBook()
577 OUString aProgId = BiffHelper::readString( rStrm ); in importExternalBook()
586 void ExternalLink::importExtSheetNames( SequenceInputStream& rStrm ) in importExtSheetNames() argument
592 …for( sal_Int32 nSheet = 0, nCount = rStrm.readInt32(); !rStrm.isEof() && (nSheet < nCount); ++nShe… in importExtSheetNames()
593 insertExternalSheet( BiffHelper::readString( rStrm ) ); in importExtSheetNames()
596 ExternalNameRef ExternalLink::importExternalName( SequenceInputStream& rStrm ) in importExternalName() argument
599 xExtName->importExternalName( rStrm ); in importExternalName()
603 void ExternalLink::importExternSheet( BiffInputStream& rStrm ) in importExternSheet() argument
605 OStringBuffer aTargetBuffer( rStrm.readByteString( false, true ) ); in importExternSheet()
608 aTargetBuffer.append( static_cast< sal_Char >( rStrm.readuInt8() ) ); in importExternSheet()
624 void ExternalLink::importExternalBook( BiffInputStream& rStrm ) in importExternalBook() argument
628 rStrm >> nSheetCount; in importExternalBook()
629 if( rStrm.getRemaining() == 2 ) in importExternalBook()
631 if( rStrm.readuInt8() == 1 ) in importExternalBook()
633 sal_Char cChar = static_cast< sal_Char >( rStrm.readuInt8() ); in importExternalBook()
638 else if( rStrm.getRemaining() >= 3 ) in importExternalBook()
641 aTarget = rStrm.readUniString( true ); in importExternalBook()
651 for( sal_uInt16 nSheet = 0; !rStrm.isEof() && (nSheet < nSheetCount); ++nSheet ) in importExternalBook()
652 insertExternalSheet( rStrm.readUniString() ); in importExternalBook()
655 void ExternalLink::importExternalName( BiffInputStream& rStrm ) in importExternalName() argument
658 xExtName->importExternalName( rStrm ); in importExternalName()
932 void RefSheetsModel::readBiff12Data( SequenceInputStream& rStrm ) in readBiff12Data() argument
934 rStrm >> mnExtRefId >> mnTabId1 >> mnTabId2; in readBiff12Data()
937 void RefSheetsModel::readBiff8Data( BiffInputStream& rStrm ) in readBiff8Data() argument
939 mnExtRefId = rStrm.readuInt16(); in readBiff8Data()
940 mnTabId1 = rStrm.readInt16(); in readBiff8Data()
941 mnTabId2 = rStrm.readInt16(); in readBiff8Data()
962 ExternalLinkRef ExternalLinkBuffer::importExternalRef( SequenceInputStream& rStrm ) in importExternalRef() argument
966 xExtLink->importExternalRef( rStrm ); in importExternalRef()
971 void ExternalLinkBuffer::importExternalSelf( SequenceInputStream& rStrm ) in importExternalSelf() argument
974 createExternalLink()->importExternalSelf( rStrm ); in importExternalSelf()
977 void ExternalLinkBuffer::importExternalSame( SequenceInputStream& rStrm ) in importExternalSame() argument
980 createExternalLink()->importExternalSame( rStrm ); in importExternalSame()
983 void ExternalLinkBuffer::importExternalAddin( SequenceInputStream& rStrm ) in importExternalAddin() argument
986 createExternalLink()->importExternalAddin( rStrm ); in importExternalAddin()
989 void ExternalLinkBuffer::importExternalSheets( SequenceInputStream& rStrm ) in importExternalSheets() argument
996 rStrm >> nRefCount; in importExternalSheets()
997 …size_t nMaxCount = getLimitedValue< size_t, sal_Int64 >( nRefCount, 0, rStrm.getRemaining() / 12 ); in importExternalSheets()
999 for( size_t nRefId = 0; !rStrm.isEof() && (nRefId < nMaxCount); ++nRefId ) in importExternalSheets()
1002 aRefSheets.readBiff12Data( rStrm ); in importExternalSheets()
1007 ExternalLinkRef ExternalLinkBuffer::importExternSheet( BiffInputStream& rStrm ) in importExternSheet() argument
1011 xExtLink->importExternSheet( rStrm ); in importExternSheet()
1015 ExternalLinkRef ExternalLinkBuffer::importExternalBook( BiffInputStream& rStrm ) in importExternalBook() argument
1018 xExtLink->importExternalBook( rStrm ); in importExternalBook()
1022 void ExternalLinkBuffer::importExternalName( BiffInputStream& rStrm ) in importExternalName() argument
1025 maLinks.back()->importExternalName( rStrm ); in importExternalName()
1028 void ExternalLinkBuffer::importExternSheet8( BiffInputStream& rStrm ) in importExternSheet8() argument
1033 rStrm >> nRefCount; in importExternSheet8()
1034 …OSL_ENSURE( static_cast< sal_Int64 >( nRefCount * 6 ) == rStrm.getRemaining(), "ExternalLinkBuffer… in importExternSheet8()
1035 …nRefCount = static_cast< sal_uInt16 >( ::std::min< sal_Int64 >( nRefCount, rStrm.getRemaining() / … in importExternSheet8()
1042 …for( RefSheetsModelVec::iterator aIt = maRefSheets.begin(), aEnd = aIt + nRefCount; !rStrm.isEof()… in importExternSheet8()
1043 aIt->readBiff8Data( rStrm ); in importExternSheet8()