예제 #1
0
 internal StiRtfTreeNode(StiRtfToken token)
 {
     this.children = new StiRtfNodeCollection();
     this.type     = (StiRtfNodeType)token.Type;
     this.key      = token.Key;
     this.hasParam = token.HasParameter;
     this.param    = token.Parameter;
 }
예제 #2
0
 public StiRtfTreeNode(StiRtfNodeType nodeType, string key, bool hasParameter, int parameter)
 {
     this.children = new StiRtfNodeCollection();
     this.type     = nodeType;
     this.key      = key;
     this.hasParam = hasParameter;
     this.param    = parameter;
 }