protected override void DoVisitGroup( IRtfGroup group )
{
switch ( group.Destination )
{
case RtfSpec.TagUserProperties:
VisitGroupChildren( group );
break;
case null:
Reset();
VisitGroupChildren( group );
collectedProperties.Add( CreateProperty() );
break;
case RtfSpec.TagUserPropertyName:
textBuilder.Reset();
textBuilder.VisitGroup( group );
propertyName = textBuilder.CombinedText;
break;
case RtfSpec.TagUserPropertyValue:
textBuilder.Reset();
textBuilder.VisitGroup( group );
staticValue = textBuilder.CombinedText;
break;
case RtfSpec.TagUserPropertyLink:
textBuilder.Reset();
textBuilder.VisitGroup( group );
linkValue = textBuilder.CombinedText;
break;
}
}