update 20241225
This commit is contained in:
@@ -12,6 +12,7 @@ using System.Diagnostics;
|
||||
using NLog;
|
||||
using System.Security.Policy;
|
||||
using OfficePrinter;
|
||||
using Syncfusion.XlsIO.Implementation.PivotAnalysis;
|
||||
|
||||
namespace DOCGEN.Generator
|
||||
{
|
||||
@@ -54,7 +55,7 @@ namespace DOCGEN.Generator
|
||||
this.apikey = ApiKey;
|
||||
}
|
||||
|
||||
public clsdok Generate_Doc_EDOKA(string dokumentid, ref clsDocData docdata, bool useoffice = false )
|
||||
public clsdok Generate_Doc_EDOKA(string dokumentid, ref clsDocData docdata, bool useoffice = false, int OfficeSleep=0 )
|
||||
{
|
||||
DB db = new DB(connectionstring);
|
||||
DataTable dt = new DataTable();
|
||||
@@ -78,7 +79,7 @@ namespace DOCGEN.Generator
|
||||
} else
|
||||
{
|
||||
OnDocOffice.clsWordEdit oo = new OnDocOffice.clsWordEdit("", "","");
|
||||
dok.dokument = oo.Generate_Word_in_Office(ref docdata, ref dok, dt.Rows[0][0].ToString(), connectionstring, tempdir, dokumentid, Apptype,Extension);
|
||||
dok.dokument = oo.Generate_Word_in_Office(ref docdata, ref dok, dt.Rows[0][0].ToString(), connectionstring, tempdir, dokumentid, Apptype,Extension,OfficeSleep);
|
||||
}
|
||||
|
||||
dok.doktype = "D";
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user