Hello guys!
What I want to do is to copy a table from one document to another, and that table contains a cell that has a footnote reference. I used the following code, that compiles, but when I try to open the document it gives an error saying "One or more footnotes referenced in the document are missing or corrupt."
// Get a list of tables from the source document
List<Object> listOfTables= getAllElementFromObject(sourceDocument.getMainDocumentPart(), Tbl.class); ...