Description: When I print a document as file and use the option "Save as individual documents" with database's field in it Writer save the file replacing the database's field with their value, but maintaining them formatted as field instead of as text. Steps: -Open Writer -Load a database(View>Data Source>Right click on the left>Registered Databases and then select the path of the database) -Insert field of the database in the document -Go to File>Print and select File as output and select "Save as individual documents" Expected behavior: In the final documents the fields are converted in text Current behavior: In the final documents the fields remain fields Affected version: Version: 4.2.8.2 Build ID: 48d50dbfc06349262c9d50868e5c1f630a573ebd:present OS:openSUSE Leap 42.1 (x86_64) Version: 4.4.4.3 Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8 OS:openSUSE Leap 42.1 (x86_64) Versione: 5.1.3.2 Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b OS:openSUSE Leap 42.1 (x86_64)
@Manuel If I understand you correctly, you are complaining that your exported documents obtained via the Print to File option in mailmerge contain field values which show the field highlighting ? In document edit mode, when such a document is opened, I can indeed see the grey background, indicating that the data is obtained from a database field. However, this is only a visual indicator. If I look at print preview of the document, the grey background is not displayed, nor, I am assuming, is it printed. You can also change the font family, weight, style, etc of the data displayed, so what exactly is the problem ? For me, this is not a bug. Tested on Version: 5.3.0.0.alpha0+ Build ID: 4d49c9601c9b3e26a336e08e057d299895683480 Threads CPU : 2; Version de l'OS :Mac OS X 10.11.5; UI Render : par défaut; Locale : fr-FR (fr.UTF-8) Am setting this needinfo pending your answers to my questions above, otherwise I will set to NOTABUG
So it's normal that the field is highlight. But if so, it's a problem if when I print the document as a single document instead of as individual file the field are converted in text?
(In reply to manuel.defranceschi from comment #2) > So it's normal that the field is highlight. But if so, it's a problem if > when I print the document as a single document instead of as individual file > the field are converted in text? @Manuel : OK, I now understand the problem you are describing, and yes, the two are inconsistent, IMHO they should behave the same way. Your initial bug report did not mention this fact though, hence the questions on my side. I will clean this report up and confirm.
Compare the two Print to File options in a mailmerge document. The Print to Multiple Files produces Writer documents that contain values from the data fields that are highlighted with the default grey background. The Print to Single File option produces a document with the field values and no highlighting.
The display behaviour in the end files should be consistent, therefore this is a bug.
*** This bug has been marked as a duplicate of bug 89178 ***