Пример #1
0
 /**
 * 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;
 }
Пример #2
0
 /**
 * Default constructor
 *
 */
 public RtfParserState()
 {
     this.text = new StringBuilder();
     this.ctrlWordHandlers = new Stack();
     this.properties = new RtfProperty();
     this.destination = RtfDestinationNull.GetInstance();
     this.newGroup = false;
 }