Esempio n. 1
0
        public void TestShouldEnforceForFillingForms()
        {
            XWPFDocument document = XWPFTestDataSamples.OpenSampleDocument("documentProtection_no_protection.docx");

            Assert.IsFalse(document.IsEnforcedFillingFormsProtection());

            document.EnforceFillingFormsProtection();

            Assert.IsTrue(document.IsEnforcedFillingFormsProtection());
        }