Ça serait le top !!!
Enfin des publipostages qui remarcheraient, yes !!
Alex
Le 18/03/11 18:20, Sophie Gautier a écrit :
Bonjour,
Voilà, pour terminer la semaine en beauté, un petit cadeau de Caolan
qui sera dans la 3.2 :)
À bientôt
Sophie
-------- Original Message --------
Subject: [Libreoffice] Review requests for mailmerge to email fixes
Date: Fri, 18 Mar 2011 14:26:19 +0000
From: Caolán McNamara <caolanm@redhat.com>
To: libreoffice@lists.freedesktop.org
There's a cluster of messy mail merge related bugs.
https://bugs.freedesktop.org/show_bug.cgi?id=32553
https://bugs.freedesktop.org/show_bug.cgi?id=31792
https://bugs.freedesktop.org/show_bug.cgi?id=34187
and I'd like backport three concrete and fairly trivial fixes which
address the reproducible parts to 3-3-2
Firstly, the hang.
http://cgit.freedesktop.org/libreoffice/writer/commit/?id=7482695994c5f6bf9995748944e38d2792aaed92
nNodeCnt is a ULONG, and is therefore unsigned, the loop counts down to
0, if nNodeCnt is less than the value which gets subtracted from it, it
natually wraps around and leaps off into hyperspace, hanging or
crashing. Safest fix IMO is to simply set it to 1 in this case so that
at the end of the loop the -- makes it hit 0 and loop ends.
Secondly, sending an email with an attached .odt. We're looking up the
mimetype of the odt by finding what filter handles .odt, sadly we now
have *two* filters that handle suffixes of .odt, i.e. the flat xml
filter as well, and that has no mime-type set in the filter config ->
epic fail. Simplest fix is to pull the known export filter directly
rather than hope for the best off ".odt"
http://cgit.freedesktop.org/libreoffice/writer/commit/?id=5c4a455137ae1fc74cdf88fe6d4d315b1948b4c0
Thirdly, send an email with an attached .pdf won't work unless mailmerge
was used with html or txt beforehand, which is apparently a similar
problem to two in that looking up the export filter for .pdf by what can
export a ".pdf" isn't getting the expected filter (possibly getting a
calc or draw .pdf exporter or something, didn't bother looking deeper)
http://cgit.freedesktop.org/libreoffice/writer/commit/?id=97bce7aad1c3a6f3fd23a3380c79ca9c1515624c
C.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
--
Alex Thurgood
Intellectual Property Attorney
IP GALORE
4 rue Durette
F-63500 BRENAT
FRANCE
Mobile : +33 6 40 59 99 16
Fax : +33 4 5680 9558
E-mail : alex.thurgood@gmail.com
CONFIDENTIAL & PRIVILEGED
The information in communications issued by the sender is confidential and privileged. If you are
not the intended recipient of the communication, you are not authorised to visualise, display,
save, print, copy or otherwise reproduce, transfer or modify said communication without express
agreement from the sender. Any erroneous reception should be indicated to the original sender and
the original communication subsequently destroyed.
--
Envoyez un mail à discuss+help@fr.libreoffice.org pour savoir comment vous désinscrire
Les archives de la liste sont disponibles à http://listarchives.libreoffice.org/fr/discuss/
Tous les messages envoyés sur cette liste seront archivés publiquement et ne pourront pas être
supprimés
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.