diff --git a/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperEnums/ExcelStyleInfoType.cs b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperEnums/ExcelStyleInfoType.cs new file mode 100644 index 0000000..74cdd25 --- /dev/null +++ b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperEnums/ExcelStyleInfoType.cs @@ -0,0 +1,10 @@ +namespace SecuritySystemBusinessLogic.OfficePackage.HelperEnums +{ + public enum ExcelStyleInfoType + { + Title, + Text, + TextWithBroder + } + +} diff --git a/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelCellParameters.cs b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelCellParameters.cs new file mode 100644 index 0000000..a9b2886 --- /dev/null +++ b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelCellParameters.cs @@ -0,0 +1,13 @@ +using SecuritySystemBusinessLogic.OfficePackage.HelperEnums; + +namespace SecuritySystemBusinessLogic.OfficePackage.HelperModels +{ + public class ExcelCellParameters + { + public string ColumnName { get; set; } = string.Empty; + public uint RowIndex { get; set; } + public string Text { get; set; } = string.Empty; + public string CellReference => $"{ColumnName}{RowIndex}"; + public ExcelStyleInfoType StyleInfo { get; set; } + } +} diff --git a/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs new file mode 100644 index 0000000..8786755 --- /dev/null +++ b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs @@ -0,0 +1,15 @@ +using SecuritySystemContracts.ViewModels; + +namespace SecuritySystemBusinessLogic.OfficePackage.HelperModels +{ + public class ExcelInfo + { + public string FileName { get; set; } = string.Empty; + public string Title { get; set; } = string.Empty; + public List SecureComponents + { + get; + set; + } = new(); + } +} diff --git a/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelMergeParameters.cs b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelMergeParameters.cs new file mode 100644 index 0000000..cac56aa --- /dev/null +++ b/SecuritySystem/SecuritySystemBusinessLogic/OfficePackage/HelperModels/ExcelMergeParameters.cs @@ -0,0 +1,10 @@ +namespace SecuritySystemBusinessLogic.OfficePackage.HelperModels +{ + public class ExcelMergeParameters + { + public string CellFromName { get; set; } = string.Empty; + public string CellToName { get; set; } = string.Empty; + public string Merge => $"{CellFromName}:{CellToName}"; + } + +}