Package org.docx4j.samples
Class TocUpdateDemo
java.lang.Object
org.docx4j.samples.TocUpdateDemo
This example uses docx4j's internal capabilities
to update a ToC.
For 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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
update
static boolean update
-
-
Constructor Details
-
TocUpdateDemo
public TocUpdateDemo()
-
-
Method Details
-
main
- Throws:
Exception
-