update 20250202
This commit is contained in:
@@ -13,6 +13,7 @@ using NLog;
|
||||
using System.Security.Policy;
|
||||
using OfficePrinter;
|
||||
using Syncfusion.XlsIO.Implementation.PivotAnalysis;
|
||||
using OnDocOffice;
|
||||
|
||||
namespace DOCGEN.Generator
|
||||
{
|
||||
@@ -94,6 +95,17 @@ namespace DOCGEN.Generator
|
||||
clsdok dok = new clsdok("", "", "");
|
||||
if (useoffice == false) {
|
||||
Logging.Logging.Debug("Generate_Word", "Start", dokumentid);
|
||||
if (docdata.remove_signature)
|
||||
{
|
||||
Helper.clsFileHelper fh = new Helper.clsFileHelper();
|
||||
string filename = tempdir + dokumentid + ".tmp";
|
||||
fh.SaveBase64ToFile(dt.Rows[0][0].ToString(), filename);
|
||||
|
||||
word_signature ws = new word_signature();
|
||||
ws.remove_unterschriften_synfusion(filename);
|
||||
dt.Rows[0][0] = fh.Base64FromFile(filename);
|
||||
ws = null;
|
||||
}
|
||||
dok.dokument = sfword.Generate_Word(dt.Rows[0][0].ToString(), docdata);
|
||||
Logging.Logging.Debug("Generate_Word", "Ende", dokumentid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user