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

@@ -483,5 +483,17 @@ namespace ZZ_Signature_C
document.Save(@"E:\Software-Projekte\OnDoc\Excel_Dateien\20250225074324_OFFEDK0082025000066663.docx.docx");
document.Close(); ;
}
private void button6_Click(object sender, EventArgs e)
{
Lic();
FileStream inputFileStream = new FileStream(Path.GetFullPath(@"x:\ZDEDOFFEDK0082025000157263.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
WordDocument document = new WordDocument(inputFileStream, FormatType.Automatic);
document.Protect(ProtectionType.NoProtection, "Australia");
document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
document.Save(@"x:\ZDEDOFFEDK0082025000157263_1.docx");
document.Close(); ;
}
}
}