Package | Description |
---|---|
org.docx4j.toc | |
org.docx4j.wml |
Modifier and Type | Method and Description |
---|---|
SdtBlock |
TocGenerator.generateToc(boolean skipPageNumbering)
Generate Table of Contents using default TOC instruction, adding it at the beginning of the document
To alter the ToC heading, use Toc.setTocHeadingText
|
SdtBlock |
TocGenerator.generateToc(int index,
String instruction,
boolean skipPageNumbering)
Generate Table of Contents using provided TOC instruction, adding at the given index in the body of document,
using dot leader for page numbering (if any).
|
SdtBlock |
TocGenerator.generateToc(int index,
String instruction,
STTabTlc leader,
boolean skipPageNumbering)
Generate Table of Contents using provided TOC instruction, and specified leader (eg dots) before
page number, adding at the given index in the body of document
It is an error if a ToC content control is already present; delete it or use updateToc.
|
protected SdtBlock |
TocGenerator.generateToc(SdtBlock sdt,
List<P> tocHeadingP,
String instruction,
STTabTlc leader,
boolean skipPageNumbering)
Generate Table of Contents in the given sdt with provided tocHeadingP, and given TOC instruction.
|
protected SdtBlock |
TocGenerator.generateToc(SdtBlock sdt,
String instruction,
STTabTlc leader,
boolean skipPageNumbering)
Generate Table of Contents in the given sdt with generated heading, and given TOC instruction.
|
static SdtBlock |
TocGenerator.generateToc(WordprocessingMLPackage wordMLPackage,
boolean skipPageNumbering)
Deprecated.
|
static SdtBlock |
TocGenerator.generateToc(WordprocessingMLPackage wordMLPackage,
int index,
String instruction,
boolean skipPageNumbering)
Deprecated.
|
SdtBlock |
TocFinder.getTocSDT() |
SdtBlock |
TocGenerator.updateToc()
Update existing TOC in the document with TOC generated by generateToc() method,
reusing the existing ToC heading paragraph.
|
SdtBlock |
TocGenerator.updateToc(boolean skipPageNumbering)
Update existing TOC in the document with TOC generated by generateToc() method, reusing the existing ToC heading paragraph.
|
SdtBlock |
TocGenerator.updateToc(boolean skipPageNumbering,
boolean reuseExistingToCHeadingP)
Update existing TOC in the document with TOC generated by generateToc() method.
|
SdtBlock |
TocGenerator.updateToc(boolean skipPageNumbering,
boolean reuseExistingToCHeadingP,
STTabTlc leader)
Update existing TOC in the document with TOC generated by generateToc() method, using specified tab leader.
|
static SdtBlock |
TocGenerator.updateToc(WordprocessingMLPackage wordMLPackage,
boolean skipPageNumbering)
Deprecated.
|
SdtBlock |
TocGenerator.updateToc(WordprocessingMLPackage wordMLPackage,
boolean skipPageNumbering,
boolean reuseExistingToCHeadingP)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected SdtBlock |
TocGenerator.generateToc(SdtBlock sdt,
List<P> tocHeadingP,
String instruction,
STTabTlc leader,
boolean skipPageNumbering)
Generate Table of Contents in the given sdt with provided tocHeadingP, and given TOC instruction.
|
protected SdtBlock |
TocGenerator.generateToc(SdtBlock sdt,
String instruction,
STTabTlc leader,
boolean skipPageNumbering)
Generate Table of Contents in the given sdt with generated heading, and given TOC instruction.
|
Modifier and Type | Method and Description |
---|---|
SdtBlock |
ObjectFactory.createSdtBlock()
Create an instance of
SdtBlock |
Copyright © 2007-2019. All Rights Reserved.