2024-04-30 22:39:45 +04:00
|
|
|
|
using BankBusinessLogic.OfficePackage.HelperModels;
|
|
|
|
|
using System;
|
2024-04-30 16:37:32 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BankBusinessLogic.OfficePackage
|
|
|
|
|
{
|
|
|
|
|
public abstract class AbstractSaveToPdf
|
|
|
|
|
{
|
2024-04-30 22:39:45 +04:00
|
|
|
|
/// Создание pdf-файла
|
|
|
|
|
protected abstract void CreatePdf(PdfInfo info);
|
|
|
|
|
|
|
|
|
|
/// Создание параграфа с текстом
|
|
|
|
|
protected abstract void CreateParagraph(PdfParagraph paragraph);
|
|
|
|
|
|
|
|
|
|
/// Создание таблицы
|
|
|
|
|
protected abstract void CreateTable(List<string> columns);
|
|
|
|
|
|
|
|
|
|
/// Создание и заполнение строки
|
|
|
|
|
protected abstract void CreateRow(PdfRowParameters rowParameters);
|
|
|
|
|
|
|
|
|
|
/// Сохранение файла
|
|
|
|
|
protected abstract void SavePdf(PdfInfo info);
|
2024-04-30 16:37:32 +04:00
|
|
|
|
}
|
|
|
|
|
}
|