Update 20260109

This commit is contained in:
Stefan Hutter
2026-01-09 08:37:07 +01:00
parent e377f08ccd
commit 49155d898f
229 changed files with 28984 additions and 39486 deletions

View File

@@ -159,6 +159,9 @@
<Reference Include="System.Web.Http, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="System.Web.Http, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.3.0\lib\net45\System.Web.Http.dll</HintPath> <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.3.0\lib\net45\System.Web.Http.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Web.Http.Tracing, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Tracing.5.3.0\lib\net45\System.Web.Http.Tracing.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.WebHost, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="System.Web.Http.WebHost, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.3.0\lib\net45\System.Web.Http.WebHost.dll</HintPath> <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.3.0\lib\net45\System.Web.Http.WebHost.dll</HintPath>
</Reference> </Reference>

File diff suppressed because it is too large Load Diff

View File

@@ -22,6 +22,7 @@ using Helper;
using System.Web.WebPages; using System.Web.WebPages;
using System.Text; using System.Text;
using Microsoft.Ajax.Utilities; using Microsoft.Ajax.Utilities;
using System.Web.Http.Tracing;
@@ -142,7 +143,8 @@ namespace API_NetFramework.Controllers
[Route("API/GetUnterschriftAsBase64New")] [Route("API/GetUnterschriftAsBase64New")]
public IHttpActionResult GetUnterschriftAsBase64New(string TGNummer, int ImageWidth = 0, int ImageHeight = 0) public IHttpActionResult GetUnterschriftAsBase64New(string TGNummer, int ImageWidth = 0, int ImageHeight = 0)
{ {
if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false) if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
{ {
//return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key"); //return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");

View File

@@ -16,6 +16,7 @@ namespace OnDocAPI_NetFramework
public void Configuration(IAppBuilder app) public void Configuration(IAppBuilder app)
{ {
var a = 1; var a = 1;

View File

@@ -39,6 +39,12 @@
<add key="VSImagePath" value="E:\Software-Projekte\OnDoc\" /> <add key="VSImagePath" value="E:\Software-Projekte\OnDoc\" />
<add key="Mailempfaenger" value="stefan.hutter@tkb.ch" /> <add key="Mailempfaenger" value="stefan.hutter@tkb.ch" />
<add key="GASSize" value="True" /> <add key="GASSize" value="True" />
<add key="CLMVerantwortung" value="3793"/>
<add key="CLMTeam" value="146"/>
<add key="CLMZustaendig" value="3793"/>
<add key="CLMUnterschriftlinks" value="0"/>
<add key="CLMUnterschriftrechts" value="0"/>
<add key="CLMKube" value="0"/>
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>

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

@@ -39,6 +39,12 @@
<add key="VSImagePath" value="E:\Software-Projekte\OnDoc\" /> <add key="VSImagePath" value="E:\Software-Projekte\OnDoc\" />
<add key="Mailempfaenger" value="stefan.hutter@tkb.ch" /> <add key="Mailempfaenger" value="stefan.hutter@tkb.ch" />
<add key="GASSize" value="True" /> <add key="GASSize" value="True" />
<add key="CLMVerantwortung" value="3793"/>
<add key="CLMTeam" value="146"/>
<add key="CLMZustaendig" value="3793"/>
<add key="CLMUnterschriftlinks" value="0"/>
<add key="CLMUnterschriftrechts" value="0"/>
<add key="CLMKube" value="0"/>
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>

Binary file not shown.

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Web.Http.Tracing</name>
</assembly>
<members>
<member name="T:System.Web.Http.HttpConfigurationTracingExtensions">
<summary>This static class contains helper methods related to the registration of <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> instances.</summary>
</member>
<member name="M:System.Web.Http.HttpConfigurationTracingExtensions.EnableSystemDiagnosticsTracing(System.Web.Http.HttpConfiguration)">
<summary>Creates and registers an <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> implementation to use for this application.</summary>
<returns>The <see cref="T:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter" /> which was created and registered.</returns>
<param name="configuration">The <see cref="T:System.Web.Http.HttpConfiguration" /> for which to register the created trace writer.</param>
</member>
<member name="T:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter">
<summary>Implementation of <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> that traces to <see cref="T:System.Diagnostics.Trace" /></summary>
</member>
<member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.#ctor"></member>
<member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.Format(System.Web.Http.Tracing.TraceRecord)">
<summary>Formats the contents of the given <see cref="T:System.Web.Http.Tracing.TraceRecord" /> into a single string containing comma-separated name-value pairs for each <see cref="T:System.Web.Http.Tracing.TraceRecord" /> property.</summary>
<returns>A string containing comma-separated name-value pairs.</returns>
<param name="traceRecord">The <see cref="T:System.Web.Http.Tracing.TraceRecord" /> from which to produce the result.</param>
</member>
<member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.FormatDateTime(System.DateTime)">
<summary>Formats a <see cref="T:System.DateTime" /> for the trace.</summary>
<returns>The <see cref="T:System.DateTime" /> formatted as a string</returns>
<param name="dateTime">The <see cref="T:System.DateTime" /></param>
</member>
<member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.FormatRequestEnvelope(System.Web.Http.Tracing.TraceRecord)">
<summary>Formats the given <see cref="T:System.Web.Http.Tracing.TraceRecord" /> into a string describing either the initial receipt of the incoming request or the final send of the response, depending on <see cref="T:System.Web.Http.Tracing.TraceKind" />.</summary>
<returns>A string containing comma-separated name-value pairs.</returns>
<param name="traceRecord">The <see cref="T:System.Web.Http.Tracing.TraceRecord" /> from which to produce the result.</param>
</member>
<member name="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.IsVerbose">
<summary>Gets or sets a value indicating whether the formatted message should be the verbose format, meaning it displays all fields of the <see cref="T:System.Web.Http.Tracing.TraceRecord" />.</summary>
<returns>true means all <see cref="T:System.Web.Http.Tracing.TraceRecord" /> fields will be traced, false means only minimal information will be traced. The default value is false.</returns>
</member>
<member name="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.MinimumLevel">
<summary>Gets or sets the minimum trace level.</summary>
<returns>Any <see cref="T:System.Web.Http.Tracing.TraceLevel" /> below this level will be ignored. The default for this property is <see cref="F:System.Web.Http.Tracing.TraceLevel.Info" />.</returns>
</member>
<member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.Trace(System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.Action{System.Web.Http.Tracing.TraceRecord})">
<summary>Writes a trace to <see cref="T:System.Diagnostics.Trace" /> if the <paramref name="level" /> is greater than or equal <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.MinimumLevel" />.</summary>
<param name="request">The <see cref="T:System.Net.Http.HttpRequestMessage" /> associated with this trace. It may be null but the resulting trace will contain no correlation ID.</param>
<param name="category">The category for the trace. This can be any user-defined value. It is not interpreted by this implementation but is written to the trace.</param>
<param name="level">The <see cref="T:System.Web.Http.Tracing.TraceLevel" /> of this trace. If it is less than <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.MinimumLevel" />, this trace request will be ignored.</param>
<param name="traceAction">The user callback to invoke to fill in a <see cref="T:System.Web.Http.Tracing.TraceRecord" /> with additional information to add to the trace.</param>
</member>
<member name="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource">
<summary>Gets or sets the <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource" /> to which the traces will be sent.</summary>
<returns>This property allows a custom <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource" /> to be used when writing the traces. This allows an application to configure and use its own <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource" /> other than the default <see cref="T:System.Diagnostics.Trace" />. If the value is null, this trace writer will send traces to <see cref="T:System.Diagnostics.Trace" />.</returns>
</member>
<member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TranslateHttpResponseException(System.Web.Http.Tracing.TraceRecord)">
<summary>Examines the given <see cref="T:System.Web.Http.Tracing.TraceRecord" /> to determine whether it contains an <see cref="T:System.Web.Http.HttpResponseException" /> and if so, modifies the <see cref="T:System.Web.Http.Tracing.TraceRecord" /> to capture more detailed information.</summary>
<param name="traceRecord">The <see cref="T:System.Web.Http.Tracing.TraceRecord" /> to examine and modify.</param>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
f4edd25b59965f3aba1dd0fe3be0134c23fa88f0d01526b0e52d3378a785bf89 912e2514d1f2ddb24b54769f68c94a4776c9e4de5dc37cfb43da8300c2e75df3

View File

@@ -323,3 +323,5 @@ E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\DOCGEN.pdb
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\DOCGEN.dll.config E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\DOCGEN.dll.config
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\OfficePrinter.pdb E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\OfficePrinter.pdb
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Database.dll.config E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Database.dll.config
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\System.Web.Http.Tracing.dll
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\System.Web.Http.Tracing.xml

View File

@@ -16,6 +16,7 @@
<package id="Microsoft.AspNet.WebApi.Core" version="5.3.0" targetFramework="net481" /> <package id="Microsoft.AspNet.WebApi.Core" version="5.3.0" targetFramework="net481" />
<package id="Microsoft.AspNet.WebApi.Core.de" version="5.3.0" targetFramework="net481" /> <package id="Microsoft.AspNet.WebApi.Core.de" version="5.3.0" targetFramework="net481" />
<package id="Microsoft.AspNet.WebApi.HelpPage" version="5.3.0" targetFramework="net481" /> <package id="Microsoft.AspNet.WebApi.HelpPage" version="5.3.0" targetFramework="net481" />
<package id="Microsoft.AspNet.WebApi.Tracing" version="5.3.0" targetFramework="net481" />
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.3.0" targetFramework="net481" /> <package id="Microsoft.AspNet.WebApi.WebHost" version="5.3.0" targetFramework="net481" />
<package id="Microsoft.AspNet.WebApi.WebHost.de" version="5.3.0" targetFramework="net481" /> <package id="Microsoft.AspNet.WebApi.WebHost.de" version="5.3.0" targetFramework="net481" />
<package id="Microsoft.AspNet.WebPages" version="3.3.0" targetFramework="net481" /> <package id="Microsoft.AspNet.WebPages" version="3.3.0" targetFramework="net481" />

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -30,8 +30,8 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MitarbeiterProfil)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MitarbeiterProfil));
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo(); Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
this.ribbon1 = new System.Windows.Forms.Ribbon(); this.ribbon1 = new System.Windows.Forms.Ribbon();
this.ribbonTab1 = new System.Windows.Forms.RibbonTab(); this.ribbonTab1 = new System.Windows.Forms.RibbonTab();
this.RibbonPanelExit = new System.Windows.Forms.RibbonPanel(); this.RibbonPanelExit = new System.Windows.Forms.RibbonPanel();
@@ -165,7 +165,7 @@
this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013; this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
this.ribbon1.OrbVisible = false; this.ribbon1.OrbVisible = false;
this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F); this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
this.ribbon1.Size = new System.Drawing.Size(802, 121); this.ribbon1.Size = new System.Drawing.Size(742, 121);
this.ribbon1.TabIndex = 0; this.ribbon1.TabIndex = 0;
this.ribbon1.Tabs.Add(this.ribbonTab1); this.ribbon1.Tabs.Add(this.ribbonTab1);
this.ribbon1.Tabs.Add(this.ribbonTab2); this.ribbon1.Tabs.Add(this.ribbonTab2);
@@ -533,8 +533,9 @@
// txtfunktion // txtfunktion
// //
this.txtfunktion.Location = new System.Drawing.Point(138, 174); this.txtfunktion.Location = new System.Drawing.Point(138, 174);
this.txtfunktion.Multiline = true;
this.txtfunktion.Name = "txtfunktion"; this.txtfunktion.Name = "txtfunktion";
this.txtfunktion.Size = new System.Drawing.Size(147, 20); this.txtfunktion.Size = new System.Drawing.Size(219, 56);
this.txtfunktion.TabIndex = 13; this.txtfunktion.TabIndex = 13;
// //
// label10 // label10
@@ -657,7 +658,7 @@
this.GrpGetSignature.Controls.Add(this.btnDeleteImage); this.GrpGetSignature.Controls.Add(this.btnDeleteImage);
this.GrpGetSignature.Controls.Add(this.btnSaveSignature); this.GrpGetSignature.Controls.Add(this.btnSaveSignature);
this.GrpGetSignature.Controls.Add(this.sign1); this.GrpGetSignature.Controls.Add(this.sign1);
this.GrpGetSignature.Location = new System.Drawing.Point(89, 79); this.GrpGetSignature.Location = new System.Drawing.Point(32, 19);
this.GrpGetSignature.Name = "GrpGetSignature"; this.GrpGetSignature.Name = "GrpGetSignature";
this.GrpGetSignature.Size = new System.Drawing.Size(651, 394); this.GrpGetSignature.Size = new System.Drawing.Size(651, 394);
this.GrpGetSignature.TabIndex = 21; this.GrpGetSignature.TabIndex = 21;
@@ -787,6 +788,7 @@
// //
this.GrpGAS.Controls.Add(this.panelpersadresse); this.GrpGAS.Controls.Add(this.panelpersadresse);
this.GrpGAS.Controls.Add(this.label30); this.GrpGAS.Controls.Add(this.label30);
this.GrpGAS.Controls.Add(this.GrpGetSignature);
this.GrpGAS.Controls.Add(this.label31); this.GrpGAS.Controls.Add(this.label31);
this.GrpGAS.Controls.Add(this.label32); this.GrpGAS.Controls.Add(this.label32);
this.GrpGAS.Controls.Add(this.label29); this.GrpGAS.Controls.Add(this.label29);
@@ -797,9 +799,9 @@
this.GrpGAS.Controls.Add(this.TreeViewADVPersadresse); this.GrpGAS.Controls.Add(this.TreeViewADVPersadresse);
this.GrpGAS.Controls.Add(this.label19); this.GrpGAS.Controls.Add(this.label19);
this.GrpGAS.Controls.Add(this.treeViewAdvAdresse); this.GrpGAS.Controls.Add(this.treeViewAdvAdresse);
this.GrpGAS.Location = new System.Drawing.Point(14, 30); this.GrpGAS.Location = new System.Drawing.Point(8, 30);
this.GrpGAS.Name = "GrpGAS"; this.GrpGAS.Name = "GrpGAS";
this.GrpGAS.Size = new System.Drawing.Size(696, 509); this.GrpGAS.Size = new System.Drawing.Size(733, 461);
this.GrpGAS.TabIndex = 22; this.GrpGAS.TabIndex = 22;
this.GrpGAS.TabStop = false; this.GrpGAS.TabStop = false;
this.GrpGAS.Text = "Rückantwort-Adressen"; this.GrpGAS.Text = "Rückantwort-Adressen";
@@ -1065,15 +1067,15 @@
// TreeViewADVPersadresse // TreeViewADVPersadresse
// //
this.TreeViewADVPersadresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window); this.TreeViewADVPersadresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo3.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo1.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)))));
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo3.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo1.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)))));
treeNodeAdvStyleInfo1.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)))));
treeNodeAdvStyleInfo1.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)))));
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black; treeNodeAdvStyleInfo3.TextColor = System.Drawing.Color.Black;
this.TreeViewADVPersadresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.TreeViewADVPersadresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo3)});
this.TreeViewADVPersadresse.ContextMenuStrip = this.contextMenuStrip1; this.TreeViewADVPersadresse.ContextMenuStrip = this.contextMenuStrip1;
// //
// //
@@ -1142,15 +1144,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);
treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.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))))); treeNodeAdvStyleInfo1.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))))); treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black; treeNodeAdvStyleInfo1.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", treeNodeAdvStyleInfo2)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
this.treeViewAdvAdresse.ContextMenuStrip = this.contextMenuStrip2; this.treeViewAdvAdresse.ContextMenuStrip = this.contextMenuStrip2;
// //
// //
@@ -1203,8 +1205,7 @@
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(806, 496); this.ClientSize = new System.Drawing.Size(746, 496);
this.Controls.Add(this.GrpGetSignature);
this.Controls.Add(this.GrpGAS); this.Controls.Add(this.GrpGAS);
this.Controls.Add(this.GrpBoxMitarbeiter); this.Controls.Add(this.GrpBoxMitarbeiter);
this.Controls.Add(this.GrpBoxDetails); this.Controls.Add(this.GrpBoxDetails);

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 = "28. Dezember 2025"; this.label2.Text = "9. Januar 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

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Management; using System.Management;
using System.Runtime.InteropServices;
using System.Security.AccessControl; using System.Security.AccessControl;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
@@ -10,13 +11,72 @@ using System.Threading.Tasks;
using System.Timers; using System.Timers;
using System.Windows.Forms; using System.Windows.Forms;
using Database; using Database;
using Microsoft.Office.Interop.Word;
using OnDoc.UICintrols;
using Syncfusion.Olap.MDXQueryParser;
using Syncfusion.Windows.Forms.Tools; using Syncfusion.Windows.Forms.Tools;
using Syncfusion.WinForms.Input.Enums; using Syncfusion.WinForms.Input.Enums;
using static Syncfusion.Windows.Forms.Tools.ColorDlgAdv;
using Word = Microsoft.Office.Interop.Word;
namespace OnDoc.Klassen namespace OnDoc.Klassen
{ {
public static class clsProcessWatch public static class clsProcessWatch
{ {
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
private static extern int GetWindowText(IntPtr hWnd, StringBuilder strText, int maxCount);
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
private static extern int GetWindowTextLength(IntPtr hWnd);
[DllImport("user32.dll")]
private static extern bool EnumWindows(EnumWindowsProc enumProc, IntPtr lParam);
// Delegate to filter which windows to include
public delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
/// <summary> Get the text for the window pointed to by hWnd </summary>
public static string GetWindowText(IntPtr hWnd)
{
int size = GetWindowTextLength(hWnd);
if (size > 0)
{
var builder = new StringBuilder(size + 1);
GetWindowText(hWnd, builder, builder.Capacity);
return builder.ToString();
}
return String.Empty;
}
public static IEnumerable<IntPtr> FindWindows(EnumWindowsProc filter)
{
IntPtr found = IntPtr.Zero;
List<IntPtr> windows = new List<IntPtr>();
EnumWindows(delegate (IntPtr wnd, IntPtr param)
{
if (filter(wnd, param))
{
// only add the windows that pass the filter
windows.Add(wnd);
}
// but return true here so that we iterate all windows
return true;
}, IntPtr.Zero);
return windows;
}
public static IEnumerable<IntPtr> FindWindowsWithText(string titleText)
{
return FindWindows(delegate (IntPtr wnd, IntPtr param)
{
return GetWindowText(wnd).Contains(titleText);
});
}
public static System.Timers.Timer watchtimer = new System.Timers.Timer(Convert.ToInt32(Properties.Settings.Default.OfficeWatchTimerIntervall)); public static System.Timers.Timer watchtimer = new System.Timers.Timer(Convert.ToInt32(Properties.Settings.Default.OfficeWatchTimerIntervall));
@@ -72,7 +132,7 @@ namespace OnDoc.Klassen
return "NO OWNER"; return "NO OWNER";
} }
private static void WatchProcesses(object source, ElapsedEventArgs e) private static void WatchProcesses1(object source, ElapsedEventArgs e)
{ {
bool word = false; bool word = false;
bool excel = false; bool excel = false;
@@ -80,13 +140,14 @@ namespace OnDoc.Klassen
bool found = false; bool found = false;
watchtimer.Enabled = false; watchtimer.Enabled = false;
found = false; found = false;
Logging.Logging.Debug("Start Watch_Process:"+ DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch","" ); Logging.Logging.Debug("Start Watch_Process:" + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch", "");
try try
{ {
foreach (FileToCheck fc in FilestoCheck) foreach (FileToCheck fc in FilestoCheck)
{ {
if (fc.filedatetime < DateTime.Now.AddSeconds(-3)) if (fc.filedatetime < DateTime.Now.AddSeconds(-3))
{ {
found = false; found = false;
word = false; word = false;
excel = false; excel = false;
@@ -101,12 +162,18 @@ namespace OnDoc.Klassen
{ {
Thread.Sleep(200); Thread.Sleep(200);
Process[] localByName = Process.GetProcessesByName("WINWORD"); Process[] localByName = Process.GetProcessesByName("WINWORD");
Logging.Logging.Debug("Get Processe", "", "");
foreach (Process p in localByName) foreach (Process p in localByName)
{ {
Logging.Logging.Debug(localByName.Count().ToString(), "", "");
string owner = GetProcessOwner(p.Id); string owner = GetProcessOwner(p.Id);
owner = owner.ToUpper(); owner = owner.ToUpper();
Logging.Logging.Debug(AppParams.systemtgnummer + "/" + AppParams.currenttgnummer + "/" + owner + "/" + fc.dokumentid + "/" + p.MainWindowTitle, "", ""); Logging.Logging.Debug(AppParams.systemtgnummer + "/" + AppParams.currenttgnummer + "/" + owner + "/" + fc.dokumentid + "/" + p.MainWindowTitle, "", "");
if (p.MainWindowTitle.IndexOf(fc.dokumentid) > -1 || if (p.MainWindowTitle.IndexOf(fc.dokumentid) > -1 ||
(p.MainWindowTitle.Trim() == "" && owner.Contains(AppParams.systemtgnummer.ToUpper()))) (p.MainWindowTitle.Trim() == "" && owner.Contains(AppParams.systemtgnummer.ToUpper())))
{ {
@@ -194,9 +261,71 @@ namespace OnDoc.Klassen
} }
finally finally
{ {
watchtimer.Enabled = true ; watchtimer.Enabled = true;
} }
} }
private static void WatchProcesses(object source, ElapsedEventArgs e)
{
bool word = false;
bool excel = false;
bool pdf = false;
bool found = false;
watchtimer.Enabled = false;
found = false;
Logging.Logging.Debug("Start Watch_Process:" + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch", "");
try
{
foreach (FileToCheck fc in FilestoCheck)
{
if (fc.filedatetime < DateTime.Now.AddSeconds(-3))
{
found = false;
var windows = FindWindowsWithText(fc.dokumentid);
if (windows.Count() > 0)
{
found = true;
save_to_db(fc);
}
windows = null;
if (!found)
{
Logging.Logging.Debug("Not Found " + fc.filename + " / " + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch", fc.dokumentid);
if (Check_Modified(fc) == true)
{
Save_File(fc.dokumentid, fc.filename);
Logging.DocLog.Info("Dokument gespeichert und geschlossen", "Processwatch", fc.dokumentid, "", fc.filename);
RemoveFromList(fc.dokumentid);
Remove_Dok_in_Bearbeitung(fc.dokumentid);
Remove_Dokumentbearbeitung_Zwingend(fc.dokumentid);
Remove_Approvals(fc.dokumentid);
return;
}
else
{
Logging.DocLog.Info("Dokument ohne speichern geschlossen", "Processwatch", fc.dokumentid, "", fc.filename);
RemoveFromList(fc.dokumentid);
Remove_Dok_in_Bearbeitung(fc.dokumentid);
return;
};
}
}
}
watchtimer.Enabled = true;
}
catch (Exception ex)
{
Logging.Logging.Debug("Error Processwatch", "OnDoc", ex.Message);
}
finally
{
watchtimer.Enabled = true;
}
}
private static void Remove_Dok_in_Bearbeitung(string dokumentid) private static void Remove_Dok_in_Bearbeitung(string dokumentid)
{ {
DB db = new DB(AppParams.connectionstring); DB db = new DB(AppParams.connectionstring);

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben: // indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.11.03")] [assembly: AssemblyVersion("1.7.11.05")]
[assembly: AssemblyFileVersion("1.7.11.03")] [assembly: AssemblyFileVersion("1.7.11.05")]

View File

@@ -51,6 +51,7 @@ namespace OnDoc.UIControls
} }
private void treeViewAdv1_NodeMouseClick(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvMouseClickEventArgs e) private void treeViewAdv1_NodeMouseClick(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvMouseClickEventArgs e)
{ {
treeViewAdv1.SelectedNode = e.Node;
if (treeViewAdv1.SelectedNode.Level == 1) if (treeViewAdv1.SelectedNode.Level == 1)
{ {
this.ribbonButtonApproved.Enabled = false; this.ribbonButtonApproved.Enabled = false;

View File

@@ -1436,8 +1436,8 @@ namespace OnDoc.Versandstrasse
DB db = new DB(AppParams.connectionstring); DB db = new DB(AppParams.connectionstring);
DB db2 = new DB(AppParams.connectionstring); DB db2 = new DB(AppParams.connectionstring);
//STH
// db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where isnull(signed,1)=1 and aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true); //db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where isnull(signed,1)=1 and aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true);
db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true); db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true);
treeViewAdvCouverts.Nodes.Clear(); treeViewAdvCouverts.Nodes.Clear();
foreach (DataRow dr in db.dsdaten.Tables[0].Rows) foreach (DataRow dr in db.dsdaten.Tables[0].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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -205,7 +205,7 @@ namespace DOCGEN.Klassen
MemoryStream mssign = new MemoryStream(Convert.FromBase64String(unterschrift)); MemoryStream mssign = new MemoryStream(Convert.FromBase64String(unterschrift));
System.Drawing.Image img = System.Drawing.Image.FromStream(mssign); System.Drawing.Image img = System.Drawing.Image.FromStream(mssign);
Shape signature = bm.BookmarkStart.OwnerParagraph.AppendShape(Syncfusion.DocIO.DLS.AutoShapeType.Rectangle, 124, 52); Shape signature = bm.BookmarkStart.OwnerParagraph.AppendShape(Syncfusion.DocIO.DLS.AutoShapeType.Rectangle, 124, 52);
signature.TextFrame.InternalMargin.Top = 0; signature.TextFrame.InternalMargin.Top = 0;
signature.TextFrame.InternalMargin.Left = 0; signature.TextFrame.InternalMargin.Left = 0;
@@ -220,7 +220,7 @@ namespace DOCGEN.Klassen
signature.WrapFormat.TextWrappingStyle = TextWrappingStyle.Behind; signature.WrapFormat.TextWrappingStyle = TextWrappingStyle.Behind;
signature.LineFormat.DashStyle = LineDashing.Solid; signature.LineFormat.DashStyle = LineDashing.Solid;
signature.LineFormat.Color = Color.White; signature.LineFormat.Color = Color.White;
signature.WrapFormat.AllowOverlap = true; signature.WrapFormat.AllowOverlap = true;
signature.VerticalPosition = signature.VerticalPosition - 51; signature.VerticalPosition = signature.VerticalPosition - 51;
@@ -352,13 +352,13 @@ namespace DOCGEN.Klassen
IWParagraph p; IWParagraph p;
try try
{ {
p = section.HeadersFooters.FirstPageHeader.Paragraphs[section.HeadersFooters.FirstPageHeader.Paragraphs.Count - 1]; p = section.HeadersFooters.FirstPageHeader.Paragraphs[section.HeadersFooters.FirstPageHeader.Paragraphs.Count - 1];
} }
catch { p = section.HeadersFooters.FirstPageHeader.AddParagraph(); } catch { p = section.HeadersFooters.FirstPageHeader.AddParagraph(); }
BookmarkStart bookmarkStart = new BookmarkStart(document, "TGEDKCompanyBBEB99"); BookmarkStart bookmarkStart = new BookmarkStart(document, "TGEDKCompanyBBEB99");
BookmarkEnd bookmarkEnd = new BookmarkEnd(document, "TGEDKCompanyBBEB99"); BookmarkEnd bookmarkEnd = new BookmarkEnd(document, "TGEDKCompanyBBEB99");
p.ChildEntities.Insert(0, bookmarkStart); p.ChildEntities.Insert(0, bookmarkStart);
@@ -578,8 +578,8 @@ namespace DOCGEN.Klassen
//Accesses the Body of section where all the contents in document are apart //Accesses the Body of section where all the contents in document are apart
WTextBody sectionBody = section.Body; WTextBody sectionBody = section.Body;
IterateTextBody(sectionBody); IterateTextBody(sectionBody);
} }
} }
if (apivalue.Type == "Absatz") if (apivalue.Type == "Absatz")
@@ -627,6 +627,51 @@ namespace DOCGEN.Klassen
} }
} }
catch { } catch { }
try
{
foreach (CLMDocItem item in docdata.CLMDocItems)
{
if (item.itemvalue.ToString() != "" && item.type != null)
{
foreach (WSection section in document.Sections)
//Iterates through section child elements
foreach (WTextBody textBody in section.ChildEntities)
{
//Iterates through form fields
foreach (WFormField formField in textBody.FormFields)
{
if (formField.Name == item.field.ToString())
{
switch (item.type.ToString())
{
case "4": //Text and CheckBox
string type = formField.FieldType.ToString();
if (type == "FieldFormCheckBox")
{
WCheckBox cb = (WCheckBox)formField;
if (item.itemvalue.ToString().ToUpper() == "X")
{
cb.Checked = true;
}
}
else
{
formField.Text = item.itemvalue.ToString();
}
break;
case "5": //Image
break;
}
}
}
}
}
}
}
catch { }
//gaga //gaga
//if (docdata.As_Faksimile == "True" && serienbrief==true) //if (docdata.As_Faksimile == "True" && serienbrief==true)
@@ -674,7 +719,7 @@ namespace DOCGEN.Klassen
} }
foreach (textreplace tr in docdata.TextToReplace) foreach (textreplace tr in docdata.TextToReplace)
{ {
Replace_Text(ref document,tr.TextToFind, tr.TextToReplace); Replace_Text(ref document, tr.TextToFind, tr.TextToReplace);
} }
if (locked) if (locked)
{ {
@@ -686,7 +731,7 @@ namespace DOCGEN.Klassen
foreach (clsDocMacro dm in docdata.DocMacros) foreach (clsDocMacro dm in docdata.DocMacros)
{ {
switch (dm.Name.ToUpper()) switch (dm.Name.ToUpper())
{ {
case "DOKUMENTSCHUETZEN": case "DOKUMENTSCHUETZEN":
@@ -763,9 +808,9 @@ namespace DOCGEN.Klassen
} }
else else
{ {
document.Protect(ProtectionType.NoProtection, "Australia"); document.Protect(ProtectionType.NoProtection, "Australia");
if (variable != "") if (variable != "")
{ {
try try
@@ -783,7 +828,7 @@ namespace DOCGEN.Klassen
paragraph.Items.Insert(1, bookmarkEnd); paragraph.Items.Insert(1, bookmarkEnd);
} }
document.Protect(ProtectionType.AllowOnlyFormFields, "Australia"); document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
} }
} }
} }
@@ -945,7 +990,7 @@ namespace DOCGEN.Klassen
paragraph.ChildEntities.RemoveAt(index); paragraph.ChildEntities.RemoveAt(index);
// Insert the new text ranges (in order: closing tag, bold text, opening tag) into the paragraph. // Insert the new text ranges (in order: closing tag, bold text, opening tag) into the paragraph.
// paragraph.ChildEntities.Insert(index, endTextRange); // paragraph.ChildEntities.Insert(index, endTextRange);
paragraph.ChildEntities.Insert(index, boldTextRange); paragraph.ChildEntities.Insert(index, boldTextRange);
//paragraph.ChildEntities.Insert(index, startTextRange); //paragraph.ChildEntities.Insert(index, startTextRange);
} }
@@ -1275,7 +1320,7 @@ namespace DOCGEN.Klassen
{ {
barcodeimage = Barcode.Get_Datamatrix(DataMatrix.net.DmtxScheme.DmtxSchemeAscii, docData.barcode_content, 6, 6, 0, "Right", docData.barcode_text + docData.barcode_zusatz, docData.Zusatz_Font, docData.Zusatz_FontSize); barcodeimage = Barcode.Get_Datamatrix(DataMatrix.net.DmtxScheme.DmtxSchemeAscii, docData.barcode_content, 6, 6, 0, "Right", docData.barcode_text + docData.barcode_zusatz, docData.Zusatz_Font, docData.Zusatz_FontSize);
} }
//barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height, false); //barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height, false);
return barcodeimage; return barcodeimage;
break; break;
default: default:
@@ -1528,7 +1573,7 @@ namespace DOCGEN.Klassen
IWSection section = document.Sections[0]; IWSection section = document.Sections[0];
IWParagraph paragraph = section.HeadersFooters.Header.AddParagraph(); IWParagraph paragraph = section.HeadersFooters.Header.AddParagraph();
string b64 = Newtonsoft.Json.JsonConvert.DeserializeObject<string>(get_image(4, -1, 0)); string b64 = Newtonsoft.Json.JsonConvert.DeserializeObject<string>(get_image(4, -1, 0));
byte[] imageBytes = Convert.FromBase64String(b64); byte[] imageBytes = Convert.FromBase64String(b64);
using (var ms = new MemoryStream(imageBytes, 0, imageBytes.Length)) using (var ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
@@ -1536,7 +1581,7 @@ namespace DOCGEN.Klassen
System.Drawing.Image image = System.Drawing.Image.FromStream(ms); System.Drawing.Image image = System.Drawing.Image.FromStream(ms);
paragraph.AppendPicture(image); paragraph.AppendPicture(image);
} }
////Get the Word document section. ////Get the Word document section.
//IWSection section = document.Sections[0]; //IWSection section = document.Sections[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.

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

@@ -593,37 +593,41 @@ namespace Database
edoka_conn.CloseConnection(true); edoka_conn.CloseConnection(true);
} }
//DokumentInfoWert //DokumentInfoWert
foreach (DataRow dr in DocData.dokumentwerte.Rows) try
{ {
if (dr["cold_indexfeld"].ToString() == "") { dr["cold_indexfeld"] = 0; } foreach (DataRow dr in DocData.dokumentwerte.Rows)
if (dr["cold_indexfeld"].ToString() == "0")
{ {
db.clear_parameter(); if (dr["cold_indexfeld"].ToString() == "") { dr["cold_indexfeld"] = 0; }
db.add_parameter("@dokumentid", dokumentid); if (dr["cold_indexfeld"].ToString() == "0")
db.add_parameter("@vorlagenfeldnr", dr["vorlagenfeldnr"].ToString());
db.add_parameter("@value", dr["feldwert"].ToString());
db.Get_Tabledata("dbo.SP_Dokument_Information_Wert", true, false);
}
else
{
db.Get_Tabledata("Select count(*) from dokumentcoldindexwert where dokumentid='" + dokumentid + "'", false, true);
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) == 0)
{ {
db.clear_parameter(); db.clear_parameter();
db.add_parameter("@dokumentid", dokumentid); db.add_parameter("@dokumentid", dokumentid);
db.add_parameter("@indextyp", "1"); db.add_parameter("@vorlagenfeldnr", dr["vorlagenfeldnr"].ToString());
db.Get_Tabledata("SP_Dokument_Cold_Index", true, false); db.add_parameter("@value", dr["feldwert"].ToString());
db.Get_Tabledata("dbo.SP_Dokument_Information_Wert", true, false);
} }
else else
{ {
db.clear_parameter(); db.Get_Tabledata("Select count(*) from dokumentcoldindexwert where dokumentid='" + dokumentid + "'", false, true);
db.add_parameter("@dokumentid", dokumentid); if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) == 0)
db.add_parameter("@coldfeldnr", dr["cold_indexfeld"].ToString()); {
db.add_parameter("@value", dr["feldwert"].ToString()); db.clear_parameter();
db.Get_Tabledata("SP_Dokument_Cold_Index_Update", true, false); db.add_parameter("@dokumentid", dokumentid);
db.add_parameter("@indextyp", "1");
db.Get_Tabledata("SP_Dokument_Cold_Index", true, false);
}
else
{
db.clear_parameter();
db.add_parameter("@dokumentid", dokumentid);
db.add_parameter("@coldfeldnr", dr["cold_indexfeld"].ToString());
db.add_parameter("@value", dr["feldwert"].ToString());
db.Get_Tabledata("SP_Dokument_Cold_Index_Update", true, false);
}
} }
} }
} }
catch { }
db.Get_Tabledata("Select * from dokumenttyp where dokumenttypnr=" + dok.iDokumenttypnr.ToString(), false, true); db.Get_Tabledata("Select * from dokumenttyp where dokumenttypnr=" + dok.iDokumenttypnr.ToString(), false, true);
int toapprove = DocData.toapprove; int toapprove = DocData.toapprove;

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

