Class ErrorLineExtractor

java.lang.Object
org.docx4j.samples.ErrorLineExtractor

public class ErrorLineExtractor extends Object
Where Word reports an error in a very large file, XML-aware tools such as Visual Studio might have trouble opening it. This simple class will print out specified lines of document.xml. Note: this is really only useful if the file was pretty printed at the time Word reported the error (since otherwise the error will typically be somewhere on a very long line 1).
  • Constructor Details

    • ErrorLineExtractor

      public ErrorLineExtractor()
  • Method Details