Update 20260426

This commit is contained in:
Stefan Hutter
2026-04-26 09:09:54 +02:00
parent 9629f247f9
commit d3d7b06872
79 changed files with 11391 additions and 146 deletions

View File

@@ -347,7 +347,7 @@ namespace API_NetFramework.Controllers
try try
{ {
guid = Guid.NewGuid().ToString(); // guid = Guid.NewGuid().ToString();
Logging.APIDocLog.Info("CreateDoks Start", "CreateDoks", guid, ""); Logging.APIDocLog.Info("CreateDoks Start", "CreateDoks", guid, "");
bool hasattachment = false; bool hasattachment = false;
if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false) if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
@@ -575,8 +575,8 @@ namespace API_NetFramework.Controllers
{ {
if (dokumennt.DokumentID.Contains("ATT")) if (dokumennt.DokumentID.Contains("ATT"))
{ {
bool rotatepage= System.Configuration.ConfigurationManager.AppSettings["rotatepage"].ToString() == "true";
vsdoc = vs.check_pdf_pages(dokumennt.PDFDoc); vsdoc = vs.check_pdf_pages(dokumennt.PDFDoc,rotatepage);
} }
else else
{ {
@@ -757,7 +757,7 @@ namespace API_NetFramework.Controllers
string mailbody = ""; string mailbody = "";
try try
{ {
string guid = Guid.NewGuid().ToString(); //guid = Guid.NewGuid().ToString();
Logging.APIDocLog.Info("Start CreateDoc", "CreateDoc", guid, ""); Logging.APIDocLog.Info("Start CreateDoc", "CreateDoc", guid, "");
if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false) if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
{ {
@@ -1148,13 +1148,40 @@ namespace API_NetFramework.Controllers
switch (vergleichsart) switch (vergleichsart)
{ {
case "=": case "=":
if (fieldvalue == vergleichswert) { returnvalue = updatestring(returnwert, fieldvalue); return true; } else { return true; } if (fieldvalue == vergleichswert)
{
if (returnwert.Substring(0, 2) == "$.")
{
returnwert = get_item_value(returnwert, ref clmdocitemlist);
}
returnvalue = updatestring(returnwert, fieldvalue); return true;
} else
{
return true;
}
break; break;
case "!=": case "!=":
if (fieldvalue != vergleichswert) { returnvalue = updatestring(returnwert, fieldvalue); return true; } if (fieldvalue != vergleichswert)
{
if (returnwert.Substring(0, 2) == "$.")
{
returnwert = get_item_value(returnwert, ref clmdocitemlist);
}
returnvalue = updatestring(returnwert, fieldvalue);
return true;
}
break; break;
case "contains": case "contains":
if (fieldvalue.Contains(vergleichswert)) { returnvalue = updatestring(returnwert, fieldvalue); return true; } if (fieldvalue.Contains(vergleichswert))
{
if (returnwert.Substring(0, 2) == "$.")
{
returnwert = get_item_value(returnwert, ref clmdocitemlist);
}
returnvalue = updatestring(returnwert, fieldvalue);
return true;
}
break; break;
default: default:
@@ -1206,6 +1233,7 @@ namespace API_NetFramework.Controllers
string[] parameters = rule.Split('|'); string[] parameters = rule.Split('|');
return parameters[1].Replace("'", ""); return parameters[1].Replace("'", "");
} }
return inputvalue; return inputvalue;
@@ -1247,7 +1275,7 @@ namespace API_NetFramework.Controllers
dynamic dataj = null; dynamic dataj = null;
try try
{ {
string guid = Guid.NewGuid().ToString(); //guid = Guid.NewGuid().ToString();
Logging.APIDocLog.Info("Start CreateCLM", "CreateESS", guid, ""); Logging.APIDocLog.Info("Start CreateCLM", "CreateESS", guid, "");
if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false) if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
{ {
@@ -1318,7 +1346,10 @@ namespace API_NetFramework.Controllers
foreach (DataRow dr in db.dsdaten.Tables[0].Rows) foreach (DataRow dr in db.dsdaten.Tables[0].Rows)
{ {
CLMDocItem d = new CLMDocItem(); CLMDocItem d = new CLMDocItem();
if (dr["feldname"].ToString() == "ZGaga")
{
int a = 1;
}
d.itemname = ""; d.itemname = "";
d.itemtag = ""; d.itemtag = "";
@@ -1778,8 +1809,41 @@ namespace API_NetFramework.Controllers
break; break;
case "profil": case "profil":
db.Get_Tabledata("SELECT isnull(dbo.profil.team,0) as team FROM dbo.mitarbeiter INNER JOIN dbo.profil ON dbo.mitarbeiter.mitarbeiternr = dbo.profil.mitarbeiternr WHERE (dbo.mitarbeiter.aktiv=1 and dbo.profil.aktiv=1 and dbo.profil.standard=1 and dbo.mitarbeiter.tgnummer = '" + ParamValue + "')", false, true); db.Get_Tabledata("SELECT isnull(dbo.profil.team,0) as team FROM dbo.mitarbeiter INNER JOIN dbo.profil ON dbo.mitarbeiter.mitarbeiternr = dbo.profil.mitarbeiternr WHERE (dbo.mitarbeiter.aktiv=1 and dbo.profil.aktiv=1 and dbo.profil.standard=1 and dbo.mitarbeiter.tgnummer = '" + ParamValue + "')", false, true);
if (db.dsdaten.Tables[0].Rows.Count == 0) { return false; } bool result = true;
if (db.dsdaten.Tables[0].Rows[0][0].ToString() == "0") { return false; } if (db.dsdaten.Tables[0].Rows.Count == 0) { result= false; }
if (db.dsdaten.Tables[0].Rows[0][0].ToString() == "0") { result = false; }
try
{
if (result == false)
{
if (System.Configuration.ConfigurationManager.AppSettings["UpdateProfilTeam_when_na"].ToString() == "true")
{
db.clear_parameter();
db.add_parameter("@tgnummer", ParamValue);
db.Get_Tabledata("ondoc_sp_update_profilteam", true, false);
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) == 1)
{
mailInhalt m0 = new mailInhalt();
m0.typ = 3;
m0.subject = "ONDOC- Team automtatisch zugewiesen ";
m0.message = "Team automatisch zugewiesen: TG:" + ParamValue+ ":<br>" + db.dsdaten.Tables[0].Rows[0][1].ToString() + "<br>";
m0.guid = guid;
m0.dokumentid = "";
m0.empfaenger = "";
m0.bezeichnung = "";
m0.partnernr = "";
m0.sendmail = true;
m0.forceadminmail = true;
m0.Herkunftsapplikation = "OnDoc-API";
Send_Confirmation(ref m0);
m0 = null;
result = true;
}
}
}
}
catch { }
return result;
break; break;
default: default:
return false; return false;
@@ -2513,6 +2577,7 @@ namespace API_NetFramework.Controllers
{ {
result = inhalt; result = inhalt;
string[] inhalte = inhalt.Split(' '); string[] inhalte = inhalt.Split(' ');
//result = "";
foreach (string s in inhalte) foreach (string s in inhalte)
{ {
if (s.Contains("$")) if (s.Contains("$"))
@@ -2536,6 +2601,7 @@ namespace API_NetFramework.Controllers
result = result.Replace("$.", ""); result = result.Replace("$.", "");
} }
if (result == inhalt.Replace("$.","")) { result = ""; }
return result; return result;
} }
catch catch
@@ -2771,7 +2837,7 @@ namespace API_NetFramework.Controllers
body = body + "Meldung: &ensp;" + inhalt.message + "<br>"; body = body + "Meldung: &ensp;" + inhalt.message + "<br>";
body = body + "Dokument: &ensp;" + inhalt.bezeichnung + "<br>"; body = body + "Dokument: &ensp;" + inhalt.bezeichnung + "<br>";
body = body + "Dok-ID: &ensp;" + inhalt.dokumentid + "<br>"; body = body + "Dok-ID: &ensp;" + inhalt.dokumentid + "<br>";
body = body + "Parnter: &ensp;" + inhalt.partnernr + "<br>"; body = body + "Partner: &ensp;" + inhalt.partnernr + "<br>";
body = body + "GUID: &ensp;" + inhalt.guid + "<br>"; body = body + "GUID: &ensp;" + inhalt.guid + "<br>";
body = body + "Herkunfts-Appl:&ensp;" + inhalt.Herkunftsapplikation; body = body + "Herkunfts-Appl:&ensp;" + inhalt.Herkunftsapplikation;
@@ -2782,12 +2848,12 @@ namespace API_NetFramework.Controllers
body = body + "Meldung: &ensp;" + inhalt.message + "<br>"; body = body + "Meldung: &ensp;" + inhalt.message + "<br>";
body = body + "Dokument: &ensp;" + inhalt.bezeichnung + "<br>"; body = body + "Dokument: &ensp;" + inhalt.bezeichnung + "<br>";
body = body + "Dok-ID: &ensp;" + inhalt.dokumentid + "<br>"; body = body + "Dok-ID: &ensp;" + inhalt.dokumentid + "<br>";
body = body + "Parnter: &ensp;" + inhalt.partnernr + "<br>"; body = body + "Partner: &ensp;" + inhalt.partnernr + "<br>";
body = body + "GUID: &ensp;" + inhalt.guid + "<br>"; body = body + "GUID: &ensp;" + inhalt.guid + "<br>";
body = body + "Herkunfts-Appl:&ensp;" + inhalt.Herkunftsapplikation; body = body + "Herkunfts-Appl:&ensp;" + inhalt.Herkunftsapplikation;
} }
mail.Body = body + "<br><br><br>------------------------------------------------------------------------------------------------<br>OnDoc"; mail.Body = body + "<br><br><br>------------------------------------------------------------------------------------------------<br>OnDoc";
SmtpServer.Host = "smtp.tgcorp.ch"; SmtpServer.Host = "smtp.tgcorp.ch";
SmtpServer.Port = 25; SmtpServer.Port = 25;

View File

@@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<_PublishTargetUrl>E:\Software-Projekte\OnDoc\PubServices\OnDoc</_PublishTargetUrl> <_PublishTargetUrl>E:\Software-Projekte\OnDoc\PubServices\OnDoc</_PublishTargetUrl>
<History>True|2026-04-20T07:19:29.7327180Z||;True|2026-04-17T12:53:09.6866425+02:00||;True|2026-04-17T12:36:00.7292052+02:00||;True|2026-04-17T10:14:43.2460807+02:00||;True|2026-04-16T09:52:35.3555487+02:00||;True|2026-04-16T09:48:12.9673890+02:00||;True|2026-04-16T09:36:25.4647803+02:00||;True|2026-04-16T09:18:23.6715906+02:00||;True|2026-04-15T12:41:42.7039426+02:00||;True|2026-04-15T09:35:17.1390603+02:00||;True|2026-04-13T12:15:21.5302680+02:00||;True|2026-04-12T08:08:44.1463714+02:00||;True|2026-04-07T10:22:57.7224308+02:00||;True|2026-04-07T09:20:01.6630821+02:00||;True|2026-04-06T08:17:37.5337584+02:00||;True|2026-04-05T08:53:42.1753435+02:00||;True|2026-04-02T17:43:40.0268875+02:00||;True|2026-03-31T12:35:33.9827919+02:00||;True|2026-03-31T12:29:13.8708772+02:00||;True|2026-03-31T12:18:19.9872382+02:00||;True|2026-03-31T10:39:08.0352645+02:00||;True|2026-03-31T10:37:10.5663757+02:00||;True|2026-03-31T10:24:06.1437798+02:00||;True|2026-03-29T18:46:00.5859706+02:00||;True|2026-03-29T17:43:36.5421725+02:00||;True|2026-03-28T11:22:17.8973116+01:00||;True|2026-03-27T16:18:48.9978212+01:00||;True|2026-03-27T07:14:41.6874122+01:00||;True|2026-03-26T15:26:02.2751561+01:00||;True|2026-03-25T21:25:11.0646560+01:00||;True|2026-03-25T17:13:28.1157629+01:00||;True|2026-03-25T17:05:35.8912458+01:00||;True|2026-03-25T17:00:55.0064754+01:00||;True|2026-03-24T14:39:42.8828134+01:00||;True|2026-03-23T15:07:18.4892650+01:00||;True|2026-03-23T10:20:19.1623589+01:00||;True|2026-03-22T13:25:52.6279375+01:00||;True|2026-03-20T07:24:37.8861696+01:00||;True|2026-03-19T21:38:10.9526034+01:00||;True|2026-03-18T17:41:36.3493613+01:00||;True|2026-03-18T14:58:36.6641588+01:00||;True|2026-03-18T13:36:39.6754082+01:00||;True|2026-03-18T13:28:13.3767791+01:00||;True|2026-03-18T12:39:58.8696214+01:00||;True|2026-03-18T10:12:19.4421254+01:00||;True|2026-03-18T09:23:32.7324650+01:00||;True|2026-03-18T08:30:31.0127326+01:00||;True|2026-03-17T16:29:03.7106180+01:00||;True|2026-03-17T16:11:10.6005495+01:00||;True|2026-03-17T15:59:13.2348406+01:00||;True|2026-03-17T15:31:12.0317447+01:00||;True|2026-03-17T14:48:40.3877203+01:00||;True|2026-03-17T14:11:25.3562261+01:00||;True|2026-03-17T13:47:11.1326741+01:00||;True|2026-03-16T15:31:10.2555705+01:00||;True|2026-03-16T14:12:19.6773991+01:00||;True|2026-03-16T13:55:53.2937690+01:00||;True|2026-03-16T13:49:40.9223505+01:00||;True|2026-03-16T13:45:46.5476155+01:00||;True|2026-03-16T10:05:17.8849739+01:00||;True|2026-03-16T09:50:03.0002779+01:00||;True|2026-03-15T17:59:21.9961152+01:00||;True|2026-03-15T17:55:23.9254472+01:00||;False|2026-03-15T17:55:17.4934783+01:00||;True|2026-03-15T17:30:56.4581787+01:00||;True|2026-03-15T17:27:23.6999475+01:00||;True|2026-03-15T17:06:43.4082140+01:00||;True|2026-03-15T16:47:00.3514115+01:00||;True|2026-03-15T15:08:09.6821523+01:00||;True|2026-03-12T16:06:53.7395894+01:00||;True|2026-03-11T18:52:45.1428118+01:00||;True|2026-03-11T18:28:35.8258686+01:00||;True|2026-03-11T18:28:14.0116992+01:00||;True|2026-03-11T18:19:41.2917598+01:00||;True|2026-03-11T18:16:14.3982080+01:00||;True|2026-03-11T17:58:30.8611742+01:00||;True|2026-03-09T15:02:39.2942135+01:00||;True|2026-03-09T13:40:46.3543575+01:00||;True|2026-03-09T10:31:33.7382200+01:00||;True|2026-03-08T08:13:35.2118387+01:00||;True|2026-03-07T21:30:15.7021682+01:00||;True|2026-03-07T16:04:27.6676302+01:00||;True|2026-03-03T07:42:58.6695248+01:00||;True|2026-03-02T18:56:44.9083635+01:00||;True|2026-03-02T15:22:04.7632771+01:00||;True|2026-03-02T15:17:19.5888051+01:00||;True|2026-03-02T14:44:15.1850254+01:00||;False|2026-03-02T14:43:43.8750165+01:00||;True|2026-03-02T13:00:06.4813259+01:00||;True|2026-03-02T09:00:14.6639978+01:00||;True|2026-02-26T14:00:46.9137562+01:00||;True|2026-02-26T10:52:44.7996454+01:00||;True|2026-02-26T10:20:38.9297393+01:00||;True|2026-02-26T08:17:22.1709972+01:00||;True|2026-02-26T08:01:54.5490566+01:00||;True|2026-02-26T07:56:47.9173498+01:00||;True|2026-02-26T05:50:34.4180646+01:00||;True|2026-02-25T16:00:31.8051644+01:00||;True|2026-02-25T15:40:22.6200444+01:00||;True|2026-02-25T15:32:39.6209326+01:00||;</History> <History>True|2026-04-26T05:46:17.4664888Z||;True|2026-04-24T06:24:40.7783022+02:00||;True|2026-04-23T11:21:20.3704464+02:00||;True|2026-04-23T10:31:57.1547227+02:00||;True|2026-04-23T09:53:44.7739372+02:00||;True|2026-04-23T09:53:32.6495578+02:00||;True|2026-04-23T09:47:39.5698157+02:00||;True|2026-04-21T18:33:32.1288240+02:00||;True|2026-04-21T12:42:16.0067525+02:00||;True|2026-04-20T09:19:29.7327180+02:00||;True|2026-04-17T12:53:09.6866425+02:00||;True|2026-04-17T12:36:00.7292052+02:00||;True|2026-04-17T10:14:43.2460807+02:00||;True|2026-04-16T09:52:35.3555487+02:00||;True|2026-04-16T09:48:12.9673890+02:00||;True|2026-04-16T09:36:25.4647803+02:00||;True|2026-04-16T09:18:23.6715906+02:00||;True|2026-04-15T12:41:42.7039426+02:00||;True|2026-04-15T09:35:17.1390603+02:00||;True|2026-04-13T12:15:21.5302680+02:00||;True|2026-04-12T08:08:44.1463714+02:00||;True|2026-04-07T10:22:57.7224308+02:00||;True|2026-04-07T09:20:01.6630821+02:00||;True|2026-04-06T08:17:37.5337584+02:00||;True|2026-04-05T08:53:42.1753435+02:00||;True|2026-04-02T17:43:40.0268875+02:00||;True|2026-03-31T12:35:33.9827919+02:00||;True|2026-03-31T12:29:13.8708772+02:00||;True|2026-03-31T12:18:19.9872382+02:00||;True|2026-03-31T10:39:08.0352645+02:00||;True|2026-03-31T10:37:10.5663757+02:00||;True|2026-03-31T10:24:06.1437798+02:00||;True|2026-03-29T18:46:00.5859706+02:00||;True|2026-03-29T17:43:36.5421725+02:00||;True|2026-03-28T11:22:17.8973116+01:00||;True|2026-03-27T16:18:48.9978212+01:00||;True|2026-03-27T07:14:41.6874122+01:00||;True|2026-03-26T15:26:02.2751561+01:00||;True|2026-03-25T21:25:11.0646560+01:00||;True|2026-03-25T17:13:28.1157629+01:00||;True|2026-03-25T17:05:35.8912458+01:00||;True|2026-03-25T17:00:55.0064754+01:00||;True|2026-03-24T14:39:42.8828134+01:00||;True|2026-03-23T15:07:18.4892650+01:00||;True|2026-03-23T10:20:19.1623589+01:00||;True|2026-03-22T13:25:52.6279375+01:00||;True|2026-03-20T07:24:37.8861696+01:00||;True|2026-03-19T21:38:10.9526034+01:00||;True|2026-03-18T17:41:36.3493613+01:00||;True|2026-03-18T14:58:36.6641588+01:00||;True|2026-03-18T13:36:39.6754082+01:00||;True|2026-03-18T13:28:13.3767791+01:00||;True|2026-03-18T12:39:58.8696214+01:00||;True|2026-03-18T10:12:19.4421254+01:00||;True|2026-03-18T09:23:32.7324650+01:00||;True|2026-03-18T08:30:31.0127326+01:00||;True|2026-03-17T16:29:03.7106180+01:00||;True|2026-03-17T16:11:10.6005495+01:00||;True|2026-03-17T15:59:13.2348406+01:00||;True|2026-03-17T15:31:12.0317447+01:00||;True|2026-03-17T14:48:40.3877203+01:00||;True|2026-03-17T14:11:25.3562261+01:00||;True|2026-03-17T13:47:11.1326741+01:00||;True|2026-03-16T15:31:10.2555705+01:00||;True|2026-03-16T14:12:19.6773991+01:00||;True|2026-03-16T13:55:53.2937690+01:00||;True|2026-03-16T13:49:40.9223505+01:00||;True|2026-03-16T13:45:46.5476155+01:00||;True|2026-03-16T10:05:17.8849739+01:00||;True|2026-03-16T09:50:03.0002779+01:00||;True|2026-03-15T17:59:21.9961152+01:00||;True|2026-03-15T17:55:23.9254472+01:00||;False|2026-03-15T17:55:17.4934783+01:00||;True|2026-03-15T17:30:56.4581787+01:00||;True|2026-03-15T17:27:23.6999475+01:00||;True|2026-03-15T17:06:43.4082140+01:00||;True|2026-03-15T16:47:00.3514115+01:00||;True|2026-03-15T15:08:09.6821523+01:00||;True|2026-03-12T16:06:53.7395894+01:00||;True|2026-03-11T18:52:45.1428118+01:00||;True|2026-03-11T18:28:35.8258686+01:00||;True|2026-03-11T18:28:14.0116992+01:00||;True|2026-03-11T18:19:41.2917598+01:00||;True|2026-03-11T18:16:14.3982080+01:00||;True|2026-03-11T17:58:30.8611742+01:00||;True|2026-03-09T15:02:39.2942135+01:00||;True|2026-03-09T13:40:46.3543575+01:00||;True|2026-03-09T10:31:33.7382200+01:00||;True|2026-03-08T08:13:35.2118387+01:00||;True|2026-03-07T21:30:15.7021682+01:00||;True|2026-03-07T16:04:27.6676302+01:00||;True|2026-03-03T07:42:58.6695248+01:00||;True|2026-03-02T18:56:44.9083635+01:00||;True|2026-03-02T15:22:04.7632771+01:00||;True|2026-03-02T15:17:19.5888051+01:00||;True|2026-03-02T14:44:15.1850254+01:00||;False|2026-03-02T14:43:43.8750165+01:00||;True|2026-03-02T13:00:06.4813259+01:00||;True|2026-03-02T09:00:14.6639978+01:00||;True|2026-02-26T14:00:46.9137562+01:00||;</History>
<LastFailureDetails /> <LastFailureDetails />
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@@ -88,10 +88,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>06/02/2026 17:20:00</publishTime> <publishTime>06/02/2026 17:20:00</publishTime>
</File> </File>
<File Include="bin/BarcodeLib.dll"> <File Include="bin/BarcodeLib.dll">
<publishTime>04/20/2026 09:05:17</publishTime> <publishTime>04/23/2026 10:30:52</publishTime>
</File> </File>
<File Include="bin/BarcodeLib.pdb"> <File Include="bin/BarcodeLib.pdb">
<publishTime>04/20/2026 09:05:17</publishTime> <publishTime>04/23/2026 10:30:52</publishTime>
</File> </File>
<File Include="bin/CSVNET.dll"> <File Include="bin/CSVNET.dll">
<publishTime>02/03/2026 12:58:54</publishTime> <publishTime>02/03/2026 12:58:54</publishTime>
@@ -100,13 +100,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>02/03/2026 12:58:54</publishTime> <publishTime>02/03/2026 12:58:54</publishTime>
</File> </File>
<File Include="bin/Database.dll"> <File Include="bin/Database.dll">
<publishTime>04/17/2026 10:09:57</publishTime> <publishTime>04/23/2026 09:53:22</publishTime>
</File> </File>
<File Include="bin/Database.dll.config"> <File Include="bin/Database.dll.config">
<publishTime>09/18/2025 08:15:15</publishTime> <publishTime>09/18/2025 08:15:15</publishTime>
</File> </File>
<File Include="bin/Database.pdb"> <File Include="bin/Database.pdb">
<publishTime>04/17/2026 10:09:57</publishTime> <publishTime>04/23/2026 09:53:22</publishTime>
</File> </File>
<File Include="bin/DataMatrix.net.dll"> <File Include="bin/DataMatrix.net.dll">
<publishTime>02/03/2026 12:58:54</publishTime> <publishTime>02/03/2026 12:58:54</publishTime>
@@ -145,13 +145,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>10/20/2023 22:35:04</publishTime> <publishTime>10/20/2023 22:35:04</publishTime>
</File> </File>
<File Include="bin/DOCGEN.dll"> <File Include="bin/DOCGEN.dll">
<publishTime>04/20/2026 09:30:30</publishTime> <publishTime>04/26/2026 07:46:15</publishTime>
</File> </File>
<File Include="bin/DOCGEN.dll.config"> <File Include="bin/DOCGEN.dll.config">
<publishTime>03/11/2026 15:59:42</publishTime> <publishTime>03/11/2026 15:59:42</publishTime>
</File> </File>
<File Include="bin/DOCGEN.pdb"> <File Include="bin/DOCGEN.pdb">
<publishTime>04/20/2026 09:30:30</publishTime> <publishTime>04/26/2026 07:46:15</publishTime>
</File> </File>
<File Include="bin/FastReport.Bars.dll"> <File Include="bin/FastReport.Bars.dll">
<publishTime>11/27/2023 09:49:58</publishTime> <publishTime>11/27/2023 09:49:58</publishTime>
@@ -268,16 +268,16 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>02/03/2026 12:58:53</publishTime> <publishTime>02/03/2026 12:58:53</publishTime>
</File> </File>
<File Include="bin/OnDocOffice.dll"> <File Include="bin/OnDocOffice.dll">
<publishTime>04/20/2026 09:30:30</publishTime> <publishTime>04/26/2026 07:46:15</publishTime>
</File> </File>
<File Include="bin/OnDocOffice.pdb"> <File Include="bin/OnDocOffice.pdb">
<publishTime>04/20/2026 09:30:30</publishTime> <publishTime>04/26/2026 07:46:15</publishTime>
</File> </File>
<File Include="bin/OnDoc_NetFramework.dll"> <File Include="bin/OnDoc_NetFramework.dll">
<publishTime>04/20/2026 09:30:30</publishTime> <publishTime>04/26/2026 07:46:16</publishTime>
</File> </File>
<File Include="bin/OnDoc_NetFramework.pdb"> <File Include="bin/OnDoc_NetFramework.pdb">
<publishTime>04/20/2026 09:30:30</publishTime> <publishTime>04/26/2026 07:46:16</publishTime>
</File> </File>
<File Include="bin/Owin.dll"> <File Include="bin/Owin.dll">
<publishTime>11/13/2012 13:19:34</publishTime> <publishTime>11/13/2012 13:19:34</publishTime>
@@ -496,10 +496,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>03/31/2026 10:28:22</publishTime> <publishTime>03/31/2026 10:28:22</publishTime>
</File> </File>
<File Include="bin/Versandstrasse.dll"> <File Include="bin/Versandstrasse.dll">
<publishTime>04/20/2026 09:30:29</publishTime> <publishTime>04/26/2026 07:46:15</publishTime>
</File> </File>
<File Include="bin/Versandstrasse.pdb"> <File Include="bin/Versandstrasse.pdb">
<publishTime>04/20/2026 09:30:29</publishTime> <publishTime>04/26/2026 07:46:15</publishTime>
</File> </File>
<File Include="bin/WebActivatorEx.dll"> <File Include="bin/WebActivatorEx.dll">
<publishTime>05/10/2016 15:11:52</publishTime> <publishTime>05/10/2016 15:11:52</publishTime>
@@ -715,7 +715,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>03/06/2024 08:11:55</publishTime> <publishTime>03/06/2024 08:11:55</publishTime>
</File> </File>
<File Include="Web.config"> <File Include="Web.config">
<publishTime>04/16/2026 09:18:22</publishTime> <publishTime>04/24/2026 06:24:39</publishTime>
</File> </File>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -49,6 +49,8 @@
<add key="DecTestConnString" /> <add key="DecTestConnString" />
<add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" /> <add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" />
<add key="clmwordsave" value="d:\temp\"/> <add key="clmwordsave" value="d:\temp\"/>
<add key="rotatepage" value="true"/>
<add key="UpdateProfilTeam_when_na" value="true"/>
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -49,6 +49,8 @@
<add key="DecTestConnString" /> <add key="DecTestConnString" />
<add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" /> <add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" />
<add key="clmwordsave" value="d:\temp\"/> <add key="clmwordsave" value="d:\temp\"/>
<add key="rotatepage" value="true"/>
<add key="UpdateProfilTeam_when_na" value="true"/>
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>

File diff suppressed because it is too large Load Diff

View File

@@ -49,6 +49,8 @@
<add key="DecTestConnString" /> <add key="DecTestConnString" />
<add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" /> <add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" />
<add key="clmwordsave" value="d:\temp\" /> <add key="clmwordsave" value="d:\temp\" />
<add key="rotatepage" value="true" />
<add key="UpdateProfilTeam_when_na" value="true" />
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" /> <add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />

View File

@@ -49,6 +49,8 @@
<add key="DecTestConnString" /> <add key="DecTestConnString" />
<add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" /> <add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" />
<add key="clmwordsave" value="d:\temp\"/> <add key="clmwordsave" value="d:\temp\"/>
<add key="rotatepage" value="true"/>
<add key="UpdateProfilTeam_when_na" value="true"/>
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>

View File

@@ -49,6 +49,8 @@
<add key="DecTestConnString" /> <add key="DecTestConnString" />
<add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" /> <add key="OwnToken" value="pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=" />
<add key="clmwordsave" value="d:\temp\" /> <add key="clmwordsave" value="d:\temp\" />
<add key="rotatepage" value="true" />
<add key="UpdateProfilTeam_when_na" value="true" />
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" /> <add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />

Binary file not shown.

Binary file not shown.

View File

@@ -97,7 +97,9 @@ namespace OnDoc.Diverses
db = null; db = null;
} }
private void refresh_unterschriften_team() private void
refresh_unterschriften_team()
{ {
DB db = new DB(AppParams.connectionstring); DB db = new DB(AppParams.connectionstring);
db.clear_parameter(); db.clear_parameter();

View File

@@ -65,7 +65,7 @@
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(472, 26); this.label2.Size = new System.Drawing.Size(472, 26);
this.label2.TabIndex = 2; this.label2.TabIndex = 2;
this.label2.Text = "14. April 2026"; this.label2.Text = "26. April 2026";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label2.Click += new System.EventHandler(this.label2_Click); this.label2.Click += new System.EventHandler(this.label2_Click);
// //

View File

@@ -30,15 +30,15 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Versandstrasse)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Versandstrasse));
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings1 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings(); Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings7 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings1 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings(); Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings7 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings1 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings(); Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings7 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo(); Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings2 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings2 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings2 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo(); Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings8 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings8 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings8 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo4 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.löschenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.löschenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.externesPDFHinzufügenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.externesPDFHinzufügenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -242,17 +242,17 @@
this.pdfViewerControl1.IsTextSearchEnabled = false; this.pdfViewerControl1.IsTextSearchEnabled = false;
this.pdfViewerControl1.IsTextSelectionEnabled = false; this.pdfViewerControl1.IsTextSelectionEnabled = false;
this.pdfViewerControl1.Location = new System.Drawing.Point(908, 54); this.pdfViewerControl1.Location = new System.Drawing.Point(908, 54);
messageBoxSettings1.EnableNotification = true; messageBoxSettings7.EnableNotification = true;
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings1; this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings7;
this.pdfViewerControl1.MinimumZoomPercentage = 50; this.pdfViewerControl1.MinimumZoomPercentage = 50;
this.pdfViewerControl1.Name = "pdfViewerControl1"; this.pdfViewerControl1.Name = "pdfViewerControl1";
this.pdfViewerControl1.PageBorderThickness = 1; this.pdfViewerControl1.PageBorderThickness = 1;
pdfViewerPrinterSettings1.Copies = 1; pdfViewerPrinterSettings7.Copies = 1;
pdfViewerPrinterSettings1.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto; pdfViewerPrinterSettings7.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings1.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize; pdfViewerPrinterSettings7.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings1.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings1.PrintLocation"))); pdfViewerPrinterSettings7.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings7.PrintLocation")));
pdfViewerPrinterSettings1.ShowPrintStatusDialog = true; pdfViewerPrinterSettings7.ShowPrintStatusDialog = true;
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings1; this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings7;
this.pdfViewerControl1.ReferencePath = null; this.pdfViewerControl1.ReferencePath = null;
this.pdfViewerControl1.ScrollDisplacementValue = 0; this.pdfViewerControl1.ScrollDisplacementValue = 0;
this.pdfViewerControl1.ShowHorizontalScrollBar = true; this.pdfViewerControl1.ShowHorizontalScrollBar = true;
@@ -262,10 +262,10 @@
this.pdfViewerControl1.SpaceBetweenPages = 8; this.pdfViewerControl1.SpaceBetweenPages = 8;
this.pdfViewerControl1.TabIndex = 10; this.pdfViewerControl1.TabIndex = 10;
this.pdfViewerControl1.Text = "pdfViewerControl1"; this.pdfViewerControl1.Text = "pdfViewerControl1";
textSearchSettings1.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64))))); textSearchSettings7.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings1.HighlightAllInstance = true; textSearchSettings7.HighlightAllInstance = true;
textSearchSettings1.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); textSearchSettings7.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl1.TextSearchSettings = textSearchSettings1; this.pdfViewerControl1.TextSearchSettings = textSearchSettings7;
this.pdfViewerControl1.ThemeName = "Default"; this.pdfViewerControl1.ThemeName = "Default";
this.pdfViewerControl1.VerticalScrollOffset = 0; this.pdfViewerControl1.VerticalScrollOffset = 0;
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default; this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
@@ -379,15 +379,15 @@
// treeViewAdvAdresse // treeViewAdvAdresse
// //
this.treeViewAdvAdresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window); this.treeViewAdvAdresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black; treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black;
this.treeViewAdvAdresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.treeViewAdvAdresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)});
// //
// //
// //
@@ -816,16 +816,16 @@
this.treeViewAdv1.AllowDrop = true; this.treeViewAdv1.AllowDrop = true;
this.treeViewAdv1.BackColor = System.Drawing.Color.White; this.treeViewAdv1.BackColor = System.Drawing.Color.White;
this.treeViewAdv1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.treeViewAdv1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo3.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo3.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo3.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); treeNodeAdvStyleInfo3.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo3.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo3.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo3.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); treeNodeAdvStyleInfo3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
this.treeViewAdv1.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.treeViewAdv1.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo3)});
this.treeViewAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat;
this.treeViewAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdv1.ContextMenuStrip = this.contextMenuStrip1; this.treeViewAdv1.ContextMenuStrip = this.contextMenuStrip1;
@@ -835,10 +835,8 @@
// //
// //
// //
this.treeViewAdv1.HelpTextControl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.treeViewAdv1.HelpTextControl.BaseThemeName = null; this.treeViewAdv1.HelpTextControl.BaseThemeName = null;
this.treeViewAdv1.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdv1.HelpTextControl.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
this.treeViewAdv1.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdv1.HelpTextControl.Location = new System.Drawing.Point(732, 0);
this.treeViewAdv1.HelpTextControl.Name = "helpText"; this.treeViewAdv1.HelpTextControl.Name = "helpText";
this.treeViewAdv1.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdv1.HelpTextControl.Size = new System.Drawing.Size(49, 15);
@@ -901,17 +899,17 @@
this.pdfViewerControl2.IsTextSearchEnabled = true; this.pdfViewerControl2.IsTextSearchEnabled = true;
this.pdfViewerControl2.IsTextSelectionEnabled = true; this.pdfViewerControl2.IsTextSelectionEnabled = true;
this.pdfViewerControl2.Location = new System.Drawing.Point(482, 0); this.pdfViewerControl2.Location = new System.Drawing.Point(482, 0);
messageBoxSettings2.EnableNotification = true; messageBoxSettings8.EnableNotification = true;
this.pdfViewerControl2.MessageBoxSettings = messageBoxSettings2; this.pdfViewerControl2.MessageBoxSettings = messageBoxSettings8;
this.pdfViewerControl2.MinimumZoomPercentage = 50; this.pdfViewerControl2.MinimumZoomPercentage = 50;
this.pdfViewerControl2.Name = "pdfViewerControl2"; this.pdfViewerControl2.Name = "pdfViewerControl2";
this.pdfViewerControl2.PageBorderThickness = 1; this.pdfViewerControl2.PageBorderThickness = 1;
pdfViewerPrinterSettings2.Copies = 1; pdfViewerPrinterSettings8.Copies = 1;
pdfViewerPrinterSettings2.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto; pdfViewerPrinterSettings8.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings2.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize; pdfViewerPrinterSettings8.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings2.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings2.PrintLocation"))); pdfViewerPrinterSettings8.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings8.PrintLocation")));
pdfViewerPrinterSettings2.ShowPrintStatusDialog = true; pdfViewerPrinterSettings8.ShowPrintStatusDialog = true;
this.pdfViewerControl2.PrinterSettings = pdfViewerPrinterSettings2; this.pdfViewerControl2.PrinterSettings = pdfViewerPrinterSettings8;
this.pdfViewerControl2.ReferencePath = null; this.pdfViewerControl2.ReferencePath = null;
this.pdfViewerControl2.ScrollDisplacementValue = 0; this.pdfViewerControl2.ScrollDisplacementValue = 0;
this.pdfViewerControl2.ShowHorizontalScrollBar = true; this.pdfViewerControl2.ShowHorizontalScrollBar = true;
@@ -921,10 +919,10 @@
this.pdfViewerControl2.SpaceBetweenPages = 8; this.pdfViewerControl2.SpaceBetweenPages = 8;
this.pdfViewerControl2.TabIndex = 11; this.pdfViewerControl2.TabIndex = 11;
this.pdfViewerControl2.Text = "pdfViewerControl2"; this.pdfViewerControl2.Text = "pdfViewerControl2";
textSearchSettings2.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64))))); textSearchSettings8.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings2.HighlightAllInstance = true; textSearchSettings8.HighlightAllInstance = true;
textSearchSettings2.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); textSearchSettings8.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl2.TextSearchSettings = textSearchSettings2; this.pdfViewerControl2.TextSearchSettings = textSearchSettings8;
this.pdfViewerControl2.ThemeName = "Default"; this.pdfViewerControl2.ThemeName = "Default";
this.pdfViewerControl2.VerticalScrollOffset = 0; this.pdfViewerControl2.VerticalScrollOffset = 0;
this.pdfViewerControl2.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default; this.pdfViewerControl2.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
@@ -1048,16 +1046,16 @@
this.treeViewAdvCouverts.AllowMouseBasedSelection = true; this.treeViewAdvCouverts.AllowMouseBasedSelection = true;
this.treeViewAdvCouverts.BackColor = System.Drawing.Color.White; this.treeViewAdvCouverts.BackColor = System.Drawing.Color.White;
this.treeViewAdvCouverts.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.treeViewAdvCouverts.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
treeNodeAdvStyleInfo3.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo4.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo3.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo4.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo4.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo3.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); treeNodeAdvStyleInfo4.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
treeNodeAdvStyleInfo3.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo4.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo4.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo4.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); treeNodeAdvStyleInfo4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
this.treeViewAdvCouverts.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.treeViewAdvCouverts.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo3)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo4)});
this.treeViewAdvCouverts.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdvCouverts.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat;
this.treeViewAdvCouverts.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdvCouverts.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdvCouverts.ContextMenuStrip = this.contextMenuStrip2; this.treeViewAdvCouverts.ContextMenuStrip = this.contextMenuStrip2;
@@ -1067,10 +1065,8 @@
// //
// //
// //
this.treeViewAdvCouverts.HelpTextControl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.treeViewAdvCouverts.HelpTextControl.BaseThemeName = null; this.treeViewAdvCouverts.HelpTextControl.BaseThemeName = null;
this.treeViewAdvCouverts.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdvCouverts.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdvCouverts.HelpTextControl.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
this.treeViewAdvCouverts.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdvCouverts.HelpTextControl.Location = new System.Drawing.Point(732, 0);
this.treeViewAdvCouverts.HelpTextControl.Name = "helpText"; this.treeViewAdvCouverts.HelpTextControl.Name = "helpText";
this.treeViewAdvCouverts.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdvCouverts.HelpTextControl.Size = new System.Drawing.Size(49, 15);

