public CalculateColumnInfo ConvertIntoCalcInfo()
        {
            CalculateColumnInfo calculateColumnInfo = new CalculateColumnInfo();

            foreach (object objValue in this.Elements)
            {
                if (objValue == null)
                {
                    continue;
                }

                object objCalEletField = objValue;

                if (objValue is CalculateFormulaDealer)
                {
                    objCalEletField = (objValue as CalculateFormulaDealer).ConvertIntoCalcInfo();
                }

                CalcElement calElet = new CalcElement(this.CombinedOperation, string.Empty, CombinedOperation.StrConcat, objCalEletField, Bracket.NONE);

                calculateColumnInfo.Add(calElet);
            }

            return(calculateColumnInfo);
        }
        public CalculateColumnInfo Copy()
        {
            CalculateColumnInfo calculateColumnInfo = new CalculateColumnInfo();

            foreach (CalcElement elet in this)
            {
                calculateColumnInfo.Add(elet.Copy());
            }
            calculateColumnInfo.ValueSpliter = this.ValueSpliter;

            calculateColumnInfo.DisplayedCalculteStep = this.DisplayedCalculteStep;

            return(calculateColumnInfo);
        }