Created attachment 180902 [details]
Example file from Word 2016 with Mail Merge fields as IF field conditions
This is a followup to bug 149660
In Word it is possible to use Mail Merge fields as conditions of the IF field, by the Mailings ribbon - Rules - If ... Then ... Else dropdown menu.
This causes the IF field to be evaluated based on values in the data source.
Using data source fields as conditions in IF fields is supported in Writer, but the docx import of these fields is likely missing.
1, Open attached document, and import the data source xlsx file too
2, The Mail merge toolbar should be able to step through the data source data points, and the value of the IF fields should change accordingly.
Version: 220.127.116.11.alpha0+ (x64) / LibreOffice Community
Build ID: 3b852f274696a5e2a44bb4107c37cea9d291758e
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Created attachment 180903 [details]
Example data source