Update 20250204
This commit is contained in:
@@ -14,6 +14,7 @@ using System.Security.Policy;
|
||||
using OfficePrinter;
|
||||
using Syncfusion.XlsIO.Implementation.PivotAnalysis;
|
||||
using OnDocOffice;
|
||||
using System.Threading;
|
||||
|
||||
namespace DOCGEN.Generator
|
||||
{
|
||||
@@ -108,7 +109,7 @@ namespace DOCGEN.Generator
|
||||
}
|
||||
dok.dokument = sfword.Generate_Word(dt.Rows[0][0].ToString(), docdata);
|
||||
Logging.Logging.Debug("Generate_Word", "Ende", dokumentid);
|
||||
|
||||
Thread.Sleep(OfficeSleep);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -121,7 +122,7 @@ namespace DOCGEN.Generator
|
||||
oo = null;
|
||||
}
|
||||
|
||||
dok.doktype = "D";
|
||||
dok.doktype = "W";
|
||||
dok.extension = dt2.Rows[0][1].ToString();
|
||||
//if (dok.extension.ToUpper()=="DOTM") { dok.extension = "docm"; }
|
||||
return dok;
|
||||
|
||||
Reference in New Issue
Block a user