private void GenerateLettersText(IEnumerable <Recipient> recipients)
 {
     _config   = _configurationFactory.GetConfiguration();
     _template = _documentsFactory.OpenTemplateDocument(_config.TemplatePath, _config.CelebrationName);
     AddRecipients(recipients);
     _template.ApplyFont(_config.Font);
 }
 private static void ProcessValue(ITemplateDocument doc, object value)
 {
     try
     {
         currentRoot.Value = value;
         doc.Process(value);
     }
     finally
     {
         currentRoot.Value = null;
     }
 }