Is there a way from Java using docx4j to identify that the table ended (identify table end tag)?
I'm looking everywhere and I can't seem to find a way for the code to identify any end tag let alone the table end tag.
In docx4j, a table is represented by a org.docx4j.wml.Tbl object.
There is no representation of its end tag at the object level.
But you can add something before the end tag, as it were, by adding it to the Tbl object.
Or you can add something after it, by adding to the content list containing the Tbl object.
If you need want to work at the level of the actual XML, you can marshall the content to a String, DOM or whatever, manipulate it, then unmarshall. But in practise this isn't usually necessary. (Though marshalling to a string is often handy for debugging)