Re: Headless mail merge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 06/04/2022 12.47, Marco Marinello wrote:
what's the easiest way to perform a mail-merge with libreoffice by
passing arguments from an automated script? Should I use UNO?

Do you have any reference?

A rather complex example is the WollMux extension [1], in particular the "core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/" directory [2]. Class "OOoBasedMailMerge" [3] might be a good starting point.


[1] https://github.com/WollMux/WollMux

[2] https://github.com/WollMux/WollMux/tree/WollMux_18.2/core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge

[3] https://github.com/WollMux/WollMux/blob/WollMux_18.2/core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/print/OOoBasedMailMerge.java



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux