C# Класс Cats.Documents.DocumentGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DocumentGenerator ( string templateFileName, string targetPath, string>.Dictionary values, List transactionDetailsList, log4net.ILog log ) : System

Constructor for the DocumentGeneration Class

GenerateDocument ( ) : TemplateGenerationResult

Generates the Word Document and performs the Mail Merge

Приватные методы

Метод Описание
ConvertTemplate ( ) : TemplateGenerationResult

Converts the DOTX to DOCX

Описание методов

DocumentGenerator() публичный Метод

Constructor for the DocumentGeneration Class
public DocumentGenerator ( string templateFileName, string targetPath, string>.Dictionary values, List transactionDetailsList, log4net.ILog log ) : System
templateFileName string File to base the document off of
targetPath string File path for the generated document
values string>.Dictionary Key value pair containing items to be replaced in the document
transactionDetailsList List
log log4net.ILog
Результат System

GenerateDocument() публичный Метод

Generates the Word Document and performs the Mail Merge
public GenerateDocument ( ) : TemplateGenerationResult
Результат TemplateGenerationResult