gebi / ooopy

OOoPy is a library in Python for inspecting, creating or modifying OpenOffice.org documents. It uses the existing ElementTree XML library by for manipulation of the OOo XML.
6 stars 1 forks source link

ooo_mailmerge: better error messages #3

Open WeeSee opened 6 years ago

WeeSee commented 6 years ago

ooo_mailmerge should be improved:

better error messages for problems during mail merge process:

gebi commented 6 years ago

i'm not sure the conditions you mention represent valid errors.

What about the case if one just want to create the template with the default values set for all variables?

WeeSee commented 6 years ago

What are the "default" variables?

And why should I only want the template to be generated? If I want to test a template and the merging process then I could use a minimal csv file with just a header and a data line.

There is one more error: if the csv file is not valid, e.g if the number of fields in a data line is incorrect.