Description: In MS Office TextBox controls have a property called Locked which has the same functionality as ReadOnly property in LibreOffice. So import code should import this property. Steps to Reproduce: 1. Open attached file 2. Design mode should be enabled (Edit -> Design Mode) 3. Check ReadOnly property at the form's Context menu -> Control Actual Results: Locked property is not imported. Expected Results: Locked property should be imported as ReadOnly property. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Created attachment 135195 [details] Document containing a locked text box
Let's turn this into a easy hack. The code is here: oox/source/ole/axcontrol.cxx Check AxTextBoxModel class. Also need to check the activex documentation: https://msdn.microsoft.com/en-us/library/office/cc313125(v=office.12).aspx
taking this over
brian houston morrow committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7d11a1e1f0a282c73204af47e8dfcb767295d597 tdf#111417 Import read only property on ActiveX text box It will be available in 6.1.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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.