PIbd-32_Rogashova_E.A._COP_1/COPWinForms/TableWord.cs

29 lines
988 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static COPWinForms.ComponentWord2;
namespace COPWinForms
{
public class TableWord<T> where T : class
{
public string FilePath = string.Empty;
public string DocumentTitle = string.Empty;
public List<ColumnDefinition> ColumnDefinitions;
public List<ColumnDefinition> ColumnDefinitions2;
public List<T> Data;
public List<int[]> MergedColumns;
public TableWord(string filePath, string documentTitle, List<ColumnDefinition> columnDefinitions, List<ColumnDefinition> columnDefinitions2, List<T> data, List<int[]> mergedColumns)
{
FilePath = filePath;
DocumentTitle = documentTitle;
ColumnDefinitions = columnDefinitions;
ColumnDefinitions2 = columnDefinitions2;
Data = data;
MergedColumns = mergedColumns;
}
}
}