Lines Matching refs:rStream

895 sal_Bool SfxStyleSheetBasePool::Load( SvStream& rStream )  in Load()  argument
899 return Load1_Impl( rStream ); in Load()
902 SfxMiniRecordReader aPoolRec( &rStream, SFX_STYLES_REC ); in Load()
906 if ( !rStream.GetError() ) in Load()
908 SfxSingleRecordReader aHeaderRec( &rStream, SFX_STYLES_REC_HEADER ); in Load()
913 rStream >> nCharSet; in Load()
917 if ( !rStream.GetError() ) in Load()
919 SfxMultiRecordReader aStylesRec( &rStream, SFX_STYLES_REC_STYLES ); in Load()
925 sal::static_int_cast< sal_uInt16 >(rStream.GetVersion()) ); in Load()
926 rtl_TextEncoding eOldEnc = rStream.GetStreamCharSet(); in Load()
927 rStream.SetStreamCharSet( eEnc ); in Load()
933 if ( rStream.GetError() ) in Load()
941 rStream.ReadByteString(aName, eEnc ); in Load()
942 rStream.ReadByteString(aParent, eEnc ); in Load()
943 rStream.ReadByteString(aFollow, eEnc ); in Load()
944 rStream >> nFamily >> nStyleMask; in Load()
945 SfxPoolItem::readByteString(rStream, aHelpFile); in Load()
946 rStream >> nHelpId; in Load()
953 sal_uInt32 nPos = rStream.Tell(); in Load()
954 rStream >> nCount; in Load()
957 rStream.Seek( nPos ); in Load()
963 /*!aTmpSet*/ rSet.Load( rStream ); in Load()
969 rStream >> nVer >> nSize; in Load()
970 nPos = rStream.Tell() + nSize; in Load()
971 rSheet.Load( rStream, nVer ); in Load()
972 rStream.Seek( nPos ); in Load()
993 rStream.SetStreamCharSet( eOldEnc ); in Load()
997 return sal_Bool( rStream.GetError() == SVSTREAM_OK ); in Load()
1000 sal_Bool SfxStyleSheetBasePool::Load1_Impl( SvStream& rStream ) in Load1_Impl() argument
1005 rStream >> nVersion; in Load1_Impl()
1010 rStream >> nCharSet; in Load1_Impl()
1014 sal::static_int_cast< sal_uInt16 >(rStream.GetVersion()) ); in Load1_Impl()
1015 rtl_TextEncoding eOldEnc = rStream.GetStreamCharSet(); in Load1_Impl()
1016 rStream.SetStreamCharSet( eEnc ); in Load1_Impl()
1019 rStream >> nStyles; in Load1_Impl()
1024 if ( rStream.GetError() ) in Load1_Impl()
1035 rStream.ReadByteString(aName, eEnc ); in Load1_Impl()
1036 rStream.ReadByteString(aParent, eEnc ); in Load1_Impl()
1037 rStream.ReadByteString(aFollow, eEnc ); in Load1_Impl()
1038 rStream >> nFamily >> nStyleMask; in Load1_Impl()
1039 SfxPoolItem::readByteString(rStream, aHelpFile); in Load1_Impl()
1043 rStream >> nTmpHelpId; in Load1_Impl()
1047 rStream >> nHelpId; in Load1_Impl()
1054 sal_uInt32 nPos = rStream.Tell(); in Load1_Impl()
1055 rStream >> nCount; in Load1_Impl()
1057 rStream.Seek( nPos ); in Load1_Impl()
1063 /*!aTmpSet*/ rSet.Load( rStream ); in Load1_Impl()
1069 rStream >> nVer >> nSize; in Load1_Impl()
1070 nPos = rStream.Tell() + nSize; in Load1_Impl()
1071 rSheet.Load( rStream, nVer ); in Load1_Impl()
1072 rStream.Seek( nPos ); in Load1_Impl()
1090 rStream.SetStreamCharSet( eOldEnc ); in Load1_Impl()
1092 return sal_Bool( rStream.GetError() == SVSTREAM_OK ); in Load1_Impl()
1095 sal_Bool SfxStyleSheetBasePool::Store( SvStream& rStream, sal_Bool bUsed ) in Store() argument
1098 SfxMiniRecordWriter aPoolRec( &rStream, SFX_STYLES_REC ); in Store()
1111 rStream.GetStreamCharSet(), in Store()
1112 sal::static_int_cast< sal_uInt16 >(rStream.GetVersion()) ); in Store()
1113 rtl_TextEncoding eOldEnc = rStream.GetStreamCharSet(); in Store()
1114 rStream.SetStreamCharSet( eEnc ); in Store()
1117 SfxSingleRecordWriter aHeaderRec( &rStream, in Store()
1120 rStream << (short) eEnc; in Store()
1178 SfxMultiVarRecordWriter aStylesRec( &rStream, SFX_STYLES_REC_STYLES, 0 ); in Store()
1193 rStream.WriteByteString( aConvNames.GetObject( nFndPos )->Copy( 2 )); in Store()
1195 rStream.WriteByteString( sEmpty ); in Store()
1199 rStream.WriteByteString( aConvNames.GetObject( nFndPos )->Copy( 2 )); in Store()
1201 rStream.WriteByteString( sEmpty ); in Store()
1205 rStream.WriteByteString( aConvNames.GetObject( nFndPos )->Copy( 2 )); in Store()
1207 rStream.WriteByteString( sEmpty ); in Store()
1209 rStream << nFamily << p->GetMask(); in Store()
1210 SfxPoolItem::writeByteString(rStream, aHelpFile); in Store()
1211 rStream << nHelpId; in Store()
1213 p->pSet->Store( rStream ); in Store()
1215 rStream << (sal_uInt16)0; in Store()
1220 rStream << (sal_uInt16) p->GetVersion(); in Store()
1221 sal_uLong nPos1 = rStream.Tell(); in Store()
1222 rStream << (sal_uInt32) 0; in Store()
1223 p->Store( rStream ); in Store()
1224 sal_uLong nPos2 = rStream.Tell(); in Store()
1225 rStream.Seek( nPos1 ); in Store()
1226 rStream << (sal_uInt32) ( nPos2 - nPos1 - sizeof( sal_uInt32 ) ); in Store()
1227 rStream.Seek( nPos2 ); in Store()
1228 if( rStream.GetError() != SVSTREAM_OK ) in Store()
1234 rStream.SetStreamCharSet( eOldEnc ); in Store()
1236 return sal_Bool( rStream.GetError() == SVSTREAM_OK ); in Store()