32 lines
975 B
C#
32 lines
975 B
C#
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);
|
||
}
|
||
} |