Lines Matching refs:rStrm
94 …Ref ExternalSheetDataContext::onCreateRecordContext( sal_Int32 nRecId, SequenceInputStream& rStrm ) in onCreateRecordContext() argument
99 if( nRecId == BIFF12_ID_EXTROW ) { maCurrPos.Row = rStrm.readInt32(); return this; } in onCreateRecordContext()
104 case BIFF12_ID_EXTCELL_BLANK: importExtCellBlank( rStrm ); break; in onCreateRecordContext()
105 case BIFF12_ID_EXTCELL_BOOL: importExtCellBool( rStrm ); break; in onCreateRecordContext()
106 case BIFF12_ID_EXTCELL_DOUBLE: importExtCellDouble( rStrm ); break; in onCreateRecordContext()
107 case BIFF12_ID_EXTCELL_ERROR: importExtCellError( rStrm ); break; in onCreateRecordContext()
108 case BIFF12_ID_EXTCELL_STRING: importExtCellString( rStrm ); break; in onCreateRecordContext()
125 void ExternalSheetDataContext::importExtCellBlank( SequenceInputStream& rStrm ) in importExtCellBlank() argument
127 maCurrPos.Column = rStrm.readInt32(); in importExtCellBlank()
131 void ExternalSheetDataContext::importExtCellBool( SequenceInputStream& rStrm ) in importExtCellBool() argument
133 maCurrPos.Column = rStrm.readInt32(); in importExtCellBool()
134 double fValue = (rStrm.readuInt8() == 0) ? 0.0 : 1.0; in importExtCellBool()
138 void ExternalSheetDataContext::importExtCellDouble( SequenceInputStream& rStrm ) in importExtCellDouble() argument
140 maCurrPos.Column = rStrm.readInt32(); in importExtCellDouble()
141 setCellValue( Any( rStrm.readDouble() ) ); in importExtCellDouble()
144 void ExternalSheetDataContext::importExtCellError( SequenceInputStream& rStrm ) in importExtCellError() argument
146 maCurrPos.Column = rStrm.readInt32(); in importExtCellError()
147 setCellValue( Any( BiffHelper::calcDoubleFromError( rStrm.readuInt8() ) ) ); in importExtCellError()
150 void ExternalSheetDataContext::importExtCellString( SequenceInputStream& rStrm ) in importExtCellString() argument
152 maCurrPos.Column = rStrm.readInt32(); in importExtCellString()
153 setCellValue( Any( BiffHelper::readString( rStrm ) ) ); in importExtCellString()
279 …dlerRef ExternalLinkFragment::onCreateRecordContext( sal_Int32 nRecId, SequenceInputStream& rStrm ) in onCreateRecordContext() argument
286 mrExtLink.importExternalBook( getRelations(), rStrm ); in onCreateRecordContext()
296 return createSheetDataContext( rStrm.readInt32() ); in onCreateRecordContext()
299 …case BIFF12_ID_EXTSHEETNAMES: mrExtLink.importExtSheetNames( rStrm ); … in onCreateRecordContext()
300 …case BIFF12_ID_EXTERNALNAME: mxExtName = mrExtLink.importExternalName( rStrm ); … in onCreateRecordContext()
307 …_ID_EXTERNALNAMEFLAGS: if( mxExtName.get() ) mxExtName->importExternalNameFlags( rStrm ); break; in onCreateRecordContext()
308 …DEITEMVALUES: if( mxExtName.get() ) mxExtName->importDdeItemValues( rStrm ); return thi… in onCreateRecordContext()
315 …_ID_DDEITEM_BOOL: if( mxExtName.get() ) mxExtName->importDdeItemBool( rStrm ); break; in onCreateRecordContext()
316 …_ID_DDEITEM_DOUBLE: if( mxExtName.get() ) mxExtName->importDdeItemDouble( rStrm ); break; in onCreateRecordContext()
317 …_ID_DDEITEM_ERROR: if( mxExtName.get() ) mxExtName->importDdeItemError( rStrm ); break; in onCreateRecordContext()
318 …_ID_DDEITEM_STRING: if( mxExtName.get() ) mxExtName->importDdeItemString( rStrm ); break; in onCreateRecordContext()
357 void BiffExternalSheetDataContext::importRecord( BiffInputStream& rStrm ) in importRecord() argument
359 sal_uInt16 nRecId = rStrm.getRecId(); in importRecord()
364 case BIFF2_ID_EXTERNALNAME: importExternalName( rStrm ); break; in importRecord()
365 case BIFF_ID_EXTERNSHEET: importExternSheet( rStrm ); break; in importRecord()
366 case BIFF2_ID_DEFINEDNAME: importDefinedName( rStrm ); break; in importRecord()
371 case BIFF_ID_CRN: importCrn( rStrm ); break; in importRecord()
372 case BIFF3_ID_EXTERNALNAME: importExternalName( rStrm ); break; in importRecord()
373 case BIFF_ID_EXTERNSHEET: importExternSheet( rStrm ); break; in importRecord()
374 case BIFF3_ID_DEFINEDNAME: importDefinedName( rStrm ); break; in importRecord()
375 case BIFF_ID_XCT: importXct( rStrm ); break; in importRecord()
380 case BIFF_ID_CRN: importCrn( rStrm ); break; in importRecord()
381 case BIFF3_ID_EXTERNALNAME: importExternalName( rStrm ); break; in importRecord()
382 case BIFF_ID_EXTERNSHEET: importExternSheet( rStrm ); break; in importRecord()
383 case BIFF3_ID_DEFINEDNAME: importDefinedName( rStrm ); break; in importRecord()
384 case BIFF_ID_XCT: importXct( rStrm ); break; in importRecord()
389 case BIFF_ID_CRN: importCrn( rStrm ); break; in importRecord()
390 case BIFF5_ID_EXTERNALNAME: importExternalName( rStrm ); break; in importRecord()
391 case BIFF_ID_EXTERNSHEET: importExternSheet( rStrm ); break; in importRecord()
392 case BIFF5_ID_DEFINEDNAME: importDefinedName( rStrm ); break; in importRecord()
393 case BIFF_ID_XCT: importXct( rStrm ); break; in importRecord()
398 case BIFF_ID_CRN: importCrn( rStrm ); break; in importRecord()
399 case BIFF_ID_EXTERNALBOOK: importExternalBook( rStrm ); break; in importRecord()
400 case BIFF5_ID_EXTERNALNAME: importExternalName( rStrm ); break; in importRecord()
401 case BIFF_ID_EXTERNSHEET: importExternSheet( rStrm ); break; in importRecord()
402 case BIFF5_ID_DEFINEDNAME: importDefinedName( rStrm ); break; in importRecord()
403 case BIFF_ID_XCT: importXct( rStrm ); break; in importRecord()
412 void BiffExternalSheetDataContext::importExternSheet( BiffInputStream& rStrm ) in importExternSheet() argument
416 getExternalLinks().importExternSheet8( rStrm ); in importExternSheet()
418 mxExtLink = getExternalLinks().importExternSheet( rStrm ); in importExternSheet()
421 void BiffExternalSheetDataContext::importExternalBook( BiffInputStream& rStrm ) in importExternalBook() argument
424 mxExtLink = getExternalLinks().importExternalBook( rStrm ); in importExternalBook()
427 void BiffExternalSheetDataContext::importExternalName( BiffInputStream& rStrm ) in importExternalName() argument
430 mxExtLink->importExternalName( rStrm ); in importExternalName()
433 void BiffExternalSheetDataContext::importXct( BiffInputStream& rStrm ) in importXct() argument
448 rStrm.skip( 2 ); in importXct()
449 mxSheetCache = mxExtLink->getSheetCache( rStrm.readInt16() ); in importXct()
457 void BiffExternalSheetDataContext::importCrn( BiffInputStream& rStrm ) in importCrn() argument
463 rStrm >> nCol2 >> nCol1 >> nRow; in importCrn()
465 …for( BinAddress aBinAddr( nCol1, nRow ); bLoop && !rStrm.isEof() && (aBinAddr.mnCol <= nCol2); ++a… in importCrn()
467 switch( rStrm.readuInt8() ) in importCrn()
470 rStrm.skip( 8 ); in importCrn()
474 setCellValue( aBinAddr, Any( rStrm.readDouble() ) ); in importCrn()
478 …OUString aText = (getBiff() == BIFF8) ? rStrm.readUniString() : rStrm.readByteStringUC( false, get… in importCrn()
484 double fValue = (rStrm.readuInt8() == 0) ? 0.0 : 1.0; in importCrn()
486 rStrm.skip( 7 ); in importCrn()
490 … setCellValue( aBinAddr, Any( BiffHelper::calcDoubleFromError( rStrm.readuInt8() ) ) ); in importCrn()
491 rStrm.skip( 7 ); in importCrn()
500 void BiffExternalSheetDataContext::importDefinedName( BiffInputStream& rStrm ) in importDefinedName() argument
503 getDefinedNames().importDefinedName( rStrm ); in importDefinedName()
529 BiffInputStream& rStrm = getInputStream(); in importFragment() local
530 while( rStrm.startNextRecord() && (rStrm.getRecId() != BIFF_ID_EOF) ) in importFragment()
532 if( BiffHelper::isBofRecord( rStrm ) ) in importFragment()
535 aSheetContext.importRecord( rStrm ); in importFragment()
537 return !rStrm.isEof() && (rStrm.getRecId() == BIFF_ID_EOF); in importFragment()