I have a document with three section. The document protection is “Filling in Form”. The first und last section are unchecked for protection. Only the second section will be protected.
If you load the document with Aspose, the property ProtectionType of document is “NoProtection”. That’s wrong.
The same with Word API, you get the correct ProtectionType property as WdProtectionType.wdAllowOnlyFormFields.
A sample doc can you find in attachment
Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words (9.4.0). I use the following code for testing:
Document doc = new Document("ProtectedForForms.docx"); Console.WriteLine(doc.ProtectionType);
The output is “AllowOnlyFormFields”.
You can download the latest version from here:
Sorry, I think the fault lay with me … Toooooo many documents