23 lines
503 B
C#
23 lines
503 B
C#
using System;
|
|
|
|
namespace CPF.ReoGrid.Formula
|
|
{
|
|
internal class STCellNode : STNode
|
|
{
|
|
public Worksheet Worksheet { get; set; }
|
|
|
|
public CellPosition Position { get; set; }
|
|
|
|
public STCellNode(Worksheet worksheet, CellPosition pos, STNodeType type, int start, int len) : base(type, start, len)
|
|
{
|
|
this.Worksheet = worksheet;
|
|
this.Position = pos;
|
|
}
|
|
|
|
public override object Clone()
|
|
{
|
|
return new STCellNode(this.Worksheet, this.Position, base.Type, base.Start, base.Length);
|
|
}
|
|
}
|
|
}
|