Lines Matching refs:rStrm

124 void FontPortionModel::read( SequenceInputStream& rStrm )  in read()  argument
126 mnPos = rStrm.readuInt16(); in read()
127 mnFontId = rStrm.readuInt16(); in read()
130 void FontPortionModel::read( BiffInputStream& rStrm, BiffFontPortionMode eMode ) in read() argument
135 mnPos = rStrm.readuInt8(); in read()
136 mnFontId = rStrm.readuInt8(); in read()
139 mnPos = rStrm.readuInt16(); in read()
140 mnFontId = rStrm.readuInt16(); in read()
143 mnPos = rStrm.readuInt16(); in read()
144 mnFontId = rStrm.readuInt16(); in read()
145 rStrm.skip( 4 ); in read()
162 void FontPortionModelList::importPortions( SequenceInputStream& rStrm ) in importPortions() argument
164 sal_Int32 nCount = rStrm.readInt32(); in importPortions()
168 reserve( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 4 ) ); in importPortions()
172 for( sal_Int32 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPortions()
174 aPortion.read( rStrm ); in importPortions()
180 void FontPortionModelList::importPortions( BiffInputStream& rStrm, sal_uInt16 nCount, BiffFontPorti… in importPortions() argument
187 for( sal_uInt16 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPortions()
189 aPortion.read( rStrm, eMode ); in importPortions()
194 void FontPortionModelList::importPortions( BiffInputStream& rStrm, bool b16Bit ) in importPortions() argument
196 sal_uInt16 nCount = b16Bit ? rStrm.readuInt16() : rStrm.readuInt8(); in importPortions()
197 importPortions( rStrm, nCount, b16Bit ? BIFF_FONTPORTION_16BIT : BIFF_FONTPORTION_8BIT ); in importPortions()
232 void PhoneticSettings::importPhoneticPr( SequenceInputStream& rStrm ) in importPhoneticPr() argument
236 rStrm >> nFontId >> nType >> nAlignment; in importPhoneticPr()
241 void PhoneticSettings::importPhoneticPr( BiffInputStream& rStrm ) in importPhoneticPr() argument
244 rStrm >> nFontId >> nFlags; in importPhoneticPr()
250 void PhoneticSettings::importStringData( SequenceInputStream& rStrm ) in importStringData() argument
253 rStrm >> nFontId >> nFlags; in importStringData()
258 void PhoneticSettings::importStringData( BiffInputStream& rStrm ) in importStringData() argument
261 rStrm >> nFontId >> nFlags; in importStringData()
294 void PhoneticPortionModel::read( SequenceInputStream& rStrm ) in read() argument
296 mnPos = rStrm.readuInt16(); in read()
297 mnBasePos = rStrm.readuInt16(); in read()
298 mnBaseLen = rStrm.readuInt16(); in read()
301 void PhoneticPortionModel::read( BiffInputStream& rStrm ) in read() argument
303 mnPos = rStrm.readuInt16(); in read()
304 mnBasePos = rStrm.readuInt16(); in read()
305 mnBaseLen = rStrm.readuInt16(); in read()
327 void PhoneticPortionModelList::importPortions( SequenceInputStream& rStrm ) in importPortions() argument
329 sal_Int32 nCount = rStrm.readInt32(); in importPortions()
333 reserve( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 6 ) ); in importPortions()
335 for( sal_Int32 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPortions()
337 aPortion.read( rStrm ); in importPortions()
343 OUString PhoneticPortionModelList::importPortions( BiffInputStream& rStrm, sal_Int32 nPhoneticSize ) in importPortions() argument
347 rStrm >> nPortionCount >> nTextLen1 >> nTextLen2; in importPortions()
355 aPhoneticText = rStrm.readUnicodeArray( nTextLen1 ); in importPortions()
361 aPortion.read( rStrm ); in importPortions()
399 void RichString::importString( SequenceInputStream& rStrm, bool bRich ) in importString() argument
401 sal_uInt8 nFlags = bRich ? rStrm.readuInt8() : 0; in importString()
402 OUString aBaseText = BiffHelper::readString( rStrm ); in importString()
404 if( !rStrm.isEof() && getFlag( nFlags, BIFF12_STRINGFLAG_FONTS ) ) in importString()
407 aPortions.importPortions( rStrm ); in importString()
415 if( !rStrm.isEof() && getFlag( nFlags, BIFF12_STRINGFLAG_PHONETICS ) ) in importString()
417 OUString aPhoneticText = BiffHelper::readString( rStrm ); in importString()
419 aPortions.importPortions( rStrm ); in importString()
420 maPhonSettings.importStringData( rStrm ); in importString()
425 void RichString::importCharArray( BiffInputStream& rStrm, sal_uInt16 nChars, rtl_TextEncoding eText… in importCharArray() argument
427 createPortion()->setText( rStrm.readCharArrayUC( nChars, eTextEnc ) ); in importCharArray()
430 void RichString::importByteString( BiffInputStream& rStrm, rtl_TextEncoding eTextEnc, BiffStringFla… in importByteString() argument
436 OString aBaseText = rStrm.readByteString( !b8BitLength ); in importByteString()
438 if( !rStrm.isEof() && getFlag( nFlags, BIFF_STR_EXTRAFONTS ) ) in importByteString()
441 aPortions.importPortions( rStrm, false ); in importByteString()
450 void RichString::importUniString( BiffInputStream& rStrm, BiffStringFlags nFlags ) in importUniString() argument
457 sal_uInt16 nChars = b8BitLength ? rStrm.readuInt8() : rStrm.readuInt16(); in importUniString()
460 rStrm >> nFlagField; in importUniString()
464 sal_uInt16 nFontCount = bFonts ? rStrm.readuInt16() : 0; in importUniString()
465 sal_Int32 nPhoneticSize = bPhonetic ? rStrm.readInt32() : 0; in importUniString()
468 OUString aBaseText = rStrm.readUniStringChars( nChars, b16Bit ); in importUniString()
472 if( !rStrm.isEof() && (nFontCount > 0) ) in importUniString()
475 aPortions.importPortions( rStrm, nFontCount, BIFF_FONTPORTION_16BIT ); in importUniString()
485 if( !rStrm.isEof() && (nPhoneticSize > 0) ) in importUniString()
487 sal_Int64 nPhoneticEnd = rStrm.tell() + nPhoneticSize; in importUniString()
492 rStrm >> nId >> nSize; in importUniString()
498 maPhonSettings.importStringData( rStrm ); in importUniString()
500 OUString aPhoneticText = aPortions.importPortions( rStrm, nPhoneticSize ); in importUniString()
504 rStrm.seek( nPhoneticEnd ); in importUniString()