Lines Matching refs:rStrm
712 static sal_Bool LoadArray( SvStream& rStrm, SbxObject* pThis, SbxArray* pArray ) in LoadArray() argument
714 SbxArrayRef p = (SbxArray*) SbxBase::Load( rStrm ); in LoadArray()
733 sal_Bool SbxObject::LoadData( SvStream& rStrm, sal_uInt16 nVer ) in LoadData() argument
741 if( !SbxVariable::LoadData( rStrm, nVer ) ) in LoadData()
748 rStrm.ReadByteString( aClassName, RTL_TEXTENCODING_ASCII_US ); in LoadData()
749 rStrm.ReadByteString( aDfltProp, RTL_TEXTENCODING_ASCII_US ); in LoadData()
750 sal_uIntPtr nPos = rStrm.Tell(); in LoadData()
751 rStrm >> nSize; in LoadData()
752 if( !LoadPrivateData( rStrm, nVer ) ) in LoadData()
754 sal_uIntPtr nNewPos = rStrm.Tell(); in LoadData()
758 rStrm.Seek( nPos ); in LoadData()
759 if( !LoadArray( rStrm, this, pMethods ) in LoadData()
760 || !LoadArray( rStrm, this, pProps ) in LoadData()
761 || !LoadArray( rStrm, this, pObjs ) ) in LoadData()
770 sal_Bool SbxObject::StoreData( SvStream& rStrm ) const in StoreData()
772 if( !SbxVariable::StoreData( rStrm ) ) in StoreData()
777 rStrm.WriteByteString( aClassName, RTL_TEXTENCODING_ASCII_US ); in StoreData()
778 rStrm.WriteByteString( aDfltProp, RTL_TEXTENCODING_ASCII_US ); in StoreData()
779 sal_uIntPtr nPos = rStrm.Tell(); in StoreData()
780 rStrm << (sal_uInt32) 0L; in StoreData()
781 if( !StorePrivateData( rStrm ) ) in StoreData()
783 sal_uIntPtr nNew = rStrm.Tell(); in StoreData()
784 rStrm.Seek( nPos ); in StoreData()
785 rStrm << (sal_uInt32) ( nNew - nPos ); in StoreData()
786 rStrm.Seek( nNew ); in StoreData()
787 if( !pMethods->Store( rStrm ) ) in StoreData()
789 if( !pProps->Store( rStrm ) ) in StoreData()
791 if( !pObjs->Store( rStrm ) ) in StoreData()
889 void SbxObject::Dump( SvStream& rStrm, sal_Bool bFill ) in Dump() argument
895 rStrm << "<too deep>" << endl; in Dump()
910 rStrm << "Object( " in Dump()
920 rStrm << "in parent " in Dump()
925 rStrm << "no parent "; in Dump()
926 rStrm << " )" << endl; in Dump()
928 rStrm << aIndentNameStr.GetBuffer() << "{" << endl; in Dump()
935 rStrm << aIndentNameStr.GetBuffer() << "- Flags: " << aAttrStr.GetBuffer() << endl; in Dump()
939 rStrm << aIndentNameStr.GetBuffer() << "- Methods:" << endl; in Dump()
954 rStrm.WriteByteString( aLine, RTL_TEXTENCODING_ASCII_US ); in Dump()
962 rStrm << " contains "; in Dump()
963 ((SbxObject*) pVar->GetValues_Impl().pObj)->Dump( rStrm, bFill ); in Dump()
966 rStrm << endl; in Dump()
971 rStrm << aIndentNameStr.GetBuffer() << "- Properties:" << endl; in Dump()
987 rStrm.WriteByteString( aLine, RTL_TEXTENCODING_ASCII_US ); in Dump()
995 rStrm << " contains "; in Dump()
996 ((SbxObject*) pVar->GetValues_Impl().pObj)->Dump( rStrm, bFill ); in Dump()
999 rStrm << endl; in Dump()
1005 rStrm << aIndentNameStr.GetBuffer() << "- Objects:" << endl; in Dump()
1013 rStrm << aIndentNameStr.GetBuffer() << " - Sub"; in Dump()
1015 ((SbxObject*) pVar)->Dump( rStrm, bFill ); in Dump()
1017 ((SbxVariable*) pVar)->Dump( rStrm, bFill ); in Dump()
1022 rStrm << aIndentNameStr.GetBuffer() << "}" << endl << endl; in Dump()