docx-stamper
docx-stamper copied to clipboard
Issue when deleting cells with footnotes
Docx-stamper 1.4.0:
If a table contains several rows, each containing a page footnote and some of these rows are deleted using a displayTableRowIf(...)
, all the page footnotes of deleted cells are aggregated and missed up (I suppose that footnotes are not deleted along with associated cell paragraph).
I wonder if footnotes are supported for any conditional logic at all. Does displayParagraphIf delete the footnote?
I have not the issue with paragraphs : footnotes are correctly dropped.
Indeed, I didn't find any reference to footnotes in this project code.
Are you able to look at the code (and the docx xml source) to see what's going on? I could have a look in my spare time if you upload an simple example of the problem.