update vor Syncfusion-Aktualisierung
This commit is contained in:
1 parent
3d8d977a04
commit
cb21f39e6b
63 files changed
+3660
-196569
No files matched your search
@@ -29,6 +29,7 @@ using System.Buffers.Text;
|
||||
using Syncfusion.XlsIO.Implementation.TemplateMarkers;
|
||||
using System.Drawing.Printing;
|
||||
using Syncfusion.XlsIO;
|
||||
using System.Security.Permissions;
|
||||
|
||||
|
||||
|
||||
@@ -196,7 +197,7 @@ namespace DOCGEN.Klassen
|
||||
if (docdata.PrintLogo == true)
|
||||
{
|
||||
insert_Logo(document, docdata);
|
||||
}
|
||||
}
|
||||
|
||||
//document.UpdateDocumentFields();
|
||||
//document.UpdateAlternateChunks();
|
||||
@@ -676,6 +677,15 @@ namespace DOCGEN.Klassen
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
public bool FindText(string base64, string searchstring)
|
||||
{
|
||||
MemoryStream ms = new MemoryStream(Helper.EncodeExtensions.DecodeBase642ByteArray(base64));
|
||||
WordDocument document = new WordDocument(ms, FormatType.Automatic);
|
||||
TextSelection textSelection = document.Find(searchstring, false, true);
|
||||
document = null;
|
||||
ms = null;
|
||||
if (textSelection != null) { return true; } else return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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