C# Class Cats.Documents.DocumentGenerator

Afficher le fichier Open project: edgecomputing/cats Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ConvertTemplate ( ) : TemplateGenerationResult

Converts the DOTX to DOCX

Method Details

DocumentGenerator() public méthode

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
Résultat System

GenerateDocument() public méthode

Generates the Word Document and performs the Mail Merge
public GenerateDocument ( ) : TemplateGenerationResult
Résultat TemplateGenerationResult