Class TocAdd

java.lang.Object
org.docx4j.samples.TocAdd

public class TocAdd extends Object
This example uses docx4j's internal capabilities to generate a ToC. To add indicative page numbers, this example has export-fo on your classpath; Note: If you have Word available, you can use it to populate (and/or update) the ToC. That uses a different code path; please see the TocOperations example in docx4j-samples-export-documents4j-local
  • Field Details

  • Constructor Details

    • TocAdd

      public TocAdd()
  • Method Details