Package org.docx4j.samples
Class TocAdd
java.lang.Object
org.docx4j.samples.TocAdd
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
-
inputfilepath
-
outputfilepath
-
TOC_STYLE_MASK
- See Also:
-
-
Constructor Details
-
TocAdd
public TocAdd()
-
-
Method Details
-
main
- Throws:
Exception
-