Hi Jason,
I wonder what is the best way to delete an element without knowing its type?
I've tried a solution, which looks for the parents getContent() and returns this list as return value. The user than can invoke the remove method on this list. Does another generic method already exist in the framework? Otherwise we could try to add such a feature in docx4j?!
Here is my code:
@SuppressWarnings("unchecked")
public List<Object> getParentContent(Child child) ...