What is the issue?
The Word document contains editing restrictions: editing is restricted for the entire document or there are individual sections in which editing has been restricted.
Editing restrictions can be activated in Word using the Restrict Editing button (in the Review or in the Developer tools tab).
The entire Word document can then only be edited to a limited extent or the affected sections can only be edited to a limited extent.
Due to this editing restriction, axesWord can no longer be used to set role mappings (even if the affected element is in a not restricted area).
How to fix it
- First remove the editing restriction. See the Microsoft support page: Allow changes to parts of a protected Word document - Microsoft Support
- You can now set the role mappings with axesWord.
- Finally reactivate the editing restriction again.