iulica / docx-mailmerge

Mail merge for Office Open XML (docx) files without the need for Microsoft Office Word.
MIT License
55 stars 7 forks source link

Question IF rule #1

Closed carlos54 closed 2 years ago

carlos54 commented 2 years ago

Hello Iulica, do your fork support de IF{} rule of word for the merging ?

carlos54 commented 2 years ago

I see some unittest with IF rule

carlos54 commented 2 years ago

How can pip install your version ?

iulica commented 2 years ago

Yes, it works. I contacted Bouke to become the official docx-mailmerge repository, maybe this will happen soon, then I can release it as a new version.

pip uninstall docx-mailmerge
pip install git+https://github.com/iulica/docx-mailmerge.git

Also check the documentation on how to use MERGEFIELDS in other fields (IF, INCLUDEPICTURE, etc...). In the documentation it is marked as a feature starting with 0.6.0, in preparation for the future release.