diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/Enums/WordJustificationType.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/Enums/WordJustificationType.cs deleted file mode 100644 index 932032e..0000000 --- a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/Enums/WordJustificationType.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace VeterinaryBusinessLogic.OfficePackage.Enums -{ - internal class WordJustificationType - { - } -} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperEnums/PdfParagraphAligmentType.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperEnums/PdfParagraphAligmentType.cs new file mode 100644 index 0000000..a87e6c6 --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperEnums/PdfParagraphAligmentType.cs @@ -0,0 +1,9 @@ +namespace VeterinaryBusinessLogic.OfficePackage.HelperEnums +{ + public enum PdfParagraphAlignmentType + { + Center, + Left, + Right + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperEnums/WordJustificationType.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperEnums/WordJustificationType.cs new file mode 100644 index 0000000..e484d4f --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperEnums/WordJustificationType.cs @@ -0,0 +1,8 @@ +namespace VeterinaryBusinessLogic.OfficePackage.HelperEnums +{ + public enum WordJustificationType + { + Center, + Both + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs new file mode 100644 index 0000000..bd5e72a --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs @@ -0,0 +1,12 @@ +namespace VeterinaryBusinessLogic.OfficePackage.HelperModels +{ + public class PdfInfo + { + public string FileName { get; set; } = string.Empty; + public string Title { get; set; } = string.Empty; + public DateTime DateFrom { get; set; } + public DateTime DateTo { get; set; } + public List ReportServices { get; set; } = new(); + public List ReportPurchases{ get; set; } = new(); + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfParagraph.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfParagraph.cs new file mode 100644 index 0000000..73b5857 --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfParagraph.cs @@ -0,0 +1,11 @@ +using VeterinaryBusinessLogic.OfficePackage.HelperEnums; + +namespace VeterinaryBusinessLogic.OfficePackage.HelperModels +{ + public class PdfParagraph + { + public string Text { get; set; } = string.Empty; + public string Style { get; set; } = string.Empty; + public PdfParagraphAlignmentType ParagraphAlignment { get; set; } + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfRowParameters.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfRowParameters.cs new file mode 100644 index 0000000..58ecf09 --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/PdfRowParameters.cs @@ -0,0 +1,11 @@ +using VeterinaryBusinessLogic.OfficePackage.HelperEnums; + +namespace VeterinaryBusinessLogic.OfficePackage.HelperModels +{ + public class PdfRowParameters + { + public List Texts { get; set; } = new(); + public string Style { get; set; } = string.Empty; + public PdfParagraphAlignmentType ParagraphAlignment { get; set; } + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordInfo.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordInfo.cs new file mode 100644 index 0000000..b9b30c0 --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordInfo.cs @@ -0,0 +1,12 @@ +using VeterinaryContracts.ViewModels; + +namespace VeterinaryBusinessLogic.OfficePackage.HelperModels +{ + public class WordInfo + { + public string FileName { get; set; } = string.Empty; + public string Title { get; set; } = string.Empty; + public List Services { get; set; } = new(); + public List Pets { get; set; } = new(); + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordParagraph.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordParagraph.cs new file mode 100644 index 0000000..c54f188 --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordParagraph.cs @@ -0,0 +1,8 @@ +namespace VeterinaryBusinessLogic.OfficePackage.HelperModels +{ + public class WordParagraph + { + public List<(string, WordTextProperties)> Texts { get; set; } = new(); + public WordTextProperties? TextProperties { get; set; } + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordTextProperties.cs b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordTextProperties.cs new file mode 100644 index 0000000..2c63475 --- /dev/null +++ b/VeterinaryView/VeterinaryBusinessLogic/OfficePackage/HelperModels/WordTextProperties.cs @@ -0,0 +1,11 @@ +using VeterinaryBusinessLogic.OfficePackage.HelperEnums; + +namespace VeterinaryBusinessLogic.OfficePackage.HelperModels +{ + public class WordTextProperties + { + public string Size { get; set; } = string.Empty; + public bool Bold { get; set; } + public WordJustificationType JustificationType { get; set; } + } +} diff --git a/VeterinaryView/VeterinaryBusinessLogic/VeterinaryBusinessLogic.csproj b/VeterinaryView/VeterinaryBusinessLogic/VeterinaryBusinessLogic.csproj index 52a5007..3110a4b 100644 --- a/VeterinaryView/VeterinaryBusinessLogic/VeterinaryBusinessLogic.csproj +++ b/VeterinaryView/VeterinaryBusinessLogic/VeterinaryBusinessLogic.csproj @@ -14,9 +14,4 @@ - - - - -