update 20241127

This commit is contained in:
Stefan Hutter
2024-11-27 15:53:34 +01:00
parent 341ea50f06
commit 2a652c7325
11218 changed files with 1987907 additions and 362275 deletions

View File

@@ -28,7 +28,8 @@ namespace DOCGEN
public string connectionstring = "";
public clsDocData DocData = new clsDocData();
DB db = new DB();
public string apikey = "";
public string resturi = "";
public void Lic()
{
@@ -48,6 +49,15 @@ namespace DOCGEN
Lic();
}
public DocGen(string Connectionstring, string RestURI, string ApiKey)
{
this.connectionstring = Connectionstring;
this.DocData = DocData;
db.connectionstring = this.connectionstring;
Lic();
this.resturi = RestURI;
this.apikey = ApiKey;
}
public string GenDocID(clsDocData docdata)
{
this.DocData = docdata;
@@ -70,9 +80,9 @@ namespace DOCGEN
return "";
}
public string generate_serienbrief(string vorlage,serienbrief sb, string dokumentid)
public string generate_serienbrief(string vorlage,serienbrief sb, string dokumentid, string resturi, string apikey)
{
SyncFWord sfword = new SyncFWord();
SyncFWord sfword = new SyncFWord(resturi,apikey);
clsdok dok = new clsdok("", "", "");
clsDocData dd = new clsDocData();
dd.DocMacros = new List<clsDocMacro>();