update 20250113
This commit is contained in:
1 parent
1e3c169d49
commit
3e36dd541b
107 files changed
+366
-79
No files matched your search
@@ -279,7 +279,7 @@ namespace DOCGEN.Klassen
|
||||
//}
|
||||
if (docdata.Form_ohne_Unterschrift=="True" || docdata.As_Faksimile == "True")
|
||||
{
|
||||
DB db = new DB();
|
||||
//DB db = new DB();
|
||||
}
|
||||
foreach (clsDocValue dv in docdata.DocValues)
|
||||
{
|
||||
@@ -379,14 +379,17 @@ namespace DOCGEN.Klassen
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dv.TMBeginn.ToString() == "TGEDKAdresseZustellungB99")
|
||||
{
|
||||
if (img_faktura != "")
|
||||
//if (dv.TMBeginn.ToString() == "TGEDKAdresseZustellungB99")
|
||||
if (dv.TMBeginn.ToString() == "TGEDKZustellungB99")
|
||||
{
|
||||
if (img_faktura != "")
|
||||
|
||||
{
|
||||
|
||||
insert_ppfaktura(document, img_faktura);
|
||||
bookmarkNavigator.MoveToBookmark(dv.TMBeginn.ToString());
|
||||
bookmarkNavigator.InsertText(dv.Value.ToString());
|
||||
|
||||
|
||||
//bookmarkNavigator.ReplaceBookmarkContent(dv.Value.ToString(), true);
|
||||
}
|
||||
@@ -714,17 +717,22 @@ namespace DOCGEN.Klassen
|
||||
|
||||
public void insert_ppfaktura(WordDocument document, string ppfakturaimage)
|
||||
{
|
||||
|
||||
BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document);
|
||||
bookmarkNavigator.MoveToBookmark("TGEDKAdresseZustellungB99");
|
||||
//bookmarkNavigator.MoveToBookmark("TGEDKAdresseZustellungB99");
|
||||
bookmarkNavigator.MoveToBookmark("TGEDKZustellungB99");
|
||||
|
||||
string img = ppfakturaimage;
|
||||
byte[] b = Convert.FromBase64String(ppfakturaimage);
|
||||
MemoryStream mssign = new MemoryStream(b);
|
||||
System.Drawing.Image image = System.Drawing.Image.FromStream(mssign);
|
||||
IWParagraph paragraph = new WParagraph(document);
|
||||
paragraph.AppendPicture(image);
|
||||
//paragraph.AppendText(zustellungvalue);
|
||||
bookmarkNavigator.InsertParagraph(paragraph);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private static System.Drawing.Image ResizeImage(System.Drawing.Image imgToResize, Size size)
|
||||
|
||||
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user