DepartmentProject/DepartmentPortal/Common/ToolsOffice/Interfaces/Word/BuilderWordDocument.cs
2022-12-17 23:44:29 +04:00

32 lines
975 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}