Update 20241106

This commit is contained in:
Stefan Hutter
2024-11-06 16:12:09 +01:00
parent 0ddc71c2b3
commit 86be28ec33
89 changed files with 1029 additions and 107 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -13,6 +13,9 @@ using System.Runtime.CompilerServices;
using Model;
using Database;
using NLog.Config;
using System.Runtime.Serialization;
using System.Xml.Linq;
using NLog.LayoutRenderers;
namespace DOCGEN
{
@@ -66,5 +69,24 @@ namespace DOCGEN
{
return "";
}
public string generate_serienbrief(string vorlage,serienbrief sb)
{
SyncFWord sfword = new SyncFWord();
clsdok dok = new clsdok("", "", "");
clsDocData dd = new clsDocData();
dd.DocMacros = new List<clsDocMacro>();
dd.Dokumentid = "";
dd.DokumentDatum = sb.dokumentdatum.ToString();
dd.Unterschrift_Links=sb.unterschriftlinks.ToString();
dd.Unterschrift_Rechts = sb.unterschriftrechts.ToString();
dd.DocValues = sb.DocValues;
dd.As_Faksimile = sb.faksimile_unterschrfit.ToString();
dok.dokument = sfword.Generate_Word(vorlage,dd);
dok.doktype = "D";
sfword = null;
return dok.dokument;
}
}
}

Binary file not shown.

Binary file not shown.