Update 20260417

This commit is contained in:
Stefan Hutter
2026-04-17 10:48:36 +02:00
parent a110be5021
commit c60ba71f9d
116 changed files with 3000 additions and 53 deletions

View File

@@ -254,6 +254,7 @@ namespace DOCGEN.Klassen
case "18":
try
{
if (item.itemvalue == "x") { item.itemvalue = "X"; }
if (item.bmstart != "")
{
int a = 1;
@@ -452,11 +453,31 @@ namespace DOCGEN.Klassen
{
if (formField.Name.ToString().ToUpper() == item.field.ToString().ToUpper() || formField.Name.ToString().ToUpper() == item.bmstart.ToString().ToUpper())
{
if (item.itemvalue == "Heidi Muster")
{
string a = "1";
}
formField.Text = item.itemvalue;
//if (item.itemvalue.ToString() == "")
//{
// try
// {
// WTextFormField textField = formField as WTextFormField;
// if (textField.Type == TextFormFieldType.RegularText)
// {
// string s = " ";
// if (textField.MaximumLength < 6 && textField.MaximumLength > 0)
// {
// s = "";
// for (int i = 0; i < textField.MaximumLength; i++)
// {
// s = s + " ";
// }
// }
// textField.Text = s;
// }
// }
// catch { }
//}
return;
}
}
@@ -1457,6 +1478,29 @@ namespace DOCGEN.Klassen
if (formField.Name == dv.FieldName.ToString() && !dv.FieldName.ToString().Contains("TGEDKCursor"))
{
formField.Text = dv.Value.ToString();
//if (dv.Value.ToString() == "")
//{
// try
// {
// WTextFormField textField = formField as WTextFormField;
// if (textField.Type == TextFormFieldType.RegularText)
// {
// string s = " ";
// if (textField.MaximumLength < 6 && textField.MaximumLength > 0)
// {
// s = "";
// for (int i = 0; i < textField.MaximumLength; i++)
// {
// s = s + " ";
// }
// }
// textField.Text = s;
// }
// }
// catch { }
//}
break;
}
@@ -1814,7 +1858,7 @@ namespace DOCGEN.Klassen
{
try
{
document.UpdateDocumentFields();
document.UpdateDocumentFields();
}
catch { }
@@ -3542,6 +3586,7 @@ namespace DOCGEN.Klassen
formField.Text = newvalue;
break;
}
}

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.