Пример #1
0
        internal Row(XMLNode rowElement, SharedStrings sharedStrings)
        {
            m_ColumnStart = 1;
            try
            {
                this.RowIndex = int.Parse(rowElement.GetValue("@r"));
            }
            catch (Exception ex)
            {
                throw new Exception("Row Number not found", ex);
            }
            XMLNodeList cellList = rowElement.GetDeepNodeList("c");

            this.Cells = new List <Cell>();
            if (cellList != null && cellList.Count > 0)
            {
                this.Cells = GetCells(cellList, sharedStrings);
            }
        }