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");
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -375,8 +375,8 @@ namespace DOCGEN
converter.Settings.UpdateDocumentFields = true;
converter.Settings.EnableAlternateChunks = true;
converter.Settings.AutoDetectComplexScript = true;
converter.Settings.ImageResolution = 96;
converter.Settings.ImageQuality = 1;
converter.Settings.ImageResolution = 640;
converter.Settings.ImageQuality = 100;
}
//Converts Word document into PDF document
using (PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument))

Binary file not shown.

Binary file not shown.