docx-stamper icon indicating copy to clipboard operation
docx-stamper copied to clipboard

Issue when deleting cells with footnotes

Open bflorat opened this issue 3 years ago • 3 comments

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).

bflorat avatar Jan 27 '22 22:01 bflorat

I wonder if footnotes are supported for any conditional logic at all. Does displayParagraphIf delete the footnote?

dallanmc avatar Jan 27 '22 22:01 dallanmc

I have not the issue with paragraphs : footnotes are correctly dropped.

Indeed, I didn't find any reference to footnotes in this project code.

bflorat avatar Jan 28 '22 07:01 bflorat

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.

dallanmc avatar Jan 28 '22 08:01 dallanmc