protected override void DoTagFound( IRtfTag tag ) { if ( curGroup == null ) { throw new RtfStructureException( Strings.MissingGroupForNewTag ); } curGroup.WritableContents.Add( tag ); }