View File

@@ -1923,12 +1923,16 @@ namespace OnDoc.Versandstrasse
private void rbeinschreiben_CheckedChanged(object sender, EventArgs e) private void rbeinschreiben_CheckedChanged(object sender, EventArgs e)
{ {
Versandpaket vp = treeViewAdv1.SelectedNode.TagObject as Versandpaket; Versandpaket vp = treeViewAdv1.SelectedNode.TagObject as Versandpaket;
DB db = new DB(AppParams.connectionstring); DB db = new DB(AppParams.connectionstring);
try try
{ {
if (rbeinschreiben.Checked == true) if (rbeinschreiben.Checked == true)
{ {
MessageBox.Show("Bei 'Einschreiben' wird die Hauptadresse von Avaloq auf dem Adressträger verwendet und kann dadurch von der Zustelladresse im Dokument abweichen.", "Versandart", MessageBoxButtons.OK, MessageBoxIcon.Information);
db.Get_Tabledata("Select dbo.fnkt_ondoc_check_landcode(" + vp.partnernr.ToString() + ")", false, true); db.Get_Tabledata("Select dbo.fnkt_ondoc_check_landcode(" + vp.partnernr.ToString() + ")", false, true);
try try
{ {

View File

@@ -128,7 +128,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD0
DAAAAk1TRnQBSQFMAgEBBgEAAYABAQGAAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo DAAAAk1TRnQBSQFMAgEBBgEAAYgBAQGIAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -194,7 +194,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU
DAAAAk1TRnQBSQFMAgEBBQEAAYgBAQGIAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo DAAAAk1TRnQBSQFMAgEBBQEAAZABAQGQAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -248,7 +248,7 @@
AYABAQIAAeABBwHAAQMBwAEDAgAB8AEPAfABDwHwAQ8BgAEBCw== AYABAQIAAeABBwHAAQMBwAEDAgAB8AEPAfABDwHwAQ8BgAEBCw==
</value> </value>
</data> </data>
<data name="pdfViewerPrinterSettings1.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="pdfViewerPrinterSettings7.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0 AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
@@ -337,7 +337,7 @@
/wM19F1wo1uqCAAAAABJRU5ErkJggg== /wM19F1wo1uqCAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="pdfViewerPrinterSettings2.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="pdfViewerPrinterSettings8.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0 AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
@@ -355,7 +355,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAq ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAq
CQAAAk1TRnQBSQFMAgEBAwEAAUgBAQFIAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo CQAAAk1TRnQBSQFMAgEBAwEAAVABAQFQAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

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.

View File

@@ -341,13 +341,14 @@ namespace DOCGEN.Klassen
picture.HorizontalPosition = Convert.ToInt32(item.top); picture.HorizontalPosition = Convert.ToInt32(item.top);
picture.HorizontalOrigin = HorizontalOrigin.Page; picture.HorizontalOrigin = HorizontalOrigin.Page;
picture.VerticalOrigin = VerticalOrigin.Page; picture.VerticalOrigin = VerticalOrigin.Page;
picture.TextWrappingStyle = TextWrappingStyle.Square; picture.TextWrappingStyle = TextWrappingStyle.Behind;
picture.TextWrappingType = TextWrappingType.Largest; picture.TextWrappingType = TextWrappingType.Largest;
picture2.VerticalPosition = picture.VerticalPosition; picture2.VerticalPosition = picture.VerticalPosition;
picture2.HorizontalPosition = picture.HorizontalPosition; picture2.HorizontalPosition = picture.HorizontalPosition;
picture2.HorizontalOrigin = HorizontalOrigin.Page; picture2.HorizontalOrigin = HorizontalOrigin.Page;
picture2.VerticalOrigin = VerticalOrigin.Page; picture2.VerticalOrigin = VerticalOrigin.Page;
picture2.TextWrappingStyle = TextWrappingStyle.Square; picture2.TextWrappingStyle = TextWrappingStyle.Behind;
picture2.TextWrappingType = TextWrappingType.Largest; picture2.TextWrappingType = TextWrappingType.Largest;
picture.Rotation = 0; picture.Rotation = 0;
@@ -361,6 +362,7 @@ namespace DOCGEN.Klassen
picture2.VerticalPosition = picture.VerticalPosition; picture2.VerticalPosition = picture.VerticalPosition;
picture2.HorizontalPosition = picture.HorizontalPosition; picture2.HorizontalPosition = picture.HorizontalPosition;
//foreach (IWSection section in document.Sections) //foreach (IWSection section in document.Sections)
//{ //{
IWSection section = document.Sections[0]; IWSection section = document.Sections[0];
@@ -1978,6 +1980,7 @@ namespace DOCGEN.Klassen
public string style = ""; public string style = "";
public string fontname = ""; public string fontname = "";
public string fontsize = ""; public string fontsize = "";
public List<string> rows; public List<string> rows;
} }

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.

View File

@@ -297,7 +297,7 @@ namespace Database
return Convert.ToInt32(mitarbeiter); return Convert.ToInt32(mitarbeiter);
} }
Get_Tabledata("Select * from mitarbeiter where tgnummer='" + mitarbeiter + "'", false, true); Get_Tabledata("Select * from mitarbeiter where aktiv=1 and tgnummer='" + mitarbeiter + "'", false, true);
if (dsdaten.Tables[0].Rows.Count < 1) if (dsdaten.Tables[0].Rows.Count < 1)
{ {
return 0; return 0;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -9,6 +9,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data.SqlClient; using System.Data.SqlClient;
using System.Data.SqlTypes; using System.Data.SqlTypes;
using System.Diagnostics.Eventing.Reader;
using System.Drawing; using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
using System.Drawing.Imaging; using System.Drawing.Imaging;
@@ -88,10 +89,12 @@ namespace Versandstrasse
public void writelog(string inhalt) public void writelog(string inhalt)
{ {
// inhalt = DateTime.Now + " / " + inhalt; // inhalt = DateTime.Now + " / " + inhalt;
//System.IO.File.AppendAllText(@"h:\edoka_work\vs.log", Environment.NewLine + inhalt); //System.IO.File.AppendAllText(@"h:\edoka_work\vs.log", Environment.NewLine + inhalt);
} }
public string FixPageBreaks(string base64Pdf)
public string FixPageBreaks(string base64Pdf, bool rotate)
{ {
byte[] inputBytes = Convert.FromBase64String(base64Pdf); byte[] inputBytes = Convert.FromBase64String(base64Pdf);
@@ -140,6 +143,7 @@ namespace Versandstrasse
lastBreakIndex = i; lastBreakIndex = i;
lastOrientation = currentOrientation; lastOrientation = currentOrientation;
} }
// if (isLandscape) { loadedDoc.Pages[i].Rotation== PdfPageRotateAngle.RotateAngle90;}
i++; i++;
} }
@@ -155,8 +159,11 @@ namespace Versandstrasse
loadedDoc.Pages.Add(lastSize); loadedDoc.Pages.Add(lastSize);
} }
loadedDoc.Save(outputStream); loadedDoc.Save(outputStream);
loadedDoc.Close(true); loadedDoc.Close(true);
return Convert.ToBase64String(outputStream.ToArray()); return Convert.ToBase64String(outputStream.ToArray());
} }
@@ -164,7 +171,7 @@ namespace Versandstrasse
private bool IsLandscape(float width, float height, PdfPageRotateAngle rotation) private bool IsLandscape(float width, float height, PdfPageRotateAngle rotation)
{ {
bool landscape = width > height; bool landscape = width > height;
@@ -181,7 +188,7 @@ namespace Versandstrasse
// ========================================================= // =========================================================
// 📄 A4 erkennen (mit Toleranz) // 📄 A4 erkennen (mit Toleranz)
// ========================================================= // =========================================================
private bool IsA4(PdfLoadedPage page) private bool IsA4(PdfLoadedPage page)
{ {
const float tolerance = 5f; const float tolerance = 5f;
@@ -199,13 +206,155 @@ namespace Versandstrasse
Landscape Landscape
} }
public string check_pdf_pages(string dokument) public string RotatePage1(string base64pdf, bool rotate)
{ {
return FixPageBreaks(dokument); byte[] inputBytes = Convert.FromBase64String(base64pdf);
MemoryStream inputStream = new MemoryStream(inputBytes);
MemoryStream outputStream = new MemoryStream();
PdfDocument newDoc = new PdfDocument();
PdfLoadedDocument loadedDocument = new PdfLoadedDocument(inputStream);
for (int i = 0; i < loadedDocument.Pages.Count; i++)
{
PdfLoadedPage loadedPage = loadedDocument.Pages[i] as PdfLoadedPage;
PdfTemplate template = loadedPage.CreateTemplate();
PdfSection pdfSection = newDoc.Sections.Add();
pdfSection.PageSettings.Margins.All = 0;
pdfSection.PageSettings.Size = new SizeF(loadedPage.Graphics.ClientSize);
PdfPage newPage = pdfSection.Pages.Add();
PdfGraphicsState state = newPage.Graphics.Save();
if (loadedPage.Rotation == PdfPageRotateAngle.RotateAngle90)
{
newPage.Graphics.TranslateTransform(newPage.Graphics.ClientSize.Width, 0);
newPage.Graphics.RotateTransform(90);
}
else if (loadedPage.Rotation == PdfPageRotateAngle.RotateAngle270)
{
newPage.Graphics.TranslateTransform(0, newPage.Graphics.ClientSize.Height);
newPage.Graphics.RotateTransform(270);
}
newPage.Graphics.DrawPdfTemplate(template, new PointF(0, 0));
newPage.Graphics.Restore(state);
}
newDoc.Save(outputStream);
newDoc.Close(true);
loadedDocument.Close();
return Convert.ToBase64String(outputStream.ToArray());
// using (MemoryStream inputStream = new MemoryStream(inputBytes))
// using (MemoryStream outputStream = new MemoryStream())
// {
// PdfLoadedDocument loadedDoc = new PdfLoadedDocument(inputStream);
// PdfDocument newDoc = new PdfDocument();
// for (int i = 0; i < loadedDoc.Pages.Count; i++)
// {
// PdfLoadedPage loadedPage = loadedDoc.Pages[i] as PdfLoadedPage;
// SizeF size = loadedPage.Size;
// SizeF targetSize = size;
// bool isRotated = loadedPage.Rotation == PdfPageRotateAngle.RotateAngle90 ||
// loadedPage.Rotation == PdfPageRotateAngle.RotateAngle270;
// if (isRotated)
// {
// targetSize = new SizeF(size.Height, size.Width);
// }
// PdfSection section = newDoc.Sections.Add();
// // Seitengröße setzen
// section.PageSettings.Size = targetSize;
// // Neue Seite erzeugen
// PdfPage newPage = section.Pages.Add();
// PdfGraphics g = newPage.Graphics;
// PdfTemplate template = loadedPage.CreateTemplate();
// // 👉 Transformation anwenden
// switch (loadedPage.Rotation)
// {
// case PdfPageRotateAngle.RotateAngle90:
// g.TranslateTransform(size.Height, 0);
// g.RotateTransform(90);
// break;
// case PdfPageRotateAngle.RotateAngle270:
// g.TranslateTransform(0, size.Width);
// g.RotateTransform(270);
// break;
// case PdfPageRotateAngle.RotateAngle180:
// g.TranslateTransform(size.Width, size.Height);
// g.RotateTransform(180);
// break;
// }
// //g.DrawPdfTemplate(template, new PointF(-50,50));
// g.DrawPdfTemplate(template, new PointF(1, 1),
//new SizeF(targetSize.Width - 2, targetSize.Height - 2));
// }
// newDoc.Save(outputStream);
// newDoc.Close(true);
// loadedDoc.Close();
// return Convert.ToBase64String(outputStream.ToArray());
// }
}
public string RotatePage(string base64pdf, bool rotate)
{
// Load the existing PDF document
byte[] inputBytes = Convert.FromBase64String(base64pdf);
using (MemoryStream inputStream = new MemoryStream(inputBytes))
using (MemoryStream outputStream = new MemoryStream())
{
PdfLoadedDocument loadedDocument = new PdfLoadedDocument(inputStream);
// Iterate through all pages
foreach (PdfLoadedPage page in loadedDocument.Pages)
{
// Set rotation to portrait (0 degrees)
var size = page.Size;
var rotation = page.Rotation;
bool isLandscape = IsLandscape(size.Width, size.Height, rotation);
if (isLandscape)
{
page.Rotation = PdfPageRotateAngle.RotateAngle90;
}
}
loadedDocument.Save(outputStream);
loadedDocument.Close(true);
return Convert.ToBase64String(outputStream.ToArray());
}
}
public string check_pdf_pages(string dokument, bool rotatepage=false)
{
if (rotatepage)
{
return RotatePage1(RotatePage(FixPageBreaks(dokument, true), true), true);
}
else
{
return FixPageBreaks(dokument, true);
}
var stream = new MemoryStream(Convert.FromBase64String(dokument)); var stream = new MemoryStream(Convert.FromBase64String(dokument));
PdfLoadedDocument loadedDocument = new PdfLoadedDocument(stream); PdfLoadedDocument loadedDocument = new PdfLoadedDocument(stream);
if (loadedDocument.Pages.Count % 2 == 0) { } else { Add_EmptyPage(ref loadedDocument); } if (loadedDocument.Pages.Count % 2 == 0) { } else { Add_EmptyPage(ref loadedDocument); }
MemoryStream outputStream = new MemoryStream(); MemoryStream outputStream = new MemoryStream();
string dok = ""; string dok = "";
@@ -227,11 +376,11 @@ namespace Versandstrasse
{ {
stream = null; stream = null;
loadedDocument = null; loadedDocument = null;
outputStream = null; outputStream = null;
} }
} }
public string Prepare_PDF(string dokumentid, string tempdir, string connectionstring, string resturi, string apikey, string startuppath, versandscript vs = null, serienbrief sb = null, string sbsourcedok = "", bool couvertpos = false) public string Prepare_PDF(string dokumentid, string tempdir, string connectionstring, string resturi, string apikey, string startuppath, versandscript vs = null, serienbrief sb = null, string sbsourcedok = "", bool couvertpos = false)
{ {
try try
@@ -241,7 +390,7 @@ namespace Versandstrasse
this.resturi = resturi; this.resturi = resturi;
this.apikey = apikey; this.apikey = apikey;
clsdok dok = new clsdok("", "", "", ""); clsdok dok = new clsdok("", "", "", "");
if (sbsourcedok != "") if (sbsourcedok != "")
{ {
@@ -341,11 +490,11 @@ namespace Versandstrasse
{ {
foreach (TextReplace tr in vdok.TextReplaces) foreach (TextReplace tr in vdok.TextReplaces)
{ {
if (tr.TextToReplace.Trim() != "") if (tr.TextToReplace.Trim() != "")
{ {
writelog("Replace Start " + tr.TextToReplace); writelog("Replace Start " + tr.TextToReplace);
Replace_Text(ref loadedDocument, tr.TextToReplace, tr.NewText, tr.Fontname, tr.Fontsize, startuppath,tr); Replace_Text(ref loadedDocument, tr.TextToReplace, tr.NewText, tr.Fontname, tr.Fontsize, startuppath, tr);
writelog("Replace Ende"); writelog("Replace Ende");
} }
} }
@@ -356,11 +505,11 @@ namespace Versandstrasse
MemoryStream outputStream = new MemoryStream(); MemoryStream outputStream = new MemoryStream();
try try
{ {
loadedDocument.Save(outputStream); loadedDocument.Save(outputStream);
byte[] bytes; byte[] bytes;
bytes = outputStream.ToArray(); bytes = outputStream.ToArray();
@@ -391,16 +540,16 @@ namespace Versandstrasse
PdfDocumentBase.Merge(finalDoc, streams); PdfDocumentBase.Merge(finalDoc, streams);
MemoryStream outputStream = new MemoryStream(); MemoryStream outputStream = new MemoryStream();
string filename = tempdir + Guid.NewGuid().ToString() + ".pdf"; string filename = tempdir + Guid.NewGuid().ToString() + ".pdf";
finalDoc.Save(outputStream); finalDoc.Save(outputStream);
PdfLoadedDocument loadeddoc = new PdfLoadedDocument(outputStream); PdfLoadedDocument loadeddoc = new PdfLoadedDocument(outputStream);
loadeddoc.ConvertToPDFA(PdfConformanceLevel.Pdf_A1B); loadeddoc.ConvertToPDFA(PdfConformanceLevel.Pdf_A1B);
loadeddoc.Save(outputStream); loadeddoc.Save(outputStream);
byte[] bytes; byte[] bytes;
bytes = outputStream.ToArray(); bytes = outputStream.ToArray();
@@ -420,13 +569,13 @@ namespace Versandstrasse
writelog("Merge Ende"); writelog("Merge Ende");
return vscript.FinalDoc; return vscript.FinalDoc;
} }
catch (Exception ex) { writelog("2" + ex.Message);return ""; } catch (Exception ex) { writelog("2" + ex.Message); return ""; }
} }
private void split_doc(ref versandscript vscript, string document) private void split_doc(ref versandscript vscript, string document)
{ {
writelog("Split"); writelog("Split");
; //SaveBase64ToFile(document, @"x:\f0.pdf"); ; //SaveBase64ToFile(document, @"x:\f0.pdf");
vscript.dokuments[0].sourcedokument = document; vscript.dokuments[0].sourcedokument = document;
vsdokument vsd = vscript.dokuments[0]; vsdokument vsd = vscript.dokuments[0];
var stream = new MemoryStream(Convert.FromBase64String(vscript.dokuments[0].sourcedokument)); var stream = new MemoryStream(Convert.FromBase64String(vscript.dokuments[0].sourcedokument));
@@ -530,7 +679,7 @@ namespace Versandstrasse
} }
private void Replace_Text(ref PdfLoadedDocument document, string texttoreplace, string newtext, string fontname, string fontsize, string startuppath, TextReplace tr) private void Replace_Text(ref PdfLoadedDocument document, string texttoreplace, string newtext, string fontname, string fontsize, string startuppath, TextReplace tr)
{ {
PdfLoadedPage loadedPage = document.Pages[0] as PdfLoadedPage; PdfLoadedPage loadedPage = document.Pages[0] as PdfLoadedPage;
@@ -539,10 +688,10 @@ namespace Versandstrasse
int y = -5; int y = -5;
int w = 0; int w = 0;
int h = 5; int h = 5;
if (tr.Boxpos_X != "") { x=Convert.ToInt32(tr.Boxpos_X); } if (tr.Boxpos_X != "") { x = Convert.ToInt32(tr.Boxpos_X); }
if (tr.Boxpos_Y != "") { y=Convert.ToInt32(tr.Boxpos_Y); } if (tr.Boxpos_Y != "") { y = Convert.ToInt32(tr.Boxpos_Y); }
if (tr.Boxpos_W != "") { w=Convert.ToInt32(tr.Boxpos_W); } if (tr.Boxpos_W != "") { w = Convert.ToInt32(tr.Boxpos_W); }
if (tr.Boxpos_H != "") { h=Convert.ToInt32(tr.Boxpos_H); } if (tr.Boxpos_H != "") { h = Convert.ToInt32(tr.Boxpos_H); }
//Font und Size //Font und Size
string fname = "Futura"; string fname = "Futura";
string fsize = "8"; string fsize = "8";
@@ -550,12 +699,12 @@ namespace Versandstrasse
if (tr.Fontname != "") { fname = tr.Fontname; } if (tr.Fontname != "") { fname = tr.Fontname; }
if (tr.Fontsize != "") { fsize = tr.Fontsize; } if (tr.Fontsize != "") { fsize = tr.Fontsize; }
// PdfUsedFont usedfont = get_fontname(ref document, fname); // PdfUsedFont usedfont = get_fontname(ref document, fname);
PdfFont font = new PdfTrueTypeFont(new Font(fname, Convert.ToInt32(fsize))); PdfFont font = new PdfTrueTypeFont(new Font(fname, Convert.ToInt32(fsize)));
Dictionary<int, List<RectangleF>> matchedTextbounds = new Dictionary<int, List<RectangleF>>(); Dictionary<int, List<RectangleF>> matchedTextbounds = new Dictionary<int, List<RectangleF>>();
document.FindText(texttoreplace, out matchedTextbounds); document.FindText(texttoreplace, out matchedTextbounds);
PdfSolidBrush brush = new PdfSolidBrush(Color.White); PdfSolidBrush brush = new PdfSolidBrush(Color.White);
try try
{ {
@@ -594,9 +743,9 @@ namespace Versandstrasse
} }
} }
@@ -723,26 +872,26 @@ namespace Versandstrasse
private void Add_EmptyPage(ref PdfLoadedDocument document) private void Add_EmptyPage(ref PdfLoadedDocument document)
{ {
SizeF size = document.Pages[document.Pages.Count-1].Size; SizeF size = document.Pages[document.Pages.Count - 1].Size;
bool landscape = false; bool landscape = false;
// Determine orientation based on size // Determine orientation based on size
if (size.Width > size.Height) if (size.Width > size.Height)
{ {
landscape = true; landscape = true;
} }
else else
{ {
landscape = false; landscape = false;
} }
PdfPage page = (PdfPage)document.Pages.Add(); PdfPage page = (PdfPage)document.Pages.Add();
if (landscape == true) if (landscape == true)
{ {
page.Section.PageSettings.Size = PdfPageSize.A4; page.Section.PageSettings.Size = PdfPageSize.A4;
page.Section.PageSettings.Width = size.Width; // A4 landscape width page.Section.PageSettings.Width = size.Width; // A4 landscape width
page.Section.PageSettings.Height = size.Height; // A4 landscape height page.Section.PageSettings.Height = size.Height; // A4 landscape height
} }
} }
public Image DrawText(Color foreColor, Color backColor, string fontName, int fontSize, string txt, int width, int height, string zusatz, string zusatzfontname, int zusatzfontsize, int rotation) public Image DrawText(Color foreColor, Color backColor, string fontName, int fontSize, string txt, int width, int height, string zusatz, string zusatzfontname, int zusatzfontsize, int rotation)

Binary file not shown.

Binary file not shown.