https://bugs.documentfoundation.org/show_bug.cgi?id=149703

--- Comment #1 from Mike Kaganski <[email protected]> ---
Please note that, despite I have fixed a couple of MM-related bugs, I myself am
not a power MM user, so I don't quite know all the details how that was
intended to work.

That said, however, I see that there *looks* to already be the necessary
provision for this functionality. The code
(SwMMResultEmailDialog::FillInEmailSettings, [1]) already assigns specific data
source field to mail merge email field. I am unsure where this information is
set up (I think it is "Address Book Source", that defines 31 fields, of which
the MM uses only 14 from MM_PART_TITLE to MM_PART_GENDER [2]), and the
SwMailMergeConfigItem_Impl::ImplCommit [3] knows about 39 fields.

So first of all, we need to understand the existing functionality, to avoid
duplicate features.

[1]
https://opengrok.libreoffice.org/xref/core/sw/source/ui/dbui/mmresultdialogs.cxx?r=123d3a93&mo=13975&fi=395#395
[2] https://opengrok.libreoffice.org/xref/core/sw/inc/dbui.hrc?r=14cfff50#30
[3]
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/dbui/mmconfigitem.cxx?r=ca734f7c&mo=20152&fi=469#469

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to