Lines Matching refs:rStrm
120 void FontPortionModel::read( SequenceInputStream& rStrm ) in read() argument
122 mnPos = rStrm.readuInt16(); in read()
123 mnFontId = rStrm.readuInt16(); in read()
126 void FontPortionModel::read( BiffInputStream& rStrm, BiffFontPortionMode eMode ) in read() argument
131 mnPos = rStrm.readuInt8(); in read()
132 mnFontId = rStrm.readuInt8(); in read()
135 mnPos = rStrm.readuInt16(); in read()
136 mnFontId = rStrm.readuInt16(); in read()
139 mnPos = rStrm.readuInt16(); in read()
140 mnFontId = rStrm.readuInt16(); in read()
141 rStrm.skip( 4 ); in read()
158 void FontPortionModelList::importPortions( SequenceInputStream& rStrm ) in importPortions() argument
160 sal_Int32 nCount = rStrm.readInt32(); in importPortions()
164 reserve( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 4 ) ); in importPortions()
168 for( sal_Int32 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPortions()
170 aPortion.read( rStrm ); in importPortions()
176 void FontPortionModelList::importPortions( BiffInputStream& rStrm, sal_uInt16 nCount, BiffFontPorti… in importPortions() argument
183 for( sal_uInt16 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPortions()
185 aPortion.read( rStrm, eMode ); in importPortions()
190 void FontPortionModelList::importPortions( BiffInputStream& rStrm, bool b16Bit ) in importPortions() argument
192 sal_uInt16 nCount = b16Bit ? rStrm.readuInt16() : rStrm.readuInt8(); in importPortions()
193 importPortions( rStrm, nCount, b16Bit ? BIFF_FONTPORTION_16BIT : BIFF_FONTPORTION_8BIT ); in importPortions()
228 void PhoneticSettings::importPhoneticPr( SequenceInputStream& rStrm ) in importPhoneticPr() argument
232 rStrm >> nFontId >> nType >> nAlignment; in importPhoneticPr()
237 void PhoneticSettings::importPhoneticPr( BiffInputStream& rStrm ) in importPhoneticPr() argument
240 rStrm >> nFontId >> nFlags; in importPhoneticPr()
246 void PhoneticSettings::importStringData( SequenceInputStream& rStrm ) in importStringData() argument
249 rStrm >> nFontId >> nFlags; in importStringData()
254 void PhoneticSettings::importStringData( BiffInputStream& rStrm ) in importStringData() argument
257 rStrm >> nFontId >> nFlags; in importStringData()
290 void PhoneticPortionModel::read( SequenceInputStream& rStrm ) in read() argument
292 mnPos = rStrm.readuInt16(); in read()
293 mnBasePos = rStrm.readuInt16(); in read()
294 mnBaseLen = rStrm.readuInt16(); in read()
297 void PhoneticPortionModel::read( BiffInputStream& rStrm ) in read() argument
299 mnPos = rStrm.readuInt16(); in read()
300 mnBasePos = rStrm.readuInt16(); in read()
301 mnBaseLen = rStrm.readuInt16(); in read()
323 void PhoneticPortionModelList::importPortions( SequenceInputStream& rStrm ) in importPortions() argument
325 sal_Int32 nCount = rStrm.readInt32(); in importPortions()
329 reserve( getLimitedValue< size_t, sal_Int64 >( nCount, 0, rStrm.getRemaining() / 6 ) ); in importPortions()
331 for( sal_Int32 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPortions()
333 aPortion.read( rStrm ); in importPortions()
339 OUString PhoneticPortionModelList::importPortions( BiffInputStream& rStrm, sal_Int32 nPhoneticSize ) in importPortions() argument
343 rStrm >> nPortionCount >> nTextLen1 >> nTextLen2; in importPortions()
351 aPhoneticText = rStrm.readUnicodeArray( nTextLen1 ); in importPortions()
357 aPortion.read( rStrm ); in importPortions()
395 void RichString::importString( SequenceInputStream& rStrm, bool bRich ) in importString() argument
397 sal_uInt8 nFlags = bRich ? rStrm.readuInt8() : 0; in importString()
398 OUString aBaseText = BiffHelper::readString( rStrm ); in importString()
400 if( !rStrm.isEof() && getFlag( nFlags, BIFF12_STRINGFLAG_FONTS ) ) in importString()
403 aPortions.importPortions( rStrm ); in importString()
411 if( !rStrm.isEof() && getFlag( nFlags, BIFF12_STRINGFLAG_PHONETICS ) ) in importString()
413 OUString aPhoneticText = BiffHelper::readString( rStrm ); in importString()
415 aPortions.importPortions( rStrm ); in importString()
416 maPhonSettings.importStringData( rStrm ); in importString()
421 void RichString::importCharArray( BiffInputStream& rStrm, sal_uInt16 nChars, rtl_TextEncoding eText… in importCharArray() argument
423 createPortion()->setText( rStrm.readCharArrayUC( nChars, eTextEnc ) ); in importCharArray()
426 void RichString::importByteString( BiffInputStream& rStrm, rtl_TextEncoding eTextEnc, BiffStringFla… in importByteString() argument
432 OString aBaseText = rStrm.readByteString( !b8BitLength ); in importByteString()
434 if( !rStrm.isEof() && getFlag( nFlags, BIFF_STR_EXTRAFONTS ) ) in importByteString()
437 aPortions.importPortions( rStrm, false ); in importByteString()
446 void RichString::importUniString( BiffInputStream& rStrm, BiffStringFlags nFlags ) in importUniString() argument
453 sal_uInt16 nChars = b8BitLength ? rStrm.readuInt8() : rStrm.readuInt16(); in importUniString()
456 rStrm >> nFlagField; in importUniString()
460 sal_uInt16 nFontCount = bFonts ? rStrm.readuInt16() : 0; in importUniString()
461 sal_Int32 nPhoneticSize = bPhonetic ? rStrm.readInt32() : 0; in importUniString()
464 OUString aBaseText = rStrm.readUniStringChars( nChars, b16Bit ); in importUniString()
468 if( !rStrm.isEof() && (nFontCount > 0) ) in importUniString()
471 aPortions.importPortions( rStrm, nFontCount, BIFF_FONTPORTION_16BIT ); in importUniString()
481 if( !rStrm.isEof() && (nPhoneticSize > 0) ) in importUniString()
483 sal_Int64 nPhoneticEnd = rStrm.tell() + nPhoneticSize; in importUniString()
488 rStrm >> nId >> nSize; in importUniString()
494 maPhonSettings.importStringData( rStrm ); in importUniString()
496 OUString aPhoneticText = aPortions.importPortions( rStrm, nPhoneticSize ); in importUniString()
500 rStrm.seek( nPhoneticEnd ); in importUniString()