Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when deleting cells with footnotes #100

Open
bflorat opened this issue Jan 27, 2022 · 3 comments
Open

Issue when deleting cells with footnotes #100

bflorat opened this issue Jan 27, 2022 · 3 comments

Comments

@bflorat
Copy link
Contributor

bflorat commented Jan 27, 2022

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

@dallanmc
Copy link

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

@bflorat
Copy link
Contributor Author

bflorat commented Jan 28, 2022

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

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

@dallanmc
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants