DepartmentProject/DepartmentPortal/Common/ToolsOffice/Interfaces/Word/BuilderWordDocument.cs

32 lines
975 B
C#
Raw Normal View History

2022-12-17 23:44:29 +04:00
using System.IO;
using ToolsOffice.Interfaces.Word.Models;
namespace ToolsOffice.Interfaces.Word
{
public abstract class BuilderWordDocument
{
/// <summary>
/// Создание документа
/// </summary>
/// <param name="model"></param>
public abstract void CreateDocument(ICreateWordModel model);
/// <summary>
/// Создание абзаца с текстом
/// </summary>
/// <param name="model"></param>
public abstract void CreateParagraph(IParagraphWordModel model);
/// <summary>
/// Создание абзаца с текстом
/// </summary>
/// <param name="model"></param>
public abstract void CreateTable(ITableWordModel model);
/// <summary>
/// Сохранение файла
/// </summary>
/// <param name="info"></param>
public abstract Stream SaveDocument(ISaveWordModel info);
}
}