[Libreoffice-bugs] [Bug 131596] Allow MailMerge to get document from XInputStream or already opened XComponent

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 30 15:27:11 UTC 2020


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needsDevAdvice              |difficultyMedium, easyHack,
                   |                            |skillCpp
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
Mail merge is implemented using an implementation of XJob interface [1]
(SwXMailMerge). Its "execute" method takes a sequence of NamedValues, which is
how you pass parameters there.

Extending SwXMailMerge::execute (and SwXMailMerge::setPropertyValue) in
sw/source/uibase/uno/unomailmerge.cxx to accept another name-value pair is
required for this request. It should basically do a processing of that new pair
alternative to what is currently done for UNO_NAME_DOCUMENT_URL.

[1]
https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1task_1_1XJob.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201130/b7b6ddfe/attachment.htm>


More information about the Libreoffice-bugs mailing list