Lines Matching refs:rOutStm
63 void SvMetaObject::WriteTab( SvStream & rOutStm, sal_uInt16 nTab ) in WriteTab() argument
66 rOutStm << " "; in WriteTab()
75 void SvMetaObject::WriteStars( SvStream & rOutStm ) in WriteStars() argument
77 rOutStm << '/'; in WriteStars()
79 rOutStm << "**********"; in WriteStars()
80 rOutStm << '/' << endl; in WriteStars()
88 sal_Bool SvMetaObject::TestAndSeekSpaceOnly( SvStream & rOutStm, sal_uLong nBegPos ) in TestAndSeekSpaceOnly() argument
91 sal_uLong nPos = rOutStm.Tell(); in TestAndSeekSpaceOnly()
92 rOutStm.Seek( nBegPos ); in TestAndSeekSpaceOnly()
94 while( bOnlySpace && rOutStm.Tell() < nPos ) in TestAndSeekSpaceOnly()
97 rOutStm >> c; in TestAndSeekSpaceOnly()
103 rOutStm.Seek( nBegPos ); in TestAndSeekSpaceOnly()
105 rOutStm.Seek( nPos ); in TestAndSeekSpaceOnly()
114 void SvMetaObject::Back2Delemitter( SvStream & rOutStm ) in Back2Delemitter() argument
117 sal_uLong nPos = rOutStm.Tell(); in Back2Delemitter()
118 rOutStm.SeekRel( -1 ); in Back2Delemitter()
120 rOutStm >> c; in Back2Delemitter()
122 while( isspace( c ) && rOutStm.Tell() != 1 ) in Back2Delemitter()
124 rOutStm.SeekRel( -2 ); in Back2Delemitter()
125 rOutStm >> c; in Back2Delemitter()
129 rOutStm.SeekRel( -1 ); in Back2Delemitter()
131 rOutStm.Seek( nPos ); in Back2Delemitter()
340 void SvMetaName::WriteDescription( SvStream & rOutStm ) in WriteDescription() argument
342 rOutStm << "<DESCRIPTION>" << endl; in WriteDescription()
348 rOutStm << aDesc.Copy( 0, nPos ).GetBuffer() << endl; in WriteDescription()
353 rOutStm << aDesc.GetBuffer() << endl << "</DESCRIPTION>" << endl; in WriteDescription()
362 SvStream & rOutStm, in WriteAttributesSvIdl() argument
367 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
368 rOutStm << "// class SvMetaName" << endl; in WriteAttributesSvIdl()
372 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
373 aHelpContext.WriteSvIdl( SvHash_HelpContext(), rOutStm, nTab ); in WriteAttributesSvIdl()
374 rOutStm << ';' << endl; in WriteAttributesSvIdl()
378 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
379 aHelpText.WriteSvIdl( rBase, rOutStm, nTab ); in WriteAttributesSvIdl()
380 rOutStm << ';' << endl; in WriteAttributesSvIdl()
384 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
385 aConfigName.WriteSvIdl( SvHash_ConfigName(), rOutStm, nTab ); in WriteAttributesSvIdl()
386 rOutStm << ';' << endl; in WriteAttributesSvIdl()
430 void SvMetaName::WriteSvIdl( SvIdlDataBase & rBase, SvStream & rOutStm, in WriteSvIdl() argument
433 sal_uLong nBeginPos = rOutStm.Tell(); in WriteSvIdl()
434 WriteTab( rOutStm, nTab ); in WriteSvIdl()
435 rOutStm << '[' << endl; in WriteSvIdl()
436 sal_uLong nOldPos = rOutStm.Tell(); in WriteSvIdl()
437 WriteAttributesSvIdl( rBase, rOutStm, nTab +1 ); in WriteSvIdl()
440 if( TestAndSeekSpaceOnly( rOutStm, nOldPos ) ) in WriteSvIdl()
442 rOutStm.Seek( nBeginPos ); in WriteSvIdl()
445 WriteTab( rOutStm, nTab ); in WriteSvIdl()
446 rOutStm << ']'; in WriteSvIdl()
447 nBeginPos = rOutStm.Tell(); in WriteSvIdl()
448 rOutStm << endl; in WriteSvIdl()
451 WriteTab( rOutStm, nTab ); in WriteSvIdl()
452 rOutStm << '{' << endl; in WriteSvIdl()
453 nOldPos = rOutStm.Tell(); in WriteSvIdl()
454 WriteContextSvIdl( rBase, rOutStm, nTab +1 ); in WriteSvIdl()
457 if( TestAndSeekSpaceOnly( rOutStm, nOldPos ) ) in WriteSvIdl()
459 rOutStm.Seek( nBeginPos ); in WriteSvIdl()
462 WriteTab( rOutStm, nTab ); in WriteSvIdl()
463 rOutStm << '}'; in WriteSvIdl()
472 void SvMetaName::Write( SvIdlDataBase & rBase, SvStream & rOutStm, in Write() argument
476 sal_uLong nBeginPos = rOutStm.Tell(); in Write()
477 WriteTab( rOutStm, nTab ); in Write()
478 rOutStm << '[' << endl; in Write()
479 sal_uLong nOldPos = rOutStm.Tell(); in Write()
480 WriteAttributes( rBase, rOutStm, nTab +1, nT, nA ); in Write()
483 sal_uLong nPos = rOutStm.Tell(); in Write()
484 rOutStm.Seek( nOldPos ); in Write()
486 while( bOnlySpace && rOutStm.Tell() < nPos ) in Write()
489 rOutStm >> c; in Write()
495 rOutStm.Seek( nBeginPos ); in Write()
498 rOutStm.Seek( nPos ); in Write()
499 WriteTab( rOutStm, nTab ); in Write()
500 rOutStm << ']' << endl; in Write()
509 void SvMetaName::WriteAttributes( SvIdlDataBase &, SvStream & rOutStm, in WriteAttributes() argument
515 WriteTab( rOutStm, nTab ); in WriteAttributes()
516 rOutStm << "// class SvMetaName" << endl; in WriteAttributes()
520 WriteTab( rOutStm, nTab ); in WriteAttributes()
521 rOutStm << "helpstring(\"" << GetHelpText().GetBuffer() << "\")," << endl; in WriteAttributes()
525 WriteTab( rOutStm, nTab ); in WriteAttributes()
526 rOutStm << "helpcontext(" in WriteAttributes()
702 SvStream & rOutStm, sal_uInt16 nTab ) in WriteAttributesSvIdl() argument
704 SvMetaReference::WriteAttributesSvIdl( rBase, rOutStm, nTab ); in WriteAttributesSvIdl()
707 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
708 rOutStm << "// class SvMetaExtern" << endl; in WriteAttributesSvIdl()
712 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
713 aUUId.WriteSvIdl( rOutStm ); in WriteAttributesSvIdl()
714 rOutStm << ';' << endl; in WriteAttributesSvIdl()
718 WriteTab( rOutStm, nTab ); in WriteAttributesSvIdl()
719 aVersion.WriteSvIdl( rOutStm ); in WriteAttributesSvIdl()
720 rOutStm << ';' << endl; in WriteAttributesSvIdl()
742 void SvMetaExtern::WriteSvIdl( SvIdlDataBase & rBase, SvStream & rOutStm, in WriteSvIdl() argument
745 SvMetaReference::WriteSvIdl( rBase, rOutStm, nTab ); in WriteSvIdl()
753 void SvMetaExtern::Write( SvIdlDataBase & rBase, SvStream & rOutStm, in Write() argument
757 SvMetaReference::Write( rBase, rOutStm, nTab, nT, nA ); in Write()
765 void SvMetaExtern::WriteAttributes( SvIdlDataBase & rBase, SvStream & rOutStm, in WriteAttributes() argument
769 SvMetaReference::WriteAttributes( rBase, rOutStm, nTab, nT, nA ); in WriteAttributes()
771 WriteTab( rOutStm, nTab ); in WriteAttributes()
772 rOutStm << "// class SvMetaExtern" << endl; in WriteAttributes()
773 WriteTab( rOutStm, nTab ); in WriteAttributes()
774 …rOutStm << "uuid(" << ByteString( GetUUId().GetHexName(), RTL_TEXTENCODING_UTF8 ).GetBuffer() << "… in WriteAttributes()
775 WriteTab( rOutStm, nTab ); in WriteAttributes()
776 …rOutStm << "version(" << ByteString::CreateFromInt32( aVersion.GetMajorVersion() ).GetBuffer() << … in WriteAttributes()