public class OpenDoPEIntegrity
extends Object
Word (2007) can't open a docx if it has more than one
comment with the same ID. Similarly for footnoteReference
and endnoteReference.
Bookmarks: duplicate, missing (or half missing) bookmarks
don't seem to trouble Word, so we don't check for these.
Since docx4j 3.0, two content control integrity checks are
also done here:
1. w:tr/w:sdt must contain w:tc, and w:tc must be non-empty
2. w:tc/w:sdt must be non-empty
Note that the w:sdts can be nested, so simple parent/child
checks aren't sufficient.
- Author:
- jharrop