update 20250821

This commit is contained in:
Stefan Hutter
2025-08-21 17:17:36 +02:00
parent c417227651
commit 98dc8ed0cb
273 changed files with 2116816 additions and 1004487 deletions

View File

@@ -552,11 +552,12 @@ namespace DOCGEN.Klassen
foreach (clsDocMacro dm in docdata.DocMacros)
{
switch (dm.Name.ToUpper())
{
case "DOKUMENTSCHUETZEN":
document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
//document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
break;
case "FORMULARAKTUALISIEREN":
@@ -628,7 +629,9 @@ namespace DOCGEN.Klassen
}
else
{
document.Protect(ProtectionType.NoProtection, "Australia");
if (variable != "")
{
try
@@ -646,6 +649,7 @@ namespace DOCGEN.Klassen
paragraph.Items.Insert(1, bookmarkEnd);
}
document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
}
}
}