/** * Default constructor * */ public RtfParserState() { this.text = new StringBuilder(); this.ctrlWordHandlers = new Stack(); this.properties = new RtfProperty(); this.destination = RtfDestinationNull.GetInstance(); this.newGroup = false; }
/// <summary> /// Default constructor /// </summary> public RtfParserState() { Text = new StringBuilder(); CtrlWordHandlers = new Stack(); Properties = new RtfProperty(); Destination = RtfDestinationNull.GetInstance(); NewGroup = false; }
/** * Copy constructor * @param orig The object to copy */ public RtfParserState(RtfParserState orig) { this.properties = orig.properties; this.parserState = orig.parserState; this.tokeniserState = orig.tokeniserState; this.groupHandler = null; this.destination = orig.destination; this.text = new StringBuilder(); this.ctrlWordHandlers = new Stack(); this.destination = orig.destination; this.newGroup = false; }
/// <summary> /// Copy constructor /// </summary> /// <param name="orig">The object to copy</param> public RtfParserState(RtfParserState orig) { Properties = orig.Properties; ParserState = orig.ParserState; TokeniserState = orig.TokeniserState; GroupHandler = null; Destination = orig.Destination; Text = new StringBuilder(); CtrlWordHandlers = new Stack(); Destination = orig.Destination; NewGroup = false; }
set => SetValue(RtfProperty, value);