Big changes

This commit is contained in:
Duc
2025-03-13 12:04:22 -07:00
parent c689fcb7f9
commit ffa9905494
748 changed files with 199255 additions and 3743 deletions

View File

@@ -0,0 +1,35 @@
using System.Xml.Serialization;
namespace ExcelZipLib
{
public class Row
{
/// <summary>
/// The filled cells.
/// </summary>
[XmlElement("c")]
public Cell[] FilledCells;
/// <summary>
/// The cells.
/// </summary>
[XmlIgnore]
public Cell[] Cells;
/// <summary>
/// Expands the cells.
/// </summary>
/// <param name="NumberOfColumns">The number of columns.</param>
public void ExpandCells(int NumberOfColumns)
{
Cells = new Cell[NumberOfColumns];
foreach (var cell in FilledCells)
{
Cells[cell.ColumnIndex] = cell;
}
FilledCells = null;
}
}
}