Bug 45946

Summary: EDITING: Allow conversion of field codes (of fields like date, variable or mail merge) into plain text
Product: LibreOffice Reporter: Florent Angly <florent.angly>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: aron.budea, cno, LibreOffice, mhillat, robert.funnell, stian.oby, v-k-mus
Priority: medium    
Version: Inherited From OOo   
Hardware: Other   
OS: All   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=41572
Whiteboard: BSA
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107739    

Description Florent Angly 2012-02-11 23:03:32 UTC
This is a wish to have an "unlink fields" implemented in LibreOffice. Microsoft Word has this feature implemented (Ctrl+Shift+F9). In my case, this feature would be useful to replace fields that cross-reference figures or tables in a document and replacing them by their text.

More background information at https://issues.apache.org/ooo/show_bug.cgi?id=41572
              
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Comment 1 Rainer Bielefeld Retired 2012-02-12 06:24:34 UTC
Reporter wants to select some text and convert all fields to normal text. For details please see the very poor attachment in related AOOo bug. Unfortunately that document does not show a useful example, but one wher yo do not need the requested function at all. 
I see some advantage of such a function for mail merge fields. I insert Address data to my letters from Address Data base into mail merge fields Then I 'copy -> Paste special -> plain text', wot works well for me, but that will destroy formatting (one word bold, another red characters, a third one underlined ...

I will check for Duplicates here.
Comment 2 Rainer Bielefeld Retired 2012-02-25 04:41:24 UTC
No DUP found, so NEW!
Comment 3 Stian Øby Johansen 2013-12-11 14:08:27 UTC
This also greatly affects the usefulness of reference management tools, such as the popular Zotero. These tools have LibreOffice extensions that enable quick insertion and auto-generation of footnote text with the use of field codes. Before sending a scientific article to a publisher or a journal the writer will normally need to remove said field codes. 

Reference styles often mandate the use of italics or other types of styling to references, and it is therefore very impractical that these field codes cannot be removed without also removing the formatting. Manually adding back italics etc. can be extremely cumbersome in a longer academic article or a book manuscript, with hundreds of footnotes.

See also this thread on the Zotero forums: https://forums.zotero.org/discussion/25077/
Comment 4 Mike Kaganski 2022-05-05 04:28:38 UTC
*** Bug 80786 has been marked as a duplicate of this bug. ***
Comment 5 Mike Kaganski 2022-05-05 06:08:40 UTC
*** Bug 57566 has been marked as a duplicate of this bug. ***
Comment 6 Mike Kaganski 2023-10-22 08:39:11 UTC
Note that in Word, Ctrl+Shift+F9 also converts hyperlinks to text. The scope of the proposed function needs to be clarified.