Itenso.Rtf.Parser.RtfParserListenerStructureBuilder.DoTextFound C# (CSharp) Method

DoTextFound() protected method

protected DoTextFound ( IRtfText text ) : void
text IRtfText
return void
        protected override void DoTextFound( IRtfText text )
        {
            if ( curGroup == null )
            {
                throw new RtfStructureException( Strings.MissingGroupForNewText );
            }
            curGroup.WritableContents.Add( text );
        }