Re: Headless mail merge

2022-04-12 Thread Marco Marinello
Hi everybody, I've carefully read all of your suggestions and finally decided to go with odfpy instead. If you're curious, here's the implementation: https://git.libreoffice.org/infra/mc-tooling/+/8d1e2135704ba8cdbed7223458d49ebec84928b7%5E%21/#F0 Thanks again, All the best, Marco Il 06/04

Re: Headless mail merge

2022-04-07 Thread Alexander Thurgood
Le 06/04/2022 à 12:47, Marco Marinello a écrit : Hi Marco, Python-Uno ? https://forum.openoffice.org/en/forum/viewtopic.php?f=44&t=96001 .NET ? https://stackoverflow.com/questions/47180697/mail-merge-with-libre-office-using-net Perl ? https://metacpan.org/dist/OpenOffice-OODoc/view/OODoc/Int

Re: Headless mail merge

2022-04-07 Thread sos
Hallo, I can send the macro's for mailmerge (email & print) starting from selected variable data in the Beamer (Datasource Browser) and using a writer document as template Greetz Fernand On 4/7/2022 9:38 AM, mcmurchy1917techy wrote: Hi Marco I have a Base application with forms. On one f

Re: Headless mail merge

2022-04-07 Thread mcmurchy1917techy
Hi Marco I have a Base application with forms. On one form I press a button which then performs a macro which executes a mailmerge The macro works out * what query to source the data dependent on which button has been pressed * where to send the output dependent on which button has been pres

Re: Headless mail merge

2022-04-06 Thread Michael Weghorn
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/jav

Re: Headless mail merge

2022-04-06 Thread Andrew Pitonyak
The first step is always do it without a script until you like the result. Then you try to automate it. I did it a few times many years ago and do not remember the process. ⁣Get BlueMail for Android ​ On Apr 6, 2022, 3:37 PM, at 3:37 PM, Marco Marinello wrote: >Hi Andew, > > >thank you for yo

Re: Headless mail merge

2022-04-06 Thread Marco Marinello
Hi Andew, thank you for your answer. I'll take a look at the links you pointed to. The idea is, starting from a template in odt/doc/docx, to "fill in the gaps" and save the filled document. Is there any other way rather than mail merge? All the best, Marco Il 06/04/22 18:19, Andrew Pitonyak

Re: Headless mail merge

2022-04-06 Thread Andrew Pitonyak
I had planned on documenting how to do this some years back and AndrewBase.odt, and my only notes say that I should document the new e-mail merge API released in OpenOffice.org version 2.01; that was a long time ago.  I generally do not have reason to use mailmerge, but did you want to send so

Headless mail merge

2022-04-06 Thread Marco Marinello
Hi all, 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? Thanks in advance, Best, Marco