update 20260412
This commit is contained in:
@@ -1,23 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using edoka_dms;
|
||||
using Database;
|
||||
using DOCGEN.Klassen;
|
||||
using Database;
|
||||
using System.Data;
|
||||
using edoka_dms;
|
||||
using Model;
|
||||
using System.Diagnostics;
|
||||
using NLog;
|
||||
using System.Security.Policy;
|
||||
using OfficePrinter;
|
||||
using Syncfusion.XlsIO.Implementation.PivotAnalysis;
|
||||
using OnDocOffice;
|
||||
using System.Threading;
|
||||
using System.IO;
|
||||
using Syncfusion.XlsIO.Implementation.XmlSerialization;
|
||||
using Syncfusion.DocIO.DLS;
|
||||
using Syncfusion.DocToPDFConverter;
|
||||
using Syncfusion.Pdf;
|
||||
using Syncfusion.Windows.Forms.Chart;
|
||||
using Syncfusion.XlsIO.Implementation.PivotAnalysis;
|
||||
using Syncfusion.XlsIO.Implementation.XmlSerialization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Security.Policy;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOCGEN.Generator
|
||||
{
|
||||
@@ -64,6 +67,21 @@ namespace DOCGEN.Generator
|
||||
|
||||
public clsdok Generate_Doc_EDOKA(string dokumentid, ref clsDocData docdata, bool useoffice = false, int OfficeSleep = 0, bool vbfilemanagement = false, bool editdoc = false, List<clsDocValue> APIValues=null)
|
||||
{
|
||||
|
||||
//using (WordDocument document = new WordDocument(Path.GetFullPath(@"y:\test.docm"), Syncfusion.DocIO.FormatType.Docm))
|
||||
//{
|
||||
// //Instantiation of DocToPDFConverter for Word to PDF conversion
|
||||
// using (DocToPDFConverter converter = new DocToPDFConverter())
|
||||
// {
|
||||
// //Converts Word document into PDF document
|
||||
// using (PdfDocument pdfDocument = converter.ConvertToPDF(document))
|
||||
// {
|
||||
// //Saves the PDF document
|
||||
// pdfDocument.Save(Path.GetFullPath(@"y:\test.pdf"));
|
||||
// }
|
||||
// }
|
||||
// ;
|
||||
//}
|
||||
if (docdata.Bezeichnung.Contains("QDF"))
|
||||
{
|
||||
generate_docdata(dokumentid, ref docdata);
|
||||
|
||||
Reference in New Issue
Block a user