Class OpenDoPEIntegrity

java.lang.Object
org.docx4j.model.datastorage.OpenDoPEIntegrity

public class OpenDoPEIntegrity
extends java.lang.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
  • Constructor Summary

    Constructors 
    Constructor Description
    OpenDoPEIntegrity()  
  • Method Summary

    Modifier and Type Method Description
    static boolean encountered​(OpenDoPEIntegrity odIntegrityInstance, java.lang.String elementName, java.lang.String id)  
    static void log​(java.lang.String message)  
    void process​(WordprocessingMLPackage wordMLPackage)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait