static IList <string> ProcessRows(IEnumerable <Tree <Cell> > theRows)
        {
            var           values  = new ValueArray("ditto");
            List <string> results = null;

            foreach (var row in theRows)
            {
                results = values.GetCells(row.Branches).Branches.Select(cell => cell.Value.Text).ToList();
            }
            return(results);
        }
Exemple #2
0
        private static ArrayList ProcessRows(Parse theRows)
        {
            var       values  = new ValueArray("ditto");
            ArrayList results = null;

            foreach (Parse row in new CellRange(theRows).Cells)
            {
                results = new ArrayList();
                //values.LoadSource(new CellRange(row.Parts).Cells);
                foreach (Parse cell in values.GetCells(new CellRange(row.Parts).Cells).Cells)
                {
                    results.Add(cell.Text);
                }
            }
            return(results);
        }