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;
|
||||
|
||||
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.
@@ -114,7 +114,7 @@ namespace DOCGEN
|
||||
|
||||
dok.dokument = sfword.Generate_Word(vorlage,dd, sb.img_unterschriftlinks,sb.img_unterschrfitrechts,sb.img_faktura,true);
|
||||
db = null;
|
||||
dok.doktype = "D";
|
||||
dok.doktype = "W";
|
||||
|
||||
sfword = null;
|
||||
return dok.dokument;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user