A form field vnd.oasis.opendocument.field.FORMCHECKBOX comes in MsWord files that have form fields & protection. It can be used in Writer, also when saved as odt, but it cannot be copy-pasted or used in AutoText. Whereas that is possible with the vnd.oasis.opendocument.field.FORMTEXT. I'll attach a simple test file.
Created attachment 120411 [details] file with fields FORMTEXT and FORMCHECKBOX
the same applies for FORMDROPDOWN
I can't even insert text, I got a popup: " Read only content Write-protected content cannot be changed. No modifications will be accepted. "
(In reply to Julien Nabet from comment #3) > I can't even insert text, I got a popup: > " > Read only content > Write-protected content cannot be changed. > No modifications will be accepted. > " Same here, what's up with that, Cor?
Created attachment 120495 [details] file with fields FORMTEXT and FORMCHECKBOX :) Tools > Options > Writer > Formatting Aids > Ignore protection (down right) Sometimes you also have to check/uncheck Use cursor (behaves a bit buggy) And the attached version did not have a form text field. Apologies for that.
Created attachment 120496 [details] FORM example that also hase a DROPDOWN
When I copy the name field, is it supposed to paste without the grey background? I guess I reproduce anyway. Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+ Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38 TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20 Locale: fi-FI (fi_FI)
(In reply to Beluga from comment #7) > When I copy the name field, is it supposed to paste without the grey > background? FORMTEXT can be copied > pasted. This reused. FORMDROPDOWN and FORMCHECKBOX can not. Reusing is nice, since LibreOffice itself has no way to insert this type of field (nor in the UI, nor in the API, so not in the code either I guess) > I guess I reproduce anyway. thanks!
A patch is submitted for review: https://gerrit.libreoffice.org/30954/ (In reply to Julien Nabet from comment #3, Buovjaga from comment #4) FYI: the old MS Word "Protect Form" option can be set/unset on the Writer Compatibility Options page (since https://bz.apache.org/ooo/show_bug.cgi?id=78591).
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=de524d2051abd700f93da4e0e9f273504b12515a tdf#95699: allow copy FORMCHECKBOX and FORMDROPDOWN ... 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hello, Is this bug fixed? If so, could you please close it as RESOLVED FIXED?
@xisco: thanks for asking. @mike: thanks for the patch! It works, with two minor issues. Minor, since they do not hinder the reuse of those form elements. The minor issues are: 1. more then one field at a line causes problems. In attachment 120495 [details] there are two FORMCHECKBOX fields in one line. Copy&Paste only pastes the second. Two FORMTEXT fields separated with only space/tabs, are merged, When separated with text, the second field is pasted/put on top of the last three characters (tab after not counted) Two FORMDROPDOWN field are merged, unless separated with character, in which case the second is omitted. 2. Stored and used as autotext, the line with the FORMDROPDOWN places the selected item also as plain text right before the field. I suggest that I make one separate issue for these combined issues. @Mike: OK?
(In reply to Cor Nouws from comment #12) Hm... yes, please create another issue please.
(In reply to Mike Kaganski from comment #13) > Hm... yes, please create another issue please. see bug 120156