Created attachment 126510 [details]
docx form with a protected area
In imported MS Word documents the area protection is bypassed when the option “Protected Areas: Enable cursor” is not set.
Steps to reproduce:
1. Open a MS Word document *.doc or *.docx with protected areas
2. Make sure the “Enable cursor” option is not set: Tools → Options → LibreOffice Writer→ Formatting Aids → Protected Areas: Enable cursor
3. Try to edit the text in the protected area.
The user is able to edit the text in protected areas.
The user should only be able to edit the text in protected areas when the compatibility option “Form Protect” is not set.
Arch Linux 64-bit, KDE Plasma 5
Build ID: f3d26af51588af441f62fb69bb7a5432845226ac
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default;
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on August 5th 2016
Arch Linux 64-bit
Version 126.96.36.199 (Build ID: e183d5b)
This patch fixes the bug:
Hopefully using the DocumentSettingManager is the right approach.
Martin Nathansen committed a patch related to this issue.
It has been pushed to "master":
Resolves: tdf#101245 doc(x) protected areas not protected with disabled cursor
It will be available in 5.3.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.