@@ -68,3 +68,5 @@ E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\vbBarcodes.xml
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\MW6.SDK.dll E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\MW6.SDK.dll
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\CSVNET.dll E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\CSVNET.dll
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\CSVNET.pdb E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\CSVNET.pdb
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\obj\Debug\Excel_Test.csproj.SuggestedBindingRedirects.cache
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\obj\Debug\Excel_Test.exe.config

View File

@@ -0,0 +1 @@
6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="NLog.Database" publicKeyToken="5120e14c03d0593c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@@ -10,11 +10,11 @@ namespace Model
{ {
public class DocCreate public class DocCreate
{ {
public string Versandstrasse { get; set; } public string Versandstrasse { get; set; }
public string VersandDirekt { get; set; } = ""; public string VersandDirekt { get; set; } = "";
public string VersandOption { get; set; } = ""; public string VersandOption { get; set; } = "";
public string GASAdresse { get; set; } = ""; public string GASAdresse { get; set; } = "";
public string ResultOnDoc { get; set; } public string ResultOnDoc { get; set; }
public string ResultSender { get; set; } public string ResultSender { get; set; }
public string ResultFileType { get; set; } public string ResultFileType { get; set; }
public string ConfirmationMail { get; set; } public string ConfirmationMail { get; set; }
@@ -68,14 +68,14 @@ namespace Model
public string TextToReplace { get; set; } public string TextToReplace { get; set; }
} }
public class JsonTable public class JsonTable
{ {
public List<Dictionary<string, object>> Listen { get; set; } public List<Dictionary<string, object>> Listen { get; set; }
} }
public class DokumentCreate public class DokumentCreate
{ {
public string Versandstrasse { get; set; } public string Versandstrasse { get; set; }
public string VersandDirekt { get; set; } = ""; public string VersandDirekt { get; set; } = "";
public string VersandVerantwortlich { get; set; } public string VersandVerantwortlich { get; set; }
public string VersandOption { get; set; } = ""; public string VersandOption { get; set; } = "";
@@ -118,7 +118,26 @@ namespace Model
{ {
public string dokumentid { get; set; } public string dokumentid { get; set; }
public string dokument { get; set; } public string dokument { get; set; }
}
}
public class CLMDocItem
{
public string itemname;
public string itemtag;
public string itemvalue;
public string doclinkname;
public string type;
public string field;
public string bmstart;
public string bmend;
public string top;
public string left;
public string width;
public string height;
}
//public class CLMDocItems
//{
// public List<docitem> CLMDocItem { get; set; }
//}
} }

Binary file not shown.

Binary file not shown.

View File

@@ -98,6 +98,7 @@ namespace Model
public List<attribute> APIValues { get; set; } public List<attribute> APIValues { get; set; }
public List<textreplace> TextToReplace { get; set; } public List<textreplace> TextToReplace { get; set; }
public List<CLMDocItem> CLMDocItems { get; set; }
} }

Binary file not shown.

Binary file not shown.

View File

@@ -62,3 +62,5 @@ E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\bin\Debug\Syncfusion.Grid.Windows
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVor.29F51F95.Up2Date E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVor.29F51F95.Up2Date
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.exe E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.exe
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.pdb E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.pdb
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.csproj.SuggestedBindingRedirects.cache
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.exe.config

View File

@@ -0,0 +1 @@
6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="NativVorlagen.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<userSettings>
<NativVorlagen.Properties.Settings>
<setting name="Vorlagen" serializeAs="String">
<value>E:\Software-Projekte\OnDoc\Nativ\</value>
</setting>
<setting name="UserDir" serializeAs="String">
<value>h:\edoka_work\</value>
</setting>
</NativVorlagen.Properties.Settings>
</userSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="NLog.Database" publicKeyToken="5120e14c03d0593c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@@ -1 +1 @@
26adcd250e91980369d40f64bc7feb6761a6219081acfe8442ae185c2c016d76 0eb5325e2c488e3781593515455a28c9bde0a1fe084c091e983a29e386437fea

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More