If doc.ProtectionType = wdAllowOnlyFormFields Then 'wdAllowOnlyReading Then 'ĭoc. If Aspose can create a new document from an existing file (template, either dotm or docm) then these could be included there. I can't tell you how or whether a Ribbon, keyboard shortcuts or VBA code can be included when working with Aspose. The following sample code illustrates the approach. If supplied, the password to be able to edit the document, or to change or remove protection. If Type is not wdAllowOnlyFormFields, NoReset is ignored. ![]() If yes, the document is unprotected, the revision accepted (or rejected), then the document is reprotected. False to reset form fields to their default values True to retain the current form field values if the document is protected. The only way to make this possible is to include code attached to the Ribbon and/or a keyboard shortcut that checks whether the current selection contains a revision. Protecting as a form locks out all the Reviewing capability protecting for editing ( wdAllowOnlyReading) lets the user move between changes, but doesn't allow accepting/rejecting. ![]() ![]() The Word application simply does not support this in a protected document.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |