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; }
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; }