/// <summary>
 /// Set the parser to use with the RtfDestination object.
 /// </summary>
 /// <param name="parser">The RtfParser object.</param>
 public virtual void SetParser(RtfParser parser)
 {
     if (RtfParser != null && RtfParser.Equals(parser))
     {
         return;
     }
     RtfParser = parser;
 }
Exemple #2
0
 /// <summary>
 /// (non-Javadoc)
 /// @see com.lowagie.text.rtf.parser.destinations.RtfDestination#setParser(com.lowagie.text.rtf.parser.RtfParser)
 /// @since 2.0.8
 /// </summary>
 public override void SetParser(RtfParser parser)
 {
     if (RtfParser != null && RtfParser.Equals(parser))
     {
         return;
     }
     RtfParser = parser;
     init(true);
 }