Bouke / docx-mailmerge

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

Page number #3

Closed aseck closed 10 years ago

aseck commented 11 years ago

If the docx document has page number { PAGE * MERGEFORMAT } , mailmerge raise an error.

Bouke commented 11 years ago

Ah, it should ignore such fields. Feel free to submit a PR.

Bouke commented 10 years ago

I tried replicating the issue, but had no such luck. I've tried:

{ PAGE \* ROMAN \* MERGEFORMAT }
{ PAGE  \* MERGEFORMAT }

But both did not raise an error. If you could provide a document with the failing behaviour, I can have another